lightsystemdarkgreen
@ 261119.3 · fetching

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

historypage.go

@@ -1,4 +1,4 @@-package www+package dirview  import ( 	"bytes"@@ -202,7 +202,7 @@ func (t *tree) serveLog(w http.ResponseWriter, r *http.Request, name string, dir 	} 	// git walks every commit back to the ones that touched name, unless 	// the repo's commit-graph tells it which paths each commit changed.-	// www leaves the repo alone and names the command instead. A share+	// drvu leaves the repo alone and names the command instead. A share 	// says nothing, since its viewer cannot run it. 	if took > slowGit && !t.shared && t.lacksPathFilters(r.Context(), name) { 		fmt.Fprintf(&body, "<p class=\"own\">git took %d ms for this history. "+