Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 245305

Summary: repoman should not allow to remove every ebuild and leave package directory
Product: Portage Development Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
URL: https://github.com/TomWij/gentoo-portage-next/tree/repoman-245305
Whiteboard:
Package list:
Runtime testing required: ---

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.