summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-02 21:17:40 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-02 21:17:40 +0000
commitf55b1c37b34fc86f164626c709c8189143a120f2 (patch)
treeb743d781e5c7fe708bdbe2937b5174a00fc7e16c
parentd5696c6075ef17a90240231f493c53cb0bb158ec (diff)
downloadportage-f55b1c37b34fc86f164626c709c8189143a120f2.tar.gz
portage-f55b1c37b34fc86f164626c709c8189143a120f2.tar.bz2
portage-f55b1c37b34fc86f164626c709c8189143a120f2.zip
Sort scanlist and ebuildlist to ensure that repoman always
processes packages in a predictable order. svn path=/main/trunk/; revision=8383
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 1f10a91d9..0da141034 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -640,6 +640,7 @@ elif repolevel==3:
if catdir not in repoman_settings.categories:
caterror(catdir)
scanlist.append(catdir+"/"+reposplit[-1])
+scanlist.sort()
profiles={}
descfile=portdir+"/profiles/profiles.desc"
@@ -858,6 +859,7 @@ for x in scanlist:
fails["EAPI.unsupported"].append(os.path.join(x, y))
continue
ebuild_metadata[pf] = myaux
+ ebuildlist.sort()
if len(ebuild_metadata) != len(ebuildlist):
# If we can't access all the metadata then it's totally unsafe to