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 args.go. All files

args.go

@@ -1,4 +1,4 @@-package www+package dirview  import ( 	"net/netip"@@ -12,7 +12,7 @@ type config struct { 	sharing bool 	share   string // the address --share names; "" takes the default route's 	secret  bool-	token   string // the secret path's token, from WWW_SECRET or drawn at random+	token   string // the secret path's token, from DRVU_SECRET or drawn at random 	ep      netip.AddrPort 	fg      bool 	noopen  bool@@ -21,7 +21,7 @@ type config struct { 	noBug   bool   // hide the bug button and refuse reports 	cache   string // the memory for cached git answers, eg 32M; "" takes defaultCache 	disk    string // the disk for online repos, eg 4G; "" takes defaultDisk-	base    string // the path every URL starts with, eg /www; "" serves at the root+	base    string // the path every URL starts with, eg /drvu; "" serves at the root 	public  bool   // serve only online repos, to the open web; the public executable sets it 	help    bool 	version bool