about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09 gerrit: Use a Gerrit label instead of hashtag for autosubmitVincent Ambo5-44/+17
This moves to using a Gerrit label ('Autosubmit') with boolean values for determining whether a developer wants to have a change automatically submitted. See also https://cl.tvl.fyi/c/depot/+/4172
2019-12-05 index.tmpl.html: change from table to div layoutFlorian Klink1-20/+9
This makes things a bit more condensed.
2019-12-04 gerrit.Client: switch log level from Warn to InfoFlorian Klink1-1/+1
2019-12-04 frontend: improve log displayFlorian Klink3-6/+39
2019-12-04 frontend: rename main template to index.tmpl.html, fix showing HEADFlorian Klink2-5/+5
Fix some Captions, too.
2019-12-04 serie.tmpl.html: move missing table htmlFlorian Klink1-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 detailFlorian Klink1-20/+51
2019-12-04 submitqueue.runner: fix typo in commentFlorian Klink1-1/+1
2019-12-04 gerrit.client: update internal head after triggering a rebaseFlorian Klink1-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 breakFlorian Klink1-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 jFlorian Klink1-16/+20
2019-12-03 remove submitqueue/test_runner.goFlorian Klink1-30/+0
2019-12-03 main.go: log errors if they are returned from runner.Trigger()Florian Klink2-2/+38
2019-12-03 main: actually multiply triggerInterval by time.Second, not time.MinuteFlorian Klink1-1/+1
Otherwise, we'd wait a little bit too long ;-)
2019-12-03 main.go: add --trigger-interval cli flagFlorian Klink1-1/+9
2019-12-03 runner: use submittable fieldFlorian Klink1-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 structFlorian Klink2-1/+5
2019-12-02 gerrit.Client: set projectName and branchNameFlorian Klink1-3/+5
2019-12-02 runner: check gerrit.Refresh() for errorsFlorian Klink1-1/+4
2019-12-02 add rotatingloghandler which removes older log entriesFlorian Klink4-8/+44
2019-12-02 Use RunnerFlorian Klink14-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 NewRunnerFlorian Klink1-0/+1
2019-11-27 submit-queue.tmpl: move HEAD information to resultFlorian Klink3-13/+29
2019-11-27 result: move code into separate result.goFlorian Klink2-48/+54
2019-11-27 submit-queue.tmpl.html: improve log renderingFlorian Klink1-5/+5
2019-11-27 submitqueue.submitqueue: document Result functionsFlorian Klink1-0/+11
2019-11-27 submit-queue.tmpl: fix accordion, remove "Current Queue"Florian Klink1-11/+8
The Current Queue in fact is just the latest log element.
2019-11-27 submit-queue.tmpl.html: remove stray </code>Florian Klink1-1/+1
2019-11-27 submit-queue.tmpl.html: navbar-expand-{lg->sm}Florian Klink1-1/+1
2019-11-27 submit-queue.tmpl.html: add history visualizerFlorian Klink1-1/+29
2019-11-27 submitqueue.Run: copy series into result object after loading them from gerritFlorian Klink1-0/+6
So we have them in the history later.
2019-11-27 submitqueue: Result: record startTime during a new MakeResult constructor, ↵Florian Klink1-2/+12
return EndTime properly even without any LogEntries
2019-11-27 tmpl: move #region-queue to headingFlorian Klink2-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 templateFlorian Klink1-2/+7
2019-11-27 render series via a separate blockFlorian Klink3-14/+18
2019-11-27 render serie via a separate blockFlorian Klink3-10/+17
2019-11-27 render changeset via a separate blockFlorian Klink3-15/+18
2019-11-27 loadTemplate: support loading mulitple templatesFlorian Klink1-12/+24
2019-11-25 removed unused views/ folderFlorian Klink1-13/+0
2019-11-25 frontend: expose the currentlyRunning valueFlorian Klink2-5/+13
2019-11-25 frontend: return state atomically, remove GetSubmitQueueFlorian Klink2-42/+21
2019-11-25 .envrc: enable go modulesFlorian Klink1-0/+4
2019-11-25 TODO: log last updateFlorian Klink1-0/+2
2019-11-25 submitqueue: remove updateHEAD functionFlorian Klink2-24/+0
This is already done during the Run() function
2019-11-25 fooFlorian Klink1-1/+1
2019-11-25 frontend: we already add hyperlinksFlorian Klink1-1/+1
2019-11-25 frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()Florian Klink3-2/+9
2019-11-22 WIP: build binary and containerFlorian Klink3-1/+19
2019-11-22 frontend: add menu, info box and log areaFlorian Klink1-35/+80
2019-11-22 submit-queue.tmpl.html: use table to make it more usableFlorian Klink1-29/+33