vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Name one vole on PATH instead of a checkout-local ./vole
0d8a8c55a8fa7b31abc0c17c2e60b3011ac797f2 · Keenan Nemetz · 13d ago · parent 1b1571bb
Name one vole on PATH instead of a checkout-local ./vole Contributor docs told readers to build ./vole into the checkout and run it by relative path. That left two copies of the same program in play: the one just built and the installed one used for forge operations. Nothing could tell them apart, because a source build and a release build printed the same version. A build from the source tree now prints <version>-devel+<revision>, with .dirty when the checkout has uncommitted changes, while a release build still prints the tag it was stamped with. The docs install with go install and invoke vole from PATH, so there is one binary and it says which build it is. Refs 01M7XF41G1R951ASJGKGDGM0CE.
docs/cli.md +3−2
| @@ -718,5 +718,6 @@ prints that command's usage and options, exactly as `vole <command> -h` does. | |||
| 718 | 718 | vole version | |
| 719 | 719 | ``` | |
| 720 | 720 | ||
| 721 | The version is set when the binary is built, so a package or release tag | ||
| 722 | decides what it says, not the source tree. | ||
| 721 | A package or release build prints the tag it was built from. A build from the | ||
| 722 | source tree prints that version with a `-devel` suffix and the revision it was | ||
| 723 | built from, so an older binary is recognizable without rebuilding it. | ||