Friday, July 02, 2010

» Shorter .repo URLs

A few days ago, I blogged about using for shorter package repository URLs, including passing e.g. to zypper ar -r to add a repository. Turned out it didn't work, because zypper wouldn't follow the redirect. So I rewrote that part by handing over such URLs to a CGI script that reverse proxies the .repo file from (it fetches the proper .repo URL and passes the result to zypper). To cut the long story short, this stuff actually works now :): zypper ar -r

Labels: , ,


Blogger Peter said...

Did you file a bug against zypper? Not handling redirects seems broken.

Anonymous Anonymous said...

I dont see the advantage.
The url is more cryptic, it is not really short and i dont know, if i could trust the server

why not integrating a default server in zypper itself and just call

zypper ar KDE:/KDE4:/Community/openSUSE_11.3/

instead of

zypper ar


Blogger Loki said...

I personally find it extremely useful, because those links contain a lot less boilerplate. And because I'm lazy :D

If you don't like it, don't use it ;)


Post a Comment

<< Home