Commit Graph

32 Commits

Author SHA1 Message Date
Luke T. Shumaker f6bd42f398 httpd, keygen: Implement HTTP API keys 2024-03-03 00:03:30 -07:00
Luke T. Shumaker abd47f50a7 gitcache: Do a better job normalizing URLs 2024-01-28 21:04:01 -07:00
Luke T. Shumaker 5fa579b1e0 gitcache: URL2NS, NS2URL: Clean up 2024-01-28 11:34:31 -07:00
Luke T. Shumaker adedb1ea82 gitcache: GC x-gitcache-tmp directories 2024-01-28 11:01:07 -07:00
Luke T. Shumaker ff3ffeba9b gitcache: Validate that URL2NS always produces valid NS values 2024-01-28 11:01:07 -07:00
Luke T. Shumaker fbfcb7e8e4 gitcache: Fix round-tripping bugs in url_ns.go 2024-01-28 11:01:07 -07:00
Luke T. Shumaker eb05854ed1 httpd: Show timestamps in the webui 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 5eeeb9c651 Do maintenance on the gitcache 2024-01-28 11:01:07 -07:00
Luke T. Shumaker 1ef2cd3946 gitcache: Pass --force to fetch 2024-01-27 14:34:49 -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 a4540f9a56 Resolve troubles with actually deploying the thing 2024-01-22 14:31:49 -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 38b9fcd2aa httpd: Add features to the /jobs/ endpoint 2024-01-19 13:44:17 -07:00
Luke T. Shumaker ac2d50d1ea fixes 2024-01-18 14:17:26 -07:00
Luke T. Shumaker 66874b0617 wip 2024-01-18 12:08:10 -07:00
Luke T. Shumaker 640b747c50 Refactor 2024-01-17 22:49:09 -07:00
Luke T. Shumaker 09afbb94ec Add a Job page 2024-01-17 21:15:20 -07:00
Luke T. Shumaker 728b8fc71d add a job listing 2024-01-17 18:08:22 -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 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 4e7c3a0f88 Fuss with performance 2024-01-12 12:50:38 -07:00
Luke T. Shumaker a999da3034 more logging 2024-01-12 12:06:32 -07:00
Luke T. Shumaker 5d86724645 fix 2024-01-11 14:46:13 -07:00
Luke T. Shumaker 079ef74a6c fix 2024-01-11 14:27:32 -07:00
Luke T. Shumaker 5115408e7d fix error reporting 2024-01-11 13:57:28 -07:00
Luke T. Shumaker d36e8afdfa wip 2024-01-11 13:36:03 -07:00
Luke T. Shumaker ec40ff82be initial commit 2024-01-10 17:13:14 -07:00