Commit Graph

16 Commits

Author SHA1 Message Date
Luke T. Shumaker 80ff373376 Let the git rev glob for the refname 2024-03-03 14:49:43 -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 feddc2102e gofmt -w -s . 2024-01-20 10:21:18 -07:00
Luke T. Shumaker 8f6c246b71 First pass at creating the runner 2024-01-18 00:43:02 -07:00
Luke T. Shumaker 640b747c50 Refactor 2024-01-17 22:49:09 -07:00
Luke T. Shumaker 2e120b5ec1 First stab at an HTTP server 2024-01-17 16:48:43 -07:00
Luke T. Shumaker b962c7e5fe Factor out a 'store' package 2024-01-17 14:32:55 -07:00
Luke T. Shumaker d1ac8a1469 Factor out a 'config' package 2024-01-17 14:11:46 -07:00
Luke T. Shumaker e32d4e8143 create jobs 2024-01-17 10:42:59 -07:00
Luke T. Shumaker 7017514c16 Add sqlite3 to the build 2024-01-12 19:55:28 -07:00
Luke T. Shumaker 9d32859882 oops 2024-01-12 19:40:04 -07:00
Luke T. Shumaker 435c10a821 have trigger take arguments 2024-01-12 19:35:59 -07:00
Luke T. Shumaker 385b38fca7 wip trigger 2024-01-12 19:31:32 -07:00