On Wednesday 06 June 2007 07:57:36 Michael E Brown wrote:
Repeat question from yesterday since I got no response:
http://en.wikipedia.org/wiki/Time_zone
1) How do I set up a repomd (yum) format repository that is set up using "mirrorlist=URL" in yum?
This is not supported in released versions, altough this is exactly what is being developed.
2) How can I do variable substitution in a URL? I want to set up a repomd repository (using mirrorlist function above) with a URL like: mirrorlist=http://some.domain.com/repo/path/mirror.pl?osver=$releasever&osn ame=sles Where "$releasever" is automatically replaced with the OS version.
You can't. Mirror list is not supported. And also variable substitution. You can get the mirror list effect at the server level (configuring apache). Just like software.opensuse.org works.
3) How can I write a plugin to add (two) new variables in the substitution process? I want to set up repositories that are specific to dell system models and have a server-side cgi redirect the client to the correct repo based on the system model. Something like:
You can't. I think it is the first time we get feedback like this, that can actually be used to improve things. The problem implementing these standards is that finding documentation is really hard. So basically we need to standarize. And you can help with that. What variables are already allowed?
mirrorlist=http://domain.com/repo/mirrors.pl?vendor=0x1028&model=0x0152&osn ame=sles&osver=$releasever
What is model? What variables do you need appart of the ones YUM already provides (which I also don't know)
Any pointers would be greatly appreciated. I would like to write something that works with opensuse and sles.
Cheers Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org