[Yum-devel] [PATCH 4/4] Changed behavior of group update to only update packages already installed.

James Antill james at fedoraproject.org
Thu Jun 9 13:28:32 UTC 2011


On Wed, 2011-06-08 at 15:23 -0400, seth vidal wrote:
> On Wed, 2011-06-08 at 15:01 -0400, Nick Jacek wrote:
> > ---
> >  cli.py          |    4 ++--
> >  docs/yum.8      |    8 ++++----
> >  yum/__init__.py |   21 ++++++++++++++-------
> >  3 files changed, 20 insertions(+), 13 deletions(-)
> > 
> 
> Hi Nick, 
> 
> welcome and thanks for the patches.
>  
> I'm not in love with this change, though.

 Obviously this was my idea, so I take the blame :)

> I know some folks use groupupdate to update the group - which means
> install any pkg which is not currently installed and update the rest:
> 
> http://fedoraproject.org/wiki/YumUpgradeFaq#5._Make_sure_Fedora_is_upgraded 
> 
> as a major example of it's use.

 This still does the same thing, although we'd want to change the above
docs. longer term.

> Also making:
> 
> yum group update != yum groupupdate
> 
> is going to be a nightmare to document and explain.

 Well the patch just doesn't document the old behaviour of
"groupupddate" and just documents what "group update" does.

> since there is likely to be a good-sized change to how groups work in
> general in the future - as the objects change  - postpone the behavior
> changes until then and make the split out of the groups subcommand
> maintain the same naming/behavior.

 Yeh, we can leave it ... I'd just wanted a decent way to "update @core"
without having to reinstall sendmail etc.



More information about the Yum-devel mailing list