Commit Graph

22 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 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 35da1201aa Add a copyright statement to style.css 2024-01-18 22:27:15 -07:00
Luke T. Shumaker d968e614fd Have the log view resize 2024-01-18 22:22:24 -07:00
Luke T. Shumaker 921b4f31df fix 2024-01-18 21:54:39 -07:00
Luke T. Shumaker b7358a5a28 fix log streaming 2024-01-18 20:04:09 -07:00
Luke T. Shumaker af46b21214 reorg 2024-01-18 19:47:10 -07:00
Luke T. Shumaker 02a8580dd9 tidy 2024-01-18 18:32:01 -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 66874b0617 wip 2024-01-18 12:08:10 -07:00
Luke T. Shumaker c12d55ebe8 wip 2024-01-18 09:17:10 -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 09afbb94ec Add a Job page 2024-01-17 21:15:20 -07:00
Luke T. Shumaker 36885598a7 Snazz up the general page template 2024-01-17 19:47:08 -07:00
Luke T. Shumaker 655c00917c work on the job listing 2024-01-17 19:08:47 -07:00
Luke T. Shumaker 728b8fc71d add a job listing 2024-01-17 18:08:22 -07:00
Luke T. Shumaker 2e120b5ec1 First stab at an HTTP server 2024-01-17 16:48:43 -07:00