[Spacewalk-list] errata question

Daniel Wittenberg dwittenberg2008 at gmail.com
Wed Dec 9 21:33:31 UTC 2009


I guess I'm wondering why we have to jump through hoops to get the
errata to sync.  When you add a channel why didn't RH just make it so
you can point at the higher level and get errata and everything.  It
just seems like if this were really supposed to be enterprise-level
software that it would handle something as simple as updates much easier
then what it seems we have to do for it to work.  The directory
structure is set, so you know os has the base level, updates has the
errata, etc. so doesn't seem like it would be that much harder to have
spacewalk server itself just handle all the updates when it syncs.

Dan

On Wed, 2009-12-09 at 11:10 +0000, David Nutter wrote: 
> On Tue, Dec 08, 2009 at 08:26:42PM -0600, Daniel Wittenberg wrote:
> > Wouldn't this whole errata management be easier if you could point it at
> > a repo and have it one level higher, so it could see the OS and the
> > updates, and just mirror those over itself?  It seems like this is way
> > more complicated then it needs to be and I'm not understanding why it's
> > done the way it is.
> 
> Are you asking for my script to parse a yum repository's metadata to
> retrieve NVREA values, or just "friendlier" behaviour for package_dir?
> 
> If the former, I suppose the script could do that but I suspect it
> would be rather more complex than querying an RPM. Since I have the
> RPMs on local disk anyway (for mock) it's not a priority for me.
> 
> If the latter, I could change the handling of package_dir so that it
> looks for RPMS in all subdirectories, though I can't any advantage in
> doing so. Packages in the "updates" repository are the only ones that
> get mentioned in CentOS-announce mailings so looking in other
> repositories seems pointless. That said, most of the machinery to do
> such looking is already in the development version of the script for
> supporting multiple architectures so I might just add it and see what
> happens.
> 
> Regards,
> 




More information about the Spacewalk-list mailing list