Commit Graph

54 Commits

Author SHA1 Message Date
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
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 4a0422f30d wip 2024-01-18 00:48:14 -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 c1cfe14f5c fuss with .service files 2024-01-17 18:08:12 -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 f312a377d4 Add `make install` and systemd units 2024-01-17 14:11:46 -07:00
Luke T. Shumaker d1ac8a1469 Factor out a 'config' package 2024-01-17 14:11:46 -07:00
Luke T. Shumaker 47beb5def9 Add a (stub) README 2024-01-17 13:59:48 -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
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 b5bcca43fd fuss with --help text 2024-01-12 12:49:26 -07:00
Luke T. Shumaker 35b813d0a9 mv cmd/{,eclipse-}gitcache 2024-01-12 12:07:07 -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