Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-04 | gerrit.Client: switch log level from Warn to Info | Florian Klink | 1 | -1/+1 | |
2019-12-04 | frontend: improve log display | Florian Klink | 3 | -6/+39 | |
2019-12-04 | frontend: rename main template to index.tmpl.html, fix showing HEAD | Florian Klink | 2 | -5/+5 | |
Fix some Captions, too. | |||||
2019-12-04 | serie.tmpl.html: move missing table html | Florian Klink | 1 | -9/+17 | |
When refactoring the web interfaces, series was removed. However, we still want to show an individual Serie, which should properly be inside it's own table - so let's add this to the template. | |||||
2019-12-04 | README: document current runner logic in detail | Florian Klink | 1 | -20/+51 | |
2019-12-04 | submitqueue.runner: fix typo in comment | Florian Klink | 1 | -1/+1 | |
2019-12-04 | gerrit.client: update internal head after triggering a rebase | Florian Klink | 1 | -2/+1 | |
And we of course don't need to update HEAD if we just rebased a random changeset. | |||||
2019-12-03 | submitqueue.runner.Trigger: return instead of break | Florian Klink | 1 | -1/+1 | |
We're inside two loops, but when havint to sleep, we want to exit the whole trigger function. | |||||
2019-12-03 | gerrit.series.AssembleSeries: improve logging, also log i and j | Florian Klink | 1 | -16/+20 | |
2019-12-03 | remove submitqueue/test_runner.go | Florian Klink | 1 | -30/+0 | |
2019-12-03 | main.go: log errors if they are returned from runner.Trigger() | Florian Klink | 2 | -2/+38 | |
2019-12-03 | main: actually multiply triggerInterval by time.Second, not time.Minute | Florian Klink | 1 | -1/+1 | |
Otherwise, we'd wait a little bit too long ;-) | |||||
2019-12-03 | main.go: add --trigger-interval cli flag | Florian Klink | 1 | -1/+9 | |
2019-12-03 | runner: use submittable field | Florian Klink | 1 | -28/+36 | |
This simplifies logic, and makes it generally more usable with other project submit rules. | |||||
2019-12-03 | changeset: fetch SUBMITTABLE and add field to struct | Florian Klink | 2 | -1/+5 | |
2019-12-02 | gerrit.Client: set projectName and branchName | Florian Klink | 1 | -3/+5 | |
2019-12-02 | runner: check gerrit.Refresh() for errors | Florian Klink | 1 | -1/+4 | |
2019-12-02 | add rotatingloghandler which removes older log entries | Florian Klink | 4 | -8/+44 | |
2019-12-02 | Use Runner | Florian Klink | 14 | -535/+484 | |
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-11-27 | runner: document NewRunner | Florian Klink | 1 | -0/+1 | |
2019-11-27 | submit-queue.tmpl: move HEAD information to result | Florian Klink | 3 | -13/+29 | |
2019-11-27 | result: move code into separate result.go | Florian Klink | 2 | -48/+54 | |
2019-11-27 | submit-queue.tmpl.html: improve log rendering | Florian Klink | 1 | -5/+5 | |
2019-11-27 | submitqueue.submitqueue: document Result functions | Florian Klink | 1 | -0/+11 | |
2019-11-27 | submit-queue.tmpl: fix accordion, remove "Current Queue" | Florian Klink | 1 | -11/+8 | |
The Current Queue in fact is just the latest log element. | |||||
2019-11-27 | submit-queue.tmpl.html: remove stray </code> | Florian Klink | 1 | -1/+1 | |
2019-11-27 | submit-queue.tmpl.html: navbar-expand-{lg->sm} | Florian Klink | 1 | -1/+1 | |
2019-11-27 | submit-queue.tmpl.html: add history visualizer | Florian Klink | 1 | -1/+29 | |
2019-11-27 | submitqueue.Run: copy series into result object after loading them from gerrit | Florian Klink | 1 | -0/+6 | |
So we have them in the history later. | |||||
2019-11-27 | submitqueue: Result: record startTime during a new MakeResult constructor, ↵ | Florian Klink | 1 | -2/+12 | |
return EndTime properly even without any LogEntries | |||||
2019-11-27 | tmpl: move #region-queue to heading | Florian Klink | 2 | -2/+2 | |
the series block will get reused, and we don't want the same ID to appear twice. | |||||
2019-11-27 | frontend: reorder things passed to template | Florian Klink | 1 | -2/+7 | |
2019-11-27 | render series via a separate block | Florian Klink | 3 | -14/+18 | |
2019-11-27 | render serie via a separate block | Florian Klink | 3 | -10/+17 | |
2019-11-27 | render changeset via a separate block | Florian Klink | 3 | -15/+18 | |
2019-11-27 | loadTemplate: support loading mulitple templates | Florian Klink | 1 | -12/+24 | |
2019-11-25 | removed unused views/ folder | Florian Klink | 1 | -13/+0 | |
2019-11-25 | frontend: expose the currentlyRunning value | Florian Klink | 2 | -5/+13 | |
2019-11-25 | frontend: return state atomically, remove GetSubmitQueue | Florian Klink | 2 | -42/+21 | |
2019-11-25 | .envrc: enable go modules | Florian Klink | 1 | -0/+4 | |
2019-11-25 | TODO: log last update | Florian Klink | 1 | -0/+2 | |
2019-11-25 | submitqueue: remove updateHEAD function | Florian Klink | 2 | -24/+0 | |
This is already done during the Run() function | |||||
2019-11-25 | foo | Florian Klink | 1 | -1/+1 | |
2019-11-25 | frontend: we already add hyperlinks | Florian Klink | 1 | -1/+1 | |
2019-11-25 | frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue() | Florian Klink | 3 | -2/+9 | |
2019-11-22 | WIP: build binary and container | Florian Klink | 3 | -1/+19 | |
2019-11-22 | frontend: add menu, info box and log area | Florian Klink | 1 | -35/+80 | |
2019-11-22 | submit-queue.tmpl.html: use table to make it more usable | Florian Klink | 1 | -29/+33 | |
2019-11-21 | main.go: allow --fetch-only to be set via SUBMIT_QUEUE_FETCH_ONLY | Florian Klink | 1 | -0/+1 | |
2019-11-21 | gitignore /gerrit-queue | Florian Klink | 1 | -0/+1 | |