Bug 596950

Summary: Don't use spaces in repo names and aliases
Product: [openSUSE] openSUSE 11.2 Reporter: Michal Svec <msvec>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P3 - Medium CC: locilka, lslezak, ma
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Svec 2010-04-15 14:49:13 UTC
By default the installation repo includes a space:
 7  | openSUSE 11.2-0 | openSUSE 11.2-0       | No      | No      | cd:///

This way one always needs to use "" to work with this repo,
it's unnecessary inconvenience, just use '-' like with all
the other automatically added repos (openSUSE-11.2-Debug).
Comment 4 Michael Andres 2010-04-16 10:09:37 UTC
@Ladislav: So it looks like pkg-bindings define to use 'openSUSE 11.2-0' (embeded space) as an alias. Please use a '-'.


(Note: The only restriction on an alias is that it must not start with a '.')
Comment 5 Michal Svec 2010-07-22 13:29:50 UTC
So, for 11.3 it's even worse:
  - main repo name and alias still contains space: "openSUSE-11.3 11.3-1.82"
  - update repo name and alias is this: "Aktualizace pro openSUSE 11.3 11.3-1.82"

It's really horrible to write in zypper, one simply has to paste it.
I would vote for using repo-install and repo-updates aliases.
Comment 6 Ladislav Slezák 2010-09-30 18:16:24 UTC
The problem is that there might be more products (and update repos) available  and the aliases must be unique so "repo-install" and "repo-updates" cannot be simply used.

My quick and simple fix is to replace " " -> "-" in aliases.

Fixed in yast2-installation-2.20.0 and yast2-pkg-bindings-2.20.1 (FACTORY, openSUSE-11.4-M3)

HTH :-)
Comment 7 Bernhard Wiedemann 2016-04-15 11:37:43 UTC
This is an autogenerated message for OBS integration:
This bug (596950) was mentioned in
https://build.opensuse.org/request/show/49592 Factory / yast2-pkg-bindings
https://build.opensuse.org/request/show/49593 Factory / yast2-installation