Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707334 - Ebuild manifest should checksum only what it was asked to checksum on the command line
Summary: Ebuild manifest should checksum only what it was asked to checksum on the com...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-29 23:03 UTC by Fedja Beader
Modified: 2022-10-20 02:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fedja Beader 2020-01-29 23:03:10 UTC
$(ebuild something.ebuild manifest) should intuitively re-compute checksums (and change Manifest) only for something.ebuild and not require to download anything if the checksums for all listed files are already present in Manifest.


FEATURES=assume-digests alludes to this possibility, but $(FEATURES=assume-digests ebuild something.ebuild manifest) still attempts to re-download everything.
Comment 1 Fedja Beader 2020-01-29 23:03:52 UTC
Note:

I have seeded cat/something with files and Manifest from the portage tree. The ebuild was not modified.
Comment 2 Zac Medico gentoo-dev 2020-01-30 00:25:47 UTC
You can configure manifest-required-hashes in metadata/layout.conf, since this commit:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=e1de82ebe6ef2dbaab7b56bcf2bb6ff75743a000

Digests for those hashes must be present for all files in order to avoid download.

We don't want to generate a Manifest unless a digest for each of manifest-required-hashes is present, otherwise we'd have an incomplete Manifest.