Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245592 - repoman: reject DIST entries with 0 byte size
Summary: repoman: reject DIST entries with 0 byte size
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 21:36 UTC by SpanKY
Modified: 2008-11-04 21:42 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 SpanKY gentoo-dev 2008-11-04 21:36:32 UTC
we shouldnt be sticking files in SRC_URI that are 0 bytes in size which means no entry in Manifest should have a DIST line which is 0 bytes in size.  this also prevents semi-common bugs where a dev has a file in $DISTDIR which is 0 bytes and repoman rebuilds the manifest for it.

like here:
http://sources.gentoo.org/net-libs/gnutls/Manifest?r1=1.231&r2=1.232
Comment 1 Zac Medico gentoo-dev 2008-11-04 21:42:02 UTC
(In reply to comment #0)
> http://sources.gentoo.org/net-libs/gnutls/Manifest?r1=1.231&r2=1.232

This should already be fixed in 2.2_rc13 (above commit was with 2.2_rc12). The new behavior is to force fetch and bail out if the file can't be fetched.