Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Issue 2923633003: client: Support repeated keys in task request. (Closed)

Created:
3 years, 6 months ago by M-A Ruel
Modified:
3 years, 6 months ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

client: Support repeated keys in task request. - Add more flags to 'swarming.py bots': --idle, --busy, --mp, --non-mp - Change 'swarming.py bots' dimensions filtering to be done server side. - Refactor 'swarming.py bots' to reuse the same code as 'swarming.py query'. - Support for the same key to be specified multiple times is needed for named caches, as unlike the other dimensions, it makes sense to specify the same key mulitple time. - Only add support on client side, server side is to follow up shortly. R=vadimsh@chromium.org BUG=728124 Review-Url: https://codereview.chromium.org/2923633003 Committed: https://github.com/luci/luci-py/commit/1bd482d4014fd63fb2a263fd3e60b328f8be59ab

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -225 lines) Patch
M client/swarming.py View 1 8 chunks +139 lines, -98 lines 0 comments Download
M client/tests/swarming_test.py View 1 7 chunks +165 lines, -127 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (4 generated)
M-A Ruel
3 years, 6 months ago (2017-06-05 20:31:04 UTC) #2
Vadim Sh.
https://codereview.chromium.org/2923633003/diff/1/client/swarming.py File client/swarming.py (right): https://codereview.chromium.org/2923633003/diff/1/client/swarming.py#newcode849 client/swarming.py:849: return data, yielder instead of returning data, you can ...
3 years, 6 months ago (2017-06-05 21:33:13 UTC) #3
M-A Ruel
https://codereview.chromium.org/2923633003/diff/1/client/swarming.py File client/swarming.py (right): https://codereview.chromium.org/2923633003/diff/1/client/swarming.py#newcode849 client/swarming.py:849: return data, yielder On 2017/06/05 21:33:13, Vadim Sh. wrote: ...
3 years, 6 months ago (2017-06-07 15:36:03 UTC) #4
Vadim Sh.
lgtm, but 'query' interface is weird. It's a mix of CLI interface and REST API ...
3 years, 6 months ago (2017-06-07 17:14:26 UTC) #5
M-A Ruel
On 2017/06/07 17:14:26, Vadim Sh. wrote: > lgtm, but 'query' interface is weird. It's a ...
3 years, 6 months ago (2017-06-07 18:10:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2923633003/20001
3 years, 6 months ago (2017-06-08 13:24:42 UTC) #8
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 13:26:57 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-py/commit/1bd482d4014fd63fb2a263fd3e60b328f8be59ab

Powered by Google App Engine
This is Rietveld 408576698