From: Zac Medico Date: Fri, 2 Nov 2007 22:39:58 +0000 (-0000) Subject: Sort scanlist and ebuildlist to ensure that repoman always X-Git-Tag: v2.1.3.19~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d5431d3f127432253af653b09aba5a980d9da45;p=portage.git Sort scanlist and ebuildlist to ensure that repoman always processes packages in a predictable order. (trunk r8383) svn path=/main/branches/2.1.2/; revision=8384 --- diff --git a/bin/repoman b/bin/repoman index f279900e3..0fca1f015 100755 --- a/bin/repoman +++ b/bin/repoman @@ -637,6 +637,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" @@ -960,6 +961,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