Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: [PATCH] man/portage.5: document -* in profile "packages" files (bug 610670)
Date: Sun, 28 May 2017 05:35:02
Message-Id: CAMiTYSqTg7Z90Dvua7F0M40+GihG9chQmFoWeWw039vLOTzA1Q@mail.gmail.com
In Reply to: [gentoo-portage-dev] Re: [PATCH] man/portage.5: document -* in profile "packages" files (bug 610670) by Martin Vaeth
1 On Sat, May 27, 2017 at 10:20 PM, Martin Vaeth <martin@×××××.de> wrote:
2
3 > Zac Medico <zmedico@g.o> wrote:
4 > > The -* wildcard has been supported since portage-2.3.4, but it was
5 > > not explicitly documented.
6 >
7 > Shouldn't this be -** to remove all _system_ packages?
8 > Or does -* really mean to remove only _profile_ packages?
9 > Or does -* remove all profile _and_ system packages?
10 >
11
12 The -* affects both, because -* is implemented in the
13 portage.util.stack_lists function which does not differentiate between
14 tokens that begin with * and those that do not.
15
16 I don't think we need a -** token. What do you think?
17 --
18 Thanks,
19 Zac

Replies