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

Issue 2779683005: [package.proto] convert deps from list to map. (Closed)

Created:
3 years, 8 months ago by iannucci
Modified:
3 years, 8 months ago
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[package.proto] convert deps from list to map. This is a backwards-incompatible proto change, but this CL makes the engine compatible with BOTH versions (simultaneously :)). Files handled by e.g. the autoroller code are 'sticky'. If they were version 1, they'll be written as version 1. If they were version 2, they'll be written as version 2. Once version 2 is in use everywhere, I will remove support for version 1. R=dnj@chromium.org, nodir@chromium.rog, phajdan.jr@chromium.org BUG= Review-Url: https://codereview.chromium.org/2779683005 Committed: https://github.com/luci/recipes-py/commit/4fcdb75517198a9ca32c7c4aecbe2e6f54b8b6c2

Patch Set 1 #

Total comments: 6

Patch Set 2 : versions #

Patch Set 3 : fixit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -77 lines) Patch
M recipe_engine/package.proto View 3 chunks +7 lines, -12 lines 0 comments Download
M recipe_engine/package.py View 1 2 8 chunks +42 lines, -17 lines 0 comments Download
M recipe_engine/package_pb2.py View 11 chunks +69 lines, -27 lines 0 comments Download
M unittests/package_test.py View 3 chunks +43 lines, -8 lines 0 comments Download
M unittests/repo_test_util.py View 1 chunk +5 lines, -8 lines 0 comments Download
M unittests/test_test.py View 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
iannucci
3 years, 8 months ago (2017-03-28 03:21:51 UTC) #1
iannucci
PTAL (now with nodir's correct email address :))
3 years, 8 months ago (2017-03-28 03:23:39 UTC) #6
nodir
> Once version 1 is in use everywhere, I will remove support for version 2. ...
3 years, 8 months ago (2017-03-28 03:25:16 UTC) #7
iannucci
On 2017/03/28 03:25:16, nodir wrote: > > Once version 1 is in use everywhere, I ...
3 years, 8 months ago (2017-03-28 03:29:06 UTC) #11
nodir
lgtm https://codereview.chromium.org/2779683005/diff/1/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2779683005/diff/1/recipe_engine/package.py#newcode85 recipe_engine/package.py:85: 'expected %r to be in %r' % (vers, ...
3 years, 8 months ago (2017-03-28 03:36:13 UTC) #12
iannucci
https://codereview.chromium.org/2779683005/diff/1/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2779683005/diff/1/recipe_engine/package.py#newcode85 recipe_engine/package.py:85: 'expected %r to be in %r' % (vers, self.API_VERSIONS) ...
3 years, 8 months ago (2017-03-28 04:06:18 UTC) #15
Paweł Hajdan Jr.
LGTM
3 years, 8 months ago (2017-03-28 15:40:33 UTC) #22
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/2779683005/40001
3 years, 8 months ago (2017-03-28 16:11:09 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://github.com/luci/recipes-py/commit/4fcdb75517198a9ca32c7c4aecbe2e6f54b8b6c2
3 years, 8 months ago (2017-03-28 16:14:25 UTC) #28
iannucci
3 years, 8 months ago (2017-03-28 16:16:42 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2785503002/ by iannucci@chromium.org.

The reason for reverting is: Prepping revert <just in case>.

Powered by Google App Engine
This is Rietveld 408576698