[Yum-devel] Defining other repository types in yum

seth vidal skvidal at linux.duke.edu
Tue Mar 21 21:57:30 UTC 2006


> I believe what we are looking for here is arbitrary HTTP 1.1 headers.
> Specifically, the X-RHN-* headers and checksum.  My thinking is that the
> plugin interface should expose a method to add header, value pairs to
> the ulrgrabber object which is pretty easy to do anyway.  The arbitrary
> headers for plugins to use will be handy for other projects besides just
> communicating with RHN.  (Although probably the first to use them.)
> 
>     self.urlgrabber = urlgrabber.grabber.URLGrabber(http_headers=t)

except that we'd need it for all the instances. It might make more sense
to add it into self.repos so it can force the propagation of this info
into the repositories configured.

or, if it is not needed for all repos push it in via a specific repo
object.

-sv





More information about the Yum-devel mailing list