Commit Graph

15 Commits

Author SHA1 Message Date
Luke T. Shumaker 5622a760fd Try a different solution to the EOF thing 2024-01-25 09:15:12 -07:00
Luke T. Shumaker e0f88f1cb9 run: Fix the intermittent unexpected-EOF-at-EOF thing 2024-01-23 23:01:38 -07:00
Luke T. Shumaker bb73dc7b77 run: fix? 2024-01-22 21:02:53 -07:00
Luke T. Shumaker ce7585e19c logging 2024-01-22 20:56:09 -07:00
Luke T. Shumaker 8756abe8c2 Fuss with program descriptions 2024-01-20 14:08:44 -07:00
Luke T. Shumaker 9dc4d83a75 Separate leader and follower configs 2024-01-20 14:01:59 -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
Luke T. Shumaker e61ccb26b6 run: Run in a temporary directory 2024-01-20 09:44:20 -07:00
Luke T. Shumaker 921b4f31df fix 2024-01-18 21:54:39 -07:00
Luke T. Shumaker d39eb9dbc6 prune 2024-01-18 18:29:58 -07:00
Luke T. Shumaker 7433389f51 it works!? 2024-01-18 18:23:49 -07:00
Luke T. Shumaker ac2d50d1ea fixes 2024-01-18 14:17:26 -07:00
Luke T. Shumaker 461142dda1 wip 2024-01-18 12:55:53 -07:00
Luke T. Shumaker 8f6c246b71 First pass at creating the runner 2024-01-18 00:43:02 -07:00