lightsystemdarkgreen
@ 261119.3

261119.1 d1753f14c7293dd5f2cdb3b5b4488e94ab87a52a The project is dirview and its command drvu

The name is final. NAME, back from WORKING_NAME, holds drvu, and everything the tool names follows: the binaries drvu, drvu-public and drvu-syntax, DRVU_ADDR and the other variables, ~/.local/state/drvu, the journal tag, .drvu-follow, /_drvu/ and the systemd units.

The project, its Go module and its Debian packages are dirview and dirview-syntax. The Makefile takes that name from the module path as PACKAGE, so the name test now guards both names.

Old names stop working: WWW_ADDR, ~/.local/state/www, the www package and running www servers stay until removed.

reading declarations

Changes to version.go. All files

version.go

@@ -1,4 +1,4 @@-package www+package dirview  import ( 	"bytes"@@ -20,7 +20,7 @@ import (  // A version is a tree as it was in one commit, served at the tree's URL // with @ and the commit's stardate after its name, eg-// /scratch/www@261024.4/doc/, or its hash when it has none. The version+// /scratch/dirview@261024.4/doc/, or its hash when it has none. The version // qualifies the tree, so it sits on the tree's name, not below it as an // entry would; a tree at / has no name, so its versions sit below it, eg // /@261024.4/. The version is in the path rather than a query, so@@ -123,7 +123,7 @@ func versionPrefix(prefix, seg string) string { }  // versionIn reads urlPath as a path in a version of t, eg-// /scratch/www@261024.4/doc/x.md: first is the version, @261024.4, and+// /scratch/dirview@261024.4/doc/x.md: first is the version, @261024.4, and // rest the path below it, doc/x.md. A tree at / reads its versions as // entries, in serve. func (t *tree) versionIn(urlPath string) (first, rest string, ok bool) {