Commit Graph

7 Commits

Author SHA1 Message Date
Luke T. Shumaker 124f813c8f wip revlist 2024-03-03 20:29:10 -07:00
Luke T. Shumaker f6bd42f398 httpd, keygen: Implement HTTP API keys 2024-03-03 00:03:30 -07:00
Luke T. Shumaker eb05854ed1 httpd: Show timestamps in the webui 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 48196cb755 whoops 2024-01-23 13:03:54 -07:00
Luke T. Shumaker 03bcaa8601 Track job status messages 2024-01-22 21:10:47 -07:00
Luke T. Shumaker 1589c0bd4f Resolve linter complaints
- cmd/*: add `_ =` before argparser.Mark*()
    + cmd/gitcache: while I'm at it, call MarkFlagDirname on "cache-dir"
 - source.go: add `_ =` before tar.Writer.WriteHeader()
 - cmd/gitcache: Add `ns2url` and `url2ns` subcommands
   "unused" complaints about lib/gitcache.id2url()
    + lib/gitcache: while I'm at it, rename id2url()→NS2URL() and
      url2id()→URL2NS()
 - cmd/httpd: clarify that parsing r.Form.Get() values is allowed to fail
 - cmd/trigger: delete unsused max() and sortedKeys()
 - lib/gitcache: RevParse(): check for errors from os.RemoveAll(tmpdir)
 - lib/leader:
    + add `_ =` before db.Close() in an `if err != nil` block
    + ListJobs(): check for errors from rows.Close()
    + fix the package name in guard.go
2024-01-20 11:07:48 -07:00
Luke T. Shumaker 8468a85f2b Split lib/eclipse into lib/common and lib/leader 2024-01-20 10:21:46 -07:00