Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332571 - Add support for wildcards on emerge --unmerge and emerge --depclean
Summary: Add support for wildcards on emerge --unmerge and emerge --depclean
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2010-08-13 07:56 UTC by Jonathan Callen (RETIRED)
Modified: 2011-02-05 08:47 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 Jonathan Callen (RETIRED) gentoo-dev 2010-08-13 07:56:09 UTC
It would be nice if the --unmerge and --depclean commands would accept wildcards (in versions of portage that allow wildcards in other places).  This would allow cleanly removing most of kde with just a single `emerge -ac 'kde-base/*'`, instead of using qlist, etc. to list the installed packages and then passing that list to portage. (The equivalent of that using qlist would be `emerge -ac $(qlist -ICSL kde-base/)`, so long as that fit within the maximum command line length.)
Comment 1 Sebastian Luther (few) 2010-08-13 22:35:07 UTC
(In reply to comment #0)
> [...] cleanly removing most of kde with just a single `emerge -ac
> 'kde-base/*'` [...].

'Cleanly' and 'most' sound a bit contradictorily for me. I'm not sure if we really want this. Sounds more like hacking around another problem. Lack of sets maybe?
Comment 2 Sebastian Luther (few) 2011-01-28 20:59:16 UTC
This is fixed in git:

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

I changed my mind as people are constantly struggling with those qlist hacks.
Comment 3 Zac Medico gentoo-dev 2011-02-05 08:47:55 UTC
This is fixed in 2.1.9.36 and 2.2.0_alpha20.