Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245305 - repoman should not allow to remove every ebuild and leave package directory
Summary: repoman should not allow to remove every ebuild and leave package directory
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL: https://github.com/TomWij/gentoo-port...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-02 18:50 UTC by Petteri Räty (RETIRED)
Modified: 2017-03-16 00: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 Petteri Räty (RETIRED) gentoo-dev 2008-11-02 18:50:58 UTC
betelgeuse@pena /usr/portage/kde-base $ ls plasma
ChangeLog  CVS/  files/  Manifest  metadata.xml

If a dev tries to rm all the ebuilds repoman should not allow it.

Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo i686)
Comment 1 Ulrich Müller gentoo-dev 2017-03-01 11:23:01 UTC
Technically, a package directory without ebuilds is valid:

"A package directory contains the following: Zero or more ebuilds. [...]"
https://projects.gentoo.org/pms/6/pms.html#x1-340004.3

IIRC, the Perl team has a legitimate usage case for that.