Re: [Yum-devel] Looking for help with a Yum plugin...

2009-07-17 Thread James Antill
On Thu, 2009-07-16 at 13:30 -0400, Douglas Kilpatrick wrote: > I'm trying to write a plugin to make it easier to manage packages on a > host. The basic idea is that each host has a per-host package that has > as it's requirements things I need the host to support. > >ie: >foo.oppositelo

Re: [Yum-devel] Looking for help with a Yum plugin...

2009-07-17 Thread Douglas Kilpatrick
I'm using the package name (if package name equals host name) to recognize that the package is special. So I can certainly recurse through it's requirements. I just don't see a downgrade() call in yum. Where should I look? what ver of yum? I'm looking at the code here and there is a downgra

Re: [Yum-devel] Looking for help with a Yum plugin...

2009-07-17 Thread Seth Vidal
On Fri, 17 Jul 2009, Douglas Kilpatrick wrote: Seth Vidal wrote: Now, yum will not automatically downgrade pkgs as a depresolving step - it's generally a bad idea anyway b/c it could very well mean downgrading into a security whole or walking to backward incompatible versions of things. No

Re: [Yum-devel] Looking for help with a Yum plugin...

2009-07-17 Thread Douglas Kilpatrick
Seth Vidal wrote: Now, yum will not automatically downgrade pkgs as a depresolving step - it's generally a bad idea anyway b/c it could very well mean downgrading into a security whole or walking to backward incompatible versions of things. No fun. In my experience in large systems, much more

Re: [Yum-devel] Looking for help with a Yum plugin...

2009-07-17 Thread Seth Vidal
On Thu, 16 Jul 2009, Douglas Kilpatrick wrote: I'm trying to write a plugin to make it easier to manage packages on a host. The basic idea is that each host has a per-host package that has as it's requirements things I need the host to support. ie: foo.oppositelock.org-1.0-.noarch.rpm