diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-21 00:46:08 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-21 00:46:08 +0000 |
commit | 711594e428301006641f8ccee516d0cb283b6174 (patch) | |
tree | 5d2eae9728abe2679492b14258e48ed841f134f4 /pym/portage.py | |
parent | a13b87bc22f1996bd09fa4ca8b49f7c2b6023d65 (diff) | |
download | portage-711594e428301006641f8ccee516d0cb283b6174.tar.gz portage-711594e428301006641f8ccee516d0cb283b6174.tar.bz2 portage-711594e428301006641f8ccee516d0cb283b6174.zip |
Don't require MANIFEST2 hashes since that can trigger excessive fetches when sufficient digests already exist. Thanks to vapier for reporting. (trunk r5742:5743)
svn path=/main/branches/2.1.2/; revision=5745
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index a4855269c..432227ca7 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2677,7 +2677,9 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None mf = Manifest(mysettings["O"], mysettings["DISTDIR"], fetchlist_dict=fetchlist_dict) required_hash_types = set(portage_const.MANIFEST1_HASH_FUNCTIONS) - required_hash_types.update(portage_const.MANIFEST2_HASH_FUNCTIONS) + # Don't require MANIFEST2 hashes since that can trigger excessive + # fetches when sufficient digests already exist. + #required_hash_types.update(portage_const.MANIFEST2_HASH_FUNCTIONS) required_hash_types.add("size") dist_hashes = mf.fhashdict.get("DIST", {}) missing_hashes = set() |