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

Issue 6577024: Add --nousepkg-atoms, --useoldpkg-atoms and --reinstall-atoms flag to Portage (Closed)

Created:
9 years, 10 months ago by davidjames
Modified:
9 years, 4 months ago
Reviewers:
zmedico, mtennant, anush
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Add --nousepkg-atoms, --useoldpkg-atoms, and --reinstall-atoms flag to Portage reinstall-atoms accepts a space separated list of package names or slot atoms. Emerge will treat matching packages as if they are not installed, and reinstall them if necessary. useoldpkg-atoms accepts a space separated list of package names or slot atoms. Emerge will prefer matching binary packages over newer unbuilt packages. This is useful in case you want to request that a particular package won't be rebuilt from source. nousepkg-atoms accepts a space separated list of package names or slot atoms. Emerge will ignore matching binary packages. Change-Id: I0d73039c6a4cd63695b28ffc80215628e0e05c95 BUG=chromium-os:12507 TEST=Try out the flag Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=11e8f9a

Patch Set 1 #

Patch Set 2 : Alphabetical order #

Patch Set 3 : Add --nousepkg-atoms as well. Remove dependency on --deep. #

Patch Set 4 : Add --useoldpkg-atoms as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -42 lines) Patch
M man/emerge.1 View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M pym/_emerge/depgraph.py View 1 2 3 13 chunks +58 lines, -20 lines 0 comments Download
M pym/_emerge/main.py View 1 2 3 5 chunks +57 lines, -22 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
davidjames
In Chromium OS, this feature is useful for ensuring that workon packages get merged. Besides ...
9 years, 10 months ago (2011-02-24 20:03:51 UTC) #1
anush
Could --nousepkg take optional values that can be used to not usepkgs on them and ...
9 years, 9 months ago (2011-03-10 18:09:39 UTC) #2
davidjames
On 2011/03/10 18:09:39, anush wrote: > Could --nousepkg take optional values that can be used ...
9 years, 9 months ago (2011-03-10 18:45:34 UTC) #3
anush
Ok LGTM as long as it is ok with Zac. On Thu, Mar 10, 2011 ...
9 years, 9 months ago (2011-03-10 19:14:48 UTC) #4
zmedico
9 years, 8 months ago (2011-04-27 22:09:52 UTC) #5
LGTM, except the patch accidentally removes these lines:

-	if myoptions.fail_clean in true_y:
-		myoptions.fail_clean = True

I've merged merged it upstream with those lines added back in:

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

Powered by Google App Engine
This is Rietveld 408576698