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

feed.go

@@ -1,4 +1,4 @@-package www+package dirview  import ( 	"bytes"@@ -97,7 +97,7 @@ func (t *tree) serveFeed(w http.ResponseWriter, r *http.Request, name string, di  // linkOrigin is the scheme and host r reached, eg http://127.31.1.1, for links // that leave the page. A proxy on loopback that ends TLS, such as Caddy-// before www-public, names the scheme in X-Forwarded-Proto; any other+// before drvu-public, names the scheme in X-Forwarded-Proto; any other // peer's header is ignored, since it could claim anything. func linkOrigin(r *http.Request) string { 	scheme := "http"