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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org