Bug 264862

Summary: Make it possible to use variables in repository urls.
Product: [openSUSE] openSUSE 10.2 Reporter: Martin Jürgens <martin>
Component: YaST2Assignee: Klaus Kämpf <kkaempf>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: dimstar, lslezak
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Jürgens 2007-04-16 13:09:43 UTC
Most repository's URLs consist of the SuSE version, for example 

http://download.opensuse.org/distribution/10.2/repo/oss/

Lots of users add third party repositories and thus may like it to replace 10.2 with a variable which always changes to the installed SuSE version, for example $SUSEVERSION gives back 10.2. After upgrades to new SuSE versions, the user would not have to readd and / or change his third party repositories.

A URL would then look like 

http://download.opensuse.org/distribution/$SUSEVERSION/repo/oss/

This should also be integrated to zypper.
Comment 1 Ladislav Slezák 2007-04-23 08:58:19 UTC
It looks like a good idea but is it acceptable from security point of view? (i.e. you don't know exactly which packages/patches are used in the system). And what if you really want to use the old repo?


What about this approach:

Detect version string in the current urls and offer to re-register the sources during system update.

So users would know the current URL and for some reason they could still use the old repo it they do not accept the change (e.g. the repo is not available for the new version yet but it's still possible to use it (noarch packages...)).

Andreas, what you think about this feature request?
Comment 2 Dominique Leuenberger 2007-04-23 09:05:55 UTC
There was once a discussion on the ML (initiated by me) back in Sept 2006.

http://lists.opensuse.org/opensuse-factory/2006-09/msg00631.html

There might be some useful information about it, without thinking about it all again.

Comment 4 Klaus Kämpf 2007-05-07 12:49:47 UTC
To be considered in openSUSE 10.3 or later
Comment 5 Klaus Kämpf 2007-10-05 09:10:35 UTC
Revisit in preparation of Code11
Comment 6 Klaus Kämpf 2007-10-09 09:25:13 UTC
Fixed in 10.3