about summary refs log tree commit diff
path: root/submitqueue
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09 gerrit: Use a Gerrit label instead of hashtag for autosubmitVincent Ambo1-7/+5
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-04 submitqueue.runner: fix typo in commentFlorian Klink1-1/+1
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 remove submitqueue/test_runner.goFlorian Klink1-30/+0
2019-12-03 main.go: log errors if they are returned from runner.Trigger()Florian Klink1-0/+30
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-02 runner: check gerrit.Refresh() for errorsFlorian Klink1-1/+4
2019-12-02 Use RunnerFlorian Klink5-559/+175
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 Klink2-0/+2
2019-11-27 result: move code into separate result.goFlorian Klink2-48/+54
2019-11-27 submitqueue.submitqueue: document Result functionsFlorian Klink1-0/+11
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-25 frontend: return state atomically, remove GetSubmitQueueFlorian Klink1-9/+3
2019-11-25 submitqueue: remove updateHEAD functionFlorian Klink1-10/+0
This is already done during the Run() function
2019-11-25 fooFlorian Klink1-1/+1
2019-11-25 frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()Florian Klink1-0/+5
2019-11-21 frontend: show submittable status and URL, add runner, revamp loggingFlorian Klink3-22/+128
2019-11-18 submitqueue.DoRebase: only rebase the next auto-submittable series on top of ↵Florian Klink1-26/+25
current HEAD Doing "predictive rebasing" produces long series on the next run, and we don't want to keep state between different runs.
2019-11-18 submitqueue: keep all series aroundFlorian Klink2-18/+29
Introduce submitqueue.IsAutoSubmittable using a new serie.FilterAllChangesets function, and skip over non-auto-submittable series during rebase. This allows better inspection on why other series are ignored by the queue.
2019-11-18 submitqueue: remove unused SubmitQueueTagFlorian Klink1-4/+0
This is passed into MakeSubmitQueue instead.
2019-11-18 initial importFlorian Klink3-0/+450