Commit graph

18 commits

Author SHA1 Message Date
Florian Klink
ea04792c39 frontend: improve log display 2019-12-04 15:21:17 +01:00
Florian Klink
bdfdad2585 frontend: rename main template to index.tmpl.html, fix showing HEAD
Fix some Captions, too.
2019-12-04 14:51:04 +01:00
Florian Klink
118a88dace add rotatingloghandler which removes older log entries 2019-12-02 12:03:46 +01:00
Florian Klink
04a24a0c60 Use Runner
This revamps code quite a bit. Series handling has been moved into the
gerrit client, it also handles caching.

The Runner logic itself has been greatly simplified.

The runner logic has been moved into the runner.go, submitqueue.go is
gone.

The "per-run result object" concept has been dropped - we instead just
use annotated logs.

Also, we switched to apex/log
2019-12-02 10:00:32 +01:00
Florian Klink
d81ae74999 frontend: reorder things passed to template 2019-11-27 13:00:50 +01:00
Florian Klink
69f0963a17 render series via a separate block 2019-11-27 11:41:45 +01:00
Florian Klink
151cc75532 render serie via a separate block 2019-11-27 11:40:52 +01:00
Florian Klink
1b249600e5 render changeset via a separate block 2019-11-27 11:35:07 +01:00
Florian Klink
97eb1fae38 loadTemplate: support loading mulitple templates 2019-11-27 11:24:04 +01:00
Florian Klink
b0f08a99ee frontend: expose the currentlyRunning value 2019-11-25 18:26:19 +01:00
Florian Klink
b65f56c6e2 frontend: return state atomically, remove GetSubmitQueue 2019-11-25 18:12:38 +01:00
Florian Klink
16e197b154 TODO: log last update 2019-11-25 17:43:56 +01:00
Florian Klink
ad27d963f2 submitqueue: remove updateHEAD function
This is already done during the Run() function
2019-11-25 17:42:58 +01:00
Florian Klink
10b2c6e365 frontend: we already add hyperlinks 2019-11-25 17:36:39 +01:00
Florian Klink
40b2f11543 frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue() 2019-11-25 17:35:11 +01:00
Florian Klink
057294830e frontend: show submittable status and URL, add runner, revamp logging 2019-11-21 16:13:50 +01:00
Florian Klink
dbd7b4807a use statik to bundle assets, add nix-shell/lorri .envrc 2019-11-18 16:29:57 +01:00
Florian Klink
987b539e33 initial import 2019-11-18 15:40:46 +01:00