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

Issue 6905107: Rebuild when build-time/run-time deps are upgraded. (Closed)

Created:
9 years, 8 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
zmedico
CC:
chromium-os-reviews_chromium.org
Base URL:
git://git.overlays.gentoo.org/proj/portage.git@master
Visibility:
Public.

Description

Rebuild when build-time/run-time deps are upgraded. If pkgA has been updated, and pkgB depends on pkgA at both build-time and run-time, pkgB needs to be rebuilt. This feature ensures that all packages are consistent when dependencies that are used at both runtime and build time are changed. This feature only rebuilds packages one layer deep. That means that if you upgrade libcros, for example, packages that depend directly on libcros will be rebuilt and reinstalled, but indirect dependencies will not be rebuilt. BUG=chromium-os:14296 TEST=Test whether packages rebuilding a bunch of packages. Change-Id: Idbc0532b4b1de28fd9e5a0abe3b7dbe1a3abd2c8

Patch Set 1 #

Patch Set 2 : Switch to BUILD_TIME. Add comments. #

Patch Set 3 : Address review feedback, add tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -26 lines) Patch
M man/emerge.1 View 2 chunks +8 lines, -0 lines 0 comments Download
M pym/_emerge/DepPriority.py View 2 chunks +5 lines, -3 lines 0 comments Download
M pym/_emerge/DepPriorityNormalRange.py View 1 chunk +1 line, -1 line 0 comments Download
M pym/_emerge/DepPrioritySatisfiedRange.py View 1 chunk +1 line, -0 lines 0 comments Download
M pym/_emerge/Dependency.py View 1 chunk +6 lines, -1 line 0 comments Download
M pym/_emerge/UnmergeDepPriority.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M pym/_emerge/create_depgraph_params.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pym/_emerge/depgraph.py View 1 2 16 chunks +174 lines, -16 lines 0 comments Download
M pym/_emerge/main.py View 5 chunks +23 lines, -1 line 0 comments Download
M pym/_emerge/resolver/backtracking.py View 5 chunks +12 lines, -1 line 0 comments Download
M pym/portage/dbapi/bintree.py View 3 chunks +7 lines, -1 line 0 comments Download
A pym/portage/tests/resolver/test_rebuild.py View 1 2 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
zmedico
Inside _trigger_rebuild, shouldn't the bintree code be conditional on the --usepkg option? Here is a ...
9 years, 7 months ago (2011-04-30 19:18:35 UTC) #1
zmedico
This patch adds tests for emerge --rebuild. Why is it that sys-apps/c-2 is pulled in ...
9 years, 7 months ago (2011-04-30 19:29:56 UTC) #2
davidjames
On 2011/04/30 19:18:35, zmedico wrote: > Inside _trigger_rebuild, shouldn't the bintree code be conditional on ...
9 years, 7 months ago (2011-05-01 16:27:22 UTC) #3
zmedico
This is merged upstream: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=470871eeafa89a05486d4eb6f3f7626c1f813e4d
9 years, 7 months ago (2011-05-01 17:23:57 UTC) #4
zmedico
Here's a little bug fix: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b26576b2d4b3b5f99dde4d33003192be973401ce
9 years, 7 months ago (2011-05-01 20:50:49 UTC) #5
zmedico
Another fix: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a524f21fc85e899455d13301c3d435077c694ece
9 years, 7 months ago (2011-05-01 21:21:36 UTC) #6
zmedico
A fix for circular dependencies: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=dd794a5e94fa846975b440824534aeffd629f60b
9 years, 7 months ago (2011-05-01 23:30:15 UTC) #7
zmedico
9 years, 7 months ago (2011-05-02 03:11:27 UTC) #8
Here's another fix for cases in which --with-bdeps isn't enabled:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=60564a32...

Powered by Google App Engine
This is Rietveld 408576698