-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/28/2013 07:58 AM, Jaroslav Reznik wrote:
> = Features/YumGroupsAsObjects = 
> https://fedoraproject.org/wiki/Features/YumGroupsAsObjects
> 
> Feature owner(s): James Antill <ja...@fedoraproject.org>
> 
> Change the default yum configuration from group_command=compat to 
> group_command=objects.
> 
> == Detailed description == Currently yum groups work as a simple
> substitution, so "yum group remove foo" works as though you took
> every package from foo and passed it to "yum remove". This tends to
> not be what users expect, for example "yum group install kde- 
> desktop" and then "yum group remove kde-desktop" will end up
> removing packages (like abrt-desktop). This feature changes that so
> that groups are installed as real objects, meaning that when a user
> does "yum group install foo" yum will mark that the packages from
> foo are being installed (as before) but also that a group called
> foo is being installed and that those packages are installed 
> because of it. Later if the group is removed, yum will remove the
> group and only those packages that were installed because of the
> group install/upgrade commands.


This doesn't really seem like the optimal solution here. It seems to
me that it might be a better solution that you note which "groups"
were installed and then at 'yum group remove foo' you remove any
packages in it that are not ALSO owned by other installed groups. That
seems less prone to issues if you uninstall groups that have shared
packages in anything other than reverse order of installation.

Of course, after that we also have the issue of leaf nodes. Perhaps we
should ignore any packages that are dependencies of other installed
software too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEGe3UACgkQeiVVYja6o6NeogCgr9TQCsphEULjy/T5y0w60Xey
pnEAnRWraTj98ohKpRZ9al0ZgcG/Qf5h
=bOtK
-----END PGP SIGNATURE-----
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to