diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-11-06 16:05:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-11-07 23:56:07 +0100 |
commit | e1de82ebe6ef2dbaab7b56bcf2bb6ff75743a000 (patch) | |
tree | 49b18193824db73261e99f0cd9992c13427902c6 /pym/portage/tests/ebuild | |
parent | Remove last traces of Manifest1 code (diff) | |
download | portage-e1de82ebe6ef2dbaab7b56bcf2bb6ff75743a000.tar.gz portage-e1de82ebe6ef2dbaab7b56bcf2bb6ff75743a000.tar.bz2 portage-e1de82ebe6ef2dbaab7b56bcf2bb6ff75743a000.zip |
Make manifest-required-hashes configurable
The set of required hashes specify which hashes must be present for
a distfile not to be refetched. It makes little sense to hardcode this
value, and it is mostly useful for transition periods, so make it
configurable via layout.conf and default to all hashes
in manifest-hashes.
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'pym/portage/tests/ebuild')
-rw-r--r-- | pym/portage/tests/ebuild/test_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/tests/ebuild/test_config.py b/pym/portage/tests/ebuild/test_config.py index 1dd828538..dcb5ffe0d 100644 --- a/pym/portage/tests/ebuild/test_config.py +++ b/pym/portage/tests/ebuild/test_config.py @@ -228,6 +228,7 @@ class ConfigTestCase(TestCase): "profile-formats = pms", "thin-manifests = true", "manifest-hashes = SHA256 SHA512 WHIRLPOOL", + "manifest-required-hashes = SHA512", "# use implicit masters" ), } |