[Yum-devel] Re: restful yum

Alan Milligan alan at balclutha.org
Sun Dec 4 02:42:43 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seth Vidal wrote:


> Does that start to make any sense or am going down the wrong track and
> what can we get out of this?


Hmmm,

I don't think this makes sense.  If you attempt a PUT or DELETE on our
web server, you'll be sent to an authorisation dialogue unless you're
one of our maintainers!

I also think that having different responses to GET and POST is
illogical.  These methods are to do with the structure of request
payloads, and that they'd affect the response is nasty side-effect
programming to my mind.

These methods are also used widely to implement other protocols such as
FTP and WebDAV - they are already in use in our web services environment
(Zope).

I'd much prefer this stuff to be implemented explicitly in the url eg
http://someurl/channel/pkg-1.00.i386.rpm/xml_view or even
http://someurl/channel/pkg-1.00.i386.rpm.xml

You might note that we dynamically generate all of our
yum/up2date/red-carpet content for the channels on
https://linux.last-bastion.net/RPC2/up2date - there is marginal
distiction between this being application/octet-stream, html, xml or
anything else.  It would be trivial for us to implement this, however, I
think there are better protocols to use ie RSS.

I also do not really see how sending information to our repo server will
 manage the sack on your yum client - but maybe I'm missing something too.

Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDklejCfroLk4EZpkRAmhsAKDVnTqL9cWdlXqV0lNEfO3N33uO5wCgqfbx
czUHgqDvksOjo4AbcUNW93M=
=Cjy6
-----END PGP SIGNATURE-----



More information about the Yum-devel mailing list