Bug 304659

Summary: Name isn't used for the Repo Alias for Manually added Repos
Product: [openSUSE] openSUSE 10.3 Reporter: Francis Giannaros <francis>
Component: InstallationAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Francis Giannaros 2007-08-25 15:38:36 UTC
On installation I selected for the Packman repository to be added (by manually entering the URL), I specified "packman" as the name, but after installation I find that the repository has been named "10.3". 

3 | Yes     | Yes     | rpm-md | 10.3  | http://packman.unixheads.com/suse/10.3

The name that the user assigns to the repository during install is the one that should be used, instead, I think.
Comment 1 Andreas Jaeger 2007-08-26 13:37:50 UTC
Francis, did you use zypper or yast2 inst_source for this?
Comment 2 Francis Giannaros 2007-08-26 13:45:40 UTC
The repository was added before the installation (with the new "Add Additional Media Before Installation" option), which is YaST I guess. 

I used zypper to display the repository information later though (as above). 
Comment 3 Katarina Machalkova 2007-08-27 08:47:18 UTC
YaST logs, please
Comment 4 Francis Giannaros 2007-08-27 09:19:33 UTC
Sure, http://francis.giannaros.org/files/y2logs.tgz
Comment 5 Katarina Machalkova 2007-08-27 11:58:41 UTC
Lukas, please check if repository names are saved correctly
Comment 6 Lukas Ocilka 2007-08-27 16:14:09 UTC
- Adjusting Add-On's name if set in SourceDialogs when adding it
  during installation and on a running system (#304659).
- yast2-add-on-2.15.13

`yast2 repositories` now correctly display the repository name set by user but zypper still displays '10.3' as a name.

Reassigning to jkupec because of the zypper's issue.
Comment 7 Jan Kupec 2007-08-28 17:01:23 UTC
fixed the repo list, i will check other occurrences of repo.alias() as well.
Comment 8 Jan Kupec 2007-08-28 17:12:30 UTC
On the second thought, zypper should display the alias (short version of 'name') in (most of) the text because it uses it in all repo handling commands. If name would be displayed, user would have to use zypper repos to get the alias of repo number before using some of the repo handling commands which require it. Also the alias as the short version of name is nicer in the zypper output.
Comment 9 Jan Kupec 2007-08-29 11:11:59 UTC
submitted to build service