Commit Graph

7 Commits

Author SHA1 Message Date
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 4a0422f30d wip 2024-01-18 00:48:14 -07:00
Luke T. Shumaker e32d4e8143 create jobs 2024-01-17 10:42:59 -07:00
Luke T. Shumaker 0264285a1f don't require fetching, optimize multi-rev resolving 2024-01-12 17:13:26 -07:00
Luke T. Shumaker 84bbb6a7a5 add a 'gc' command 2024-01-12 12:50:52 -07:00
Luke T. Shumaker b5bcca43fd fuss with --help text 2024-01-12 12:49:26 -07:00
Luke T. Shumaker 35b813d0a9 mv cmd/{,eclipse-}gitcache 2024-01-12 12:07:07 -07:00