summaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-31 12:47:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-31 12:47:17 +0000
commite1c9b13944cc3c74bd6e0b98b0f98c08c270b307 (patch)
tree7e39e2d23067fbd81e430584e1d54a0912813e70 /cnf
parentAlways invalidate results from _userpriv_test_write_file_cache when (diff)
downloadportage-idfetch-e1c9b13944cc3c74bd6e0b98b0f98c08c270b307.tar.gz
portage-idfetch-e1c9b13944cc3c74bd6e0b98b0f98c08c270b307.tar.bz2
portage-idfetch-e1c9b13944cc3c74bd6e0b98b0f98c08c270b307.zip
Bug #233253 - Implement a @downgrade set which selects packages for which
the highest visible ebuild version is lower than the currently installed version. This is useful if you have installed packages from an overlay and you want to downgrade to the highest visible after removing the overlay, even though the packages that will be dowgraded are not necessarily masked in any way. svn path=/main/trunk/; revision=11299
Diffstat (limited to 'cnf')
-rw-r--r--cnf/sets.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/cnf/sets.conf b/cnf/sets.conf
index eda003f4..b3dc132f 100644
--- a/cnf/sets.conf
+++ b/cnf/sets.conf
@@ -53,3 +53,9 @@ inherits = cvs darcs git mercurial subversion
class = portage.sets.dbapi.OwnerSet
world-candidate = False
files = /lib/modules
+
+# Installed packages for which the highest visible ebuild
+# version is lower than the currently installed version.
+[downgrade]
+class = portage.sets.dbapi.DowngradeSet
+world-candidate = False