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.
RELEASING.md +3−1
| @@ -34,7 +34,9 @@ publish artifacts. It reads `RELEASE_GPG_KEY` from the instance like a runner | |||
| 34 | 34 | does; when the secret is not available it leaves the tree unsigned and says so. | |
| 35 | 35 | A pushed tag without the secret fails rather than publishing an unsigned | |
| 36 | 36 | release. The version comes from `git describe --tags --exact-match`; an untagged | |
| 37 | checkout stops before building. Build outputs use the tag commit time to support | ||
| 37 | checkout stops before building. `sourceVersion` in `cmd/vole/main.go` names the | ||
| 38 | last release for builds from the source tree, so bump it in the tagging commit. | ||
| 39 | Build outputs use the tag commit time to support | ||
| 38 | 40 | byte-for-byte reproduction. | |
| 39 | 41 | ||
| 40 | 42 | To build and sign the package repositories from packages you already have: | |