Commit Graph

94 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 f6bd42f398 httpd, keygen: Implement HTTP API keys 2024-03-03 00:03:30 -07:00
Luke T. Shumaker 79da20bd57 httpd: Add a comment 2024-03-02 23:47:05 -07:00
Luke T. Shumaker 22f0728ef6 httpd: Get working with LibreJS 2024-03-02 23:11:43 -07:00
Luke T. Shumaker edbdc28e16 httpd.socket: Point Install.Also at the timers 2024-01-28 21:19:12 -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 d1edfd4ddb gitcache: Have the default cache-dir obey @localstatedir@ 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 04013b7499 httpd: Have the job page refresh when the job finishes 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 3574bf8beb httpd: Factor out a pageTemplate() function 2024-01-26 17:14:59 -07:00
Luke T. Shumaker fbd66a44ea httpd: Have the whole row be clickable 2024-01-26 17:07:31 -07:00
Luke T. Shumaker b1deee8b36 run: Write logs to stdout too 2024-01-25 11:08:46 -07:00
Luke T. Shumaker aafa4b3671 run: Better error messages 2024-01-25 10:09:49 -07:00
Luke T. Shumaker 8631ae3643 httpd: Don't show status messages on the /jobs/ index 2024-01-25 10:09:32 -07:00
Luke T. Shumaker 5622a760fd Try a different solution to the EOF thing 2024-01-25 09:15:12 -07:00
Luke T. Shumaker 0434257b40 Fix the thing with pick hanging forever? 2024-01-25 03:40:07 -07:00
Luke T. Shumaker a316ef6464 Add a test for pick 2024-01-25 02:08:33 -07:00
Luke T. Shumaker 062a17dbca eclipse-httpd.socket: Tidy 2024-01-23 23:49:41 -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 92f74b2494 Add some e2e tests 2024-01-23 22:53:04 -07:00
Luke T. Shumaker 48196cb755 whoops 2024-01-23 13:03:54 -07:00
Luke T. Shumaker 2eeecfff3c httpd: index: Add another link to the source code 2024-01-23 11:49:12 -07:00
Luke T. Shumaker daa6f1cd00 Add a from-gitea webhook 2024-01-23 11:48:57 -07:00
Luke T. Shumaker 1aa9e84dc8 pick: Add a TODO comment 2024-01-22 21:21:35 -07:00
Luke T. Shumaker 3528051a39 Fuss with the homepage 2024-01-22 21:17:06 -07:00
Luke T. Shumaker 03bcaa8601 Track job status messages 2024-01-22 21:10:47 -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 0d0d626099 httpd: When ?wait=true, send a keepalive every 30s 2024-01-22 18:39:16 -07:00
Luke T. Shumaker 2268111754 httpd: Fuss with HTML 2024-01-22 18:31:22 -07:00
Luke T. Shumaker 3540778d90 Fix /jobs/ query parameters 2024-01-22 17:24:31 -07:00
Luke T. Shumaker de0f3a4a74 oops 2024-01-22 16:32:57 -07:00
Luke T. Shumaker 669aa663b1 ahhhhh 2024-01-22 15:15:06 -07:00
Luke T. Shumaker a4540f9a56 Resolve troubles with actually deploying the thing 2024-01-22 14:31:49 -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 c065ab7af3 Add `check` and `lint` targets 2024-01-20 10:57:12 -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 8097e7b698 Makefile: Create split install targets 2024-01-20 10:21:28 -07:00
Luke T. Shumaker feddc2102e gofmt -w -s . 2024-01-20 10:21:18 -07:00
Luke T. Shumaker c00df52f6e Fix copyright years in config.go.in 2024-01-20 10:05:57 -07:00
Luke T. Shumaker e61ccb26b6 run: Run in a temporary directory 2024-01-20 09:44:20 -07:00
Luke T. Shumaker a0b461f2a1 Add an 'eclipse-pick' command 2024-01-19 14:03:03 -07:00