Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v2] Make manifest-required-hashes configurable
Date: Tue, 07 Nov 2017 20:41:41
Message-Id: 6971cbd4-c4a2-e5e6-026e-ab49fd4d718a@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2] Make manifest-required-hashes configurable by "Michał Górny"
1 On 11/07/2017 12:31 PM, Michał Górny wrote:
2 > The set of required hashes specify which hashes must be present for
3 > a distfile not to be refetched. It makes little sense to hardcode this
4 > value, and it is mostly useful for transition periods, so make it
5 > configurable via layout.conf and default to all hashes
6 > in manifest-hashes.
7 > ---
8 > man/portage.5 | 13 +++++++---
9 > pym/portage/_emirrordist/FetchTask.py | 2 +-
10 > pym/portage/const.py | 2 +-
11 > pym/portage/manifest.py | 26 +++++++++++++-------
12 > pym/portage/package/ebuild/digestgen.py | 4 ++--
13 > pym/portage/repository/config.py | 42 ++++++++++++++++++++++++++-------
14 > pym/portage/tests/ebuild/test_config.py | 1 +
15 > repoman/pym/repoman/repos.py | 14 +++++++----
16 > 8 files changed, 74 insertions(+), 30 deletions(-)
17
18 Looks good, please merge.
19 --
20 Thanks,
21 Zac