[oops, thought I already had sent this but just found it in my drafts folder]
----- "Bill Nottingham" notting@redhat.com wrote:
Well... attached is a prototype of a yum plugin to do this sort of stuff.
Great - thanks. I was actually going to write something very similar for yum-utils for F11 to allow automatic installing of langpacks, etc, for when installing packages.
My idea was to use meta-packages for that though. So if you have have say the "japanese-support" metapackage installed and then go to install openoffice it would pull in the Japanese lang pack for you automatically. I agree with Rex that it needs to support more than just langpacks. Eg installing kde should pull in ibus-qt if you are using ibus for example, but I think that could be done. There was also a request for such support for emacs support subpackages, which might work both ways (ie either when installing emacs and/or the program the subpackage is supporting (eg emacs-git)).
So how about including this in yum-utils?
Jens
Jens Petersen (petersen@redhat.com) said:
So how about including this in yum-utils?
The metadata that this uses would need to be defined and added somewhere first - hardcoding it in the plugin works for a proof-of-concept, but isn't the way we want to go long-term.
Bill
Le Jeu 22 janvier 2009 01:14, Bill Nottingham a écrit :
Jens Petersen (petersen@redhat.com) said:
So how about including this in yum-utils?
The metadata that this uses would need to be defined and added somewhere first - hardcoding it in the plugin works for a proof-of-concept, but isn't the way we want to go long-term.
BTW if someone works on this kind of stuff it would be great if compat packages could declare "I am a compat package, I will go away mid-term" so that tools (rpmbuild, yum, pk...) could warn when someone makes an operation involving those packages (adding a (build)dep on it, etc).