* [gentoo-portage-dev] [PATCH] Sort digests and manifests
@ 2005-09-27 6:11 Jason Stubbs
0 siblings, 0 replies; only message in thread
From: Jason Stubbs @ 2005-09-27 6:11 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 72 bytes --]
No other use than to make the files look pretty - and diffable as well.
[-- Attachment #2: sorted-digests-and-manifests.patch --]
[-- Type: text/x-diff, Size: 699 bytes --]
diff -u -r1.524.2.76 portage.py
--- pym/portage.py 29 May 2005 12:40:08 -0000 1.524.2.76
+++ pym/portage.py 11 Aug 2005 14:26:18 -0000
@@ -2077,6 +2077,7 @@
if os.path.exists(digestfn):
myolddigest = digestParseFile(digestfn)
+ myarchives.sort()
mydigests=digestCreate(myarchives, basedir, oldDigest=myolddigest)
if mydigests==None: # There was a problem, exit with an errorcode.
return 0
@@ -2103,6 +2104,7 @@
print green(">>> Generating manifest file...")
mypfiles=listdir(pbasedir,recursive=1,filesonly=1,ignorecvs=1,EmptyOnError=1)
mypfiles=cvstree.apply_cvsignore_filter(mypfiles)
+ mypfiles.sort()
for x in ["Manifest"]:
if x in mypfiles:
mypfiles.remove(x)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-27 6:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27 6:11 [gentoo-portage-dev] [PATCH] Sort digests and manifests Jason Stubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox