[pacman-dev] [PATCH] New Rg option
shiningxc at gmail.com
Tue Sep 18 08:11:13 EDT 2007
On Tue, Sep 18, 2007 at 02:00:24PM +0200, Nagy Gabor wrote:
> > +1 on making -g work both for -S and -R.
> > However, why don't we do the following for backwards compatability:
> > 1. pacman -S grppkg: look for a package named grppkg, then group
> > 2. pacman -Sg grppkg: look for a group named grppkg (and ignore a
> > package if there is one)
> > 3. pacman -R grppkg: only remove a package named grppkg (I don't think
> > group removal is used enough to warrant keeping backwards compat)
> > 4. pacman -Rg grppkg: remove a group named grppkg
> IMHO that would be a bit confusing. And differentiate between group and package
> install would help to keep the code clean.
Which part exactly is confusing?
> > This gives us a small issue when it comes to the current behavior of
> > -Sg, however, that I have yet to figure out. Anyone know a good way to
> > somehow keep the ability to list the contents of current groups and
> > implement the above? Patches welcome. :)
> -Sig and -Sigg?
I wonder if I don't prefer Romashka's proposal.
-Slg could list all groups, and -Slg grp could list the contents of the grp
More information about the pacman-dev