Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   Feature request: package.use.stable.mask and package.use.stable.force (http://www.linux-archive.org/gentoo-development/660090-feature-request-package-use-stable-mask-package-use-stable-force.html)

"Andreas K. Huettel" 04-26-2012 10:03 PM

Feature request: package.use.stable.mask and package.use.stable.force
 
Dear all,

I'd like to suggest we introduce the following very useful feature, as soon as
possible (which likely means in the next EAPI?):

* two new files in profile directories supported, package.use.stable.mask and
package.use.stable.force
* syntax is identical to package.use.mask and package.use.force
* meaning is identical to package.use.mask and package.use.force, except that
the resulting rules are ONLY applied iff a stable keyword is in use

Rationale: Often single features are "not ready for production yet", but the
remaining package with that feature disabled would be a perfect candidate for
stabilization. Right now this can be solved by
* masking the useflag, which then makes the feature inaccessible even for
~arch
* masking the useflag for exactly one package revision, which is hell to
maintain
* or introducing different package revisions with/without the useflag, which
is also a mess.

Where this would (have been|be) useful:
* we had for a long time different revisions of subversion with/without kde
useflag
* cups-1.4 had the infamous libusb backend triggered by USE=usb
* cups-1.5 has optional systemd support via a systemd useflag, which pulls in
non-stabilized systemd as dependency...

Cheers,
Andreas

--

Andreas K. Huettel
Gentoo Linux developer
dilfridge@gentoo.org
http://www.akhuettel.de/


All times are GMT. The time now is 12:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.