Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-09 | gerrit: Use a Gerrit label instead of hashtag for autosubmit | Vincent Ambo | 1 | -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 comment | Florian Klink | 1 | -1/+1 | |
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 | 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 | 1 | -0/+30 | |
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-02 | runner: check gerrit.Refresh() for errors | Florian Klink | 1 | -1/+4 | |
2019-12-02 | Use Runner | Florian Klink | 5 | -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 NewRunner | Florian Klink | 1 | -0/+1 | |
2019-11-27 | submit-queue.tmpl: move HEAD information to result | Florian Klink | 2 | -0/+2 | |
2019-11-27 | result: move code into separate result.go | Florian Klink | 2 | -48/+54 | |
2019-11-27 | submitqueue.submitqueue: document Result functions | Florian Klink | 1 | -0/+11 | |
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-25 | frontend: return state atomically, remove GetSubmitQueue | Florian Klink | 1 | -9/+3 | |
2019-11-25 | submitqueue: remove updateHEAD function | Florian Klink | 1 | -10/+0 | |
This is already done during the Run() function | |||||
2019-11-25 | foo | Florian Klink | 1 | -1/+1 | |
2019-11-25 | frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue() | Florian Klink | 1 | -0/+5 | |
2019-11-21 | frontend: show submittable status and URL, add runner, revamp logging | Florian Klink | 3 | -22/+128 | |
2019-11-18 | submitqueue.DoRebase: only rebase the next auto-submittable series on top of ↵ | Florian Klink | 1 | -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 around | Florian Klink | 2 | -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 SubmitQueueTag | Florian Klink | 1 | -4/+0 | |
This is passed into MakeSubmitQueue instead. | |||||
2019-11-18 | initial import | Florian Klink | 3 | -0/+450 | |