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

Issue 2343733003: Prefer overridden dependencies. (Closed)

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

Description

Prefer overridden dependencies. Currently, when overriding packages, the overridden packages must still declare the same dependency versions as regular packages. This requires the user to sync everything prior to experimenting with cross-repository patches. Change this behavior to make it so that overridden packages' dependency set is preferred to the root package's dependencies. This creates a functional illusion that the overridden packages have been rolled, and that the root package is being considered candidate for rolling, which is useful for developers. BUG=None TEST=local - Ran unit tests. - Ran against overridden dependencies with inconsistent dependency trees. Committed: https://github.com/luci/recipes-py/commit/f7ada90c926c78704f048767e29e8ae836d8a65b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove old comment. #

Total comments: 2

Patch Set 3 : Removed unused argument. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -27 lines) Patch
M recipe_engine/package.py View 1 2 6 chunks +47 lines, -26 lines 0 comments Download
M recipes.py View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 19 (10 generated)
dnj
PTAL. This should have the effect of making "-O" intuitively behave like a roll for ...
4 years, 3 months ago (2016-09-15 21:45:37 UTC) #2
dnj
+iannucci@, FYI
4 years, 3 months ago (2016-09-15 22:15:57 UTC) #4
iannucci
lgtm, though martiniss should definitely take a look too. https://chromiumcodereview.appspot.com/2343733003/diff/1/recipe_engine/package.py File recipe_engine/package.py (right): https://chromiumcodereview.appspot.com/2343733003/diff/1/recipe_engine/package.py#newcode656 recipe_engine/package.py:656: ...
4 years, 3 months ago (2016-09-16 07:17:21 UTC) #6
dnj
https://codereview.chromium.org/2343733003/diff/1/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2343733003/diff/1/recipe_engine/package.py#newcode656 recipe_engine/package.py:656: # flow. On 2016/09/16 07:17:21, iannucci wrote: > can ...
4 years, 3 months ago (2016-09-16 22:32:05 UTC) #7
dnj
(ping)
4 years, 3 months ago (2016-09-19 16:56:44 UTC) #12
martiniss
lgtm https://codereview.chromium.org/2343733003/diff/20001/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2343733003/diff/20001/recipe_engine/package.py#newcode642 recipe_engine/package.py:642: def _create_package(self, package_id, repo_spec, overriding): nit: unused argument ...
4 years, 3 months ago (2016-09-19 19:07:42 UTC) #13
dnj
https://codereview.chromium.org/2343733003/diff/20001/recipe_engine/package.py File recipe_engine/package.py (right): https://codereview.chromium.org/2343733003/diff/20001/recipe_engine/package.py#newcode642 recipe_engine/package.py:642: def _create_package(self, package_id, repo_spec, overriding): On 2016/09/19 19:07:42, martiniss ...
4 years, 3 months ago (2016-09-19 20:43:50 UTC) #14
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/2343733003/40001
4 years, 3 months ago (2016-09-19 21:45:32 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:50:54 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/recipes-py/commit/f7ada90c926c78704f048767e29e8ae836d...

Powered by Google App Engine
This is Rietveld 408576698