Open kristofkessler opened 2 years ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @AnderEnder @alxgu @andytom @commel @dcermak @evrardjp @lrupp @sealor @toabctl click here for bot help
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
Summary
I want to add more than one baseurl to a repository configuration to have a fallback repository-url in case the first one fails.
This SUSE Knowledgebase entry describes what I want to accomplish: https://www.suse.com/support/kb/doc/?id=000019926
I tried:
which results in:
The blank space between the urls is url encoded, which makes sense as only one url is expected in repo and could be necessary in other url cases. So at the moment I can only do this via workarounds and replace %20 with a blank by looping through the repo configuration files.
Issue Type
Feature Idea
Component Name
community.general.zypper_repository
Additional Information
Would it be possible to add a feature in which repo can either hold a string or an array of strings. If it has an array of strings, then for each of the strings a line with "baseurl = repo_url" is written into the repo configuration file?
It could work like this:
defining a zypper repository with repo containing an array of strings:
resulting
/etc/zypp/repos.d/openSUSE-Leap-15.3-Devel-Tools-Building.repo
Code of Conduct