Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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/conventions.md +3−2

@@ -27,8 +27,9 @@ interface and documentation say uses the words above.
27 27
28 28 ## Commands
29 29
30 - Examples assume `vole` is on your `PATH`, or that you are running `./vole` from
31 the repository root.
30 - Examples assume `vole` is on your `PATH`.
31 - A build from the source tree reports itself as `<version>-devel+<revision>`. A
32 package or release build reports the tag it was built from.
32 33 - Use `--remote <name>` when a clone has more than one remote. The default is
33 34 `origin`.
34 35 - Commands accept options in the same styles Git does: `--long value`,