Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
[zypp-devel] [PROPOSAL] mirror list, url variables
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Mon, 11 Jun 2007 16:31:40 +0200
  • Message-id: <200706111631.40442.dmacvicar@xxxxxxx>

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.

- 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 )

What do you think?

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

< Previous Next >