[Yum-devel] Defining other repository types in yum
Jack Neely
jjneely at pams.ncsu.edu
Tue Mar 21 19:23:37 UTC 2006
On Mon, Mar 20, 2006 at 03:32:38PM -0500, seth vidal wrote:
> On Mon, 2006-03-20 at 15:06 -0500, James Bowes wrote:
> > Hi all:
> >
> > I'm one of the engineers working on Red Hat Network; we've been looking
> > at yum as a basis for future development work. As a proof-of-concept,
> > we have a modified yum interacting with RHN through a plugin.
> >
> > The plugin contains RHN specific Repository, PackageSack, and
> > Package objects. To get these to work, we had to make some changes
> > to yum proper.
> >
> > Following this email I'm going to send a series of four patches. These
> > encompass our work on yum so far, and have allowed us to build a plugin
> > that allows yum to speak to an RHN server.
> >
>
> cool.
>
I've briefly looked over these patches but not tested. Definitely cool.
Especially since this is what I would be working on right now if work
wasn't so insane. You've followed the direction of our previous
discussions and I think made parts of the code that I was frustrated
with work a lot better. (If only I could actually spend the time on
this kind of stuff...)
While I do not think that Seth should be supporting other repository
types I very much like this framework and am very excited about letting
others be able to plugin new repo types. Especially RHN as I'm about to
strangle me some up2date. I'd definitely like to see this in head.
>
> > Some things that we might be looking at down the road, and that we'd
> > like to work with you all on integrating into yum are:
> >
> > * Token based authentication - Beyond just a username and password,
> > we'd like to be able to use arbitrary tickets or credentials to
> > authenticate with the server.
>
> if you're thinking kerberos tickets then wouldn't it make more sense to:
>
> - put it into urllib inside python and then have it inherit its way up
> through urlgrabber and into yum?
>
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)
Kerberos tickets should be supported via HTTP GSSAPI.
>
>
> > * Broader SSL support - Particularly, we'd like to have yum be able to
> > check with a CA (in our case, just a local certificate) to ensure
> > that the host is who it says it is.
>
> ditto of above - why not make it possible for urllib to handle this
> sanely and bubble it up through urlgrabber?
>
Please oh please in urllib....
>
> >
> > Anyways, let me know what you think about these ideas and the
> > forthcoming patches.
>
> thanks
> -sv
>
Coolness,
Jack
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
--
Jack Neely <jjneely at ncsu.edu>
Campus Linux Services Project Lead
PAMS Computer Operations at NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89
More information about the Yum-devel
mailing list