Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141843 - ebuild digest should have a --force option to discard existing digests
Summary: ebuild digest should have a --force option to discard existing digests
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244 142283
  Show dependency tree
 
Reported: 2006-07-26 18:40 UTC by Zac Medico
Modified: 2006-07-31 08:55 UTC (History)
1 user (show)

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 Zac Medico gentoo-dev 2006-07-26 18:40:46 UTC
Currently, existing distfiles digests are automatically assumed when local copies of the distfiles are not available in $DISTDIR.  The problem with behavior is that if the upstream distfiles change identity while keeping the same name, the user may be forced to manually remove both the Manifest and files/digest-$PF file in order to force the fetch and/or digest to occur correctly.  I propose that a --force option to be supported by the ebuild command in order to automate this process.  The --force option will simply remove the digests associated with the current ebuild (from both the Manifest and files/digest-$PF files) so that fetch and/or digest will ignore the previously existing distfiles digests.
Comment 1 Zac Medico gentoo-dev 2006-07-27 22:01:35 UTC
This is fixed in svn r4041.
Comment 2 Zac Medico gentoo-dev 2006-07-28 11:11:25 UTC
This has been released in 2.1.1_pre4.
Comment 3 Zac Medico gentoo-dev 2006-07-31 08:55:54 UTC
This is in svn r4060 for 2.1-r2.