Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
Re: [zypp-devel] [PROPOSAL] mirror list, url variables
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Mon, 11 Jun 2007 16:46:50 +0200
  • Message-id: <200706111646.50864.visnov@xxxxxxx>
Dňa Po 11. Jún 2007 16:31 Duncan Mac-Vicar Prett napísal:
> Reference:
> http://lists.opensuse.org/zypp-devel/2007-06/msg00006.html
>
> In order to implement url variables, and mirror list, which I don't
> consideer features but semantics we have to implement to "follow" the
> repoinfo standard, I would like to propose a way to implement url variables
> and a simple way to extend them.
>
> - mirrorlist: easy, we just need to download the list in repomanager and
> read the urls when refreshing the source or downloading packages.

How will the mirrorlist handled from application POV? Will a user be able to 
pick it manually, or do we assume automatic (fallback) handling only?

>
> - url variables: easy, we do substitution inside repomanager before
> downloading data.
>
> - url variables "plugins": -> provide the basc ones built-in (arch,
> releasever, etc)
> -> in zypp.conf
> [url-variables]
> foo=/somescript.sh
>
> or by convention (just drop a script in /etc/zypp/urlvars/foo )

I expect the location to be root-writeable only ;-) This might be a big 
security hole if done improperly.

Stano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups