Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402197 - enhancing wildcard support
Summary: enhancing wildcard support
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 353649 555572 423075 437872
  Show dependency tree
 
Reported: 2012-02-04 19:59 UTC by Julian Ospald
Modified: 2015-07-21 21:10 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 Julian Ospald 2012-02-04 19:59:03 UTC
usecase: disabling FEATURE "buildpkg" for all live-builds

/etc/portage/env/nobuildpkg: FEATURES="-buildpkg"
/etc/portage/package.env: =*/*-9999 nobuildpkg

atm "=*/*-9999" is an invalid atom

This would also enable one to simply unlock all live-builds via package.accept_keywords. I can think of a few more usecases...

Reproducible: Always
Comment 1 Alexander Berntsen (RETIRED) gentoo-dev 2012-07-18 16:09:01 UTC
Usecase: using experimental branch perl on stable branch

*perl*/* ~amd64

*perl*/* is an invalid atom

Reproducable: Always
Comment 2 Zac Medico gentoo-dev 2012-07-18 17:40:29 UTC
(In reply to comment #0)
> usecase: disabling FEATURE "buildpkg" for all live-builds
> 
> /etc/portage/env/nobuildpkg: FEATURES="-buildpkg"
> /etc/portage/package.env: =*/*-9999 nobuildpkg
> 
> atm "=*/*-9999" is an invalid atom
> 
> This would also enable one to simply unlock all live-builds via
> package.accept_keywords. I can think of a few more usecases...

Yes, maybe be something like glep 54 would be nicer, but being able to match *9999* would be good enough.

(In reply to comment #1)
> *perl*/* is an invalid atom

Really? I've tested *perl*/* in package.accept_keywords and it works for me.
Comment 3 Zac Medico gentoo-dev 2012-07-18 19:59:08 UTC
This is fixed in git:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=3e84557b91b43ea6924bbab8a3d477509513cac8

Use =*/*-*9999* to mask *9999* packages. It only works with *digits* patterns.
Comment 4 Zac Medico gentoo-dev 2012-07-18 22:56:50 UTC
This is fixed in 2.1.11.9 and 2.2.0_alpha120.
Comment 5 Alexander Berntsen (RETIRED) gentoo-dev 2012-07-25 09:55:48 UTC
(In reply to comment #2)
> Really? I've tested *perl*/* in package.accept_keywords and it works for me.

OK. I was on Portage 2.11.8. thanks for the fix.