Bug 410074

Summary: yast should set short repo aliases, not urls
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User nqeDWc8OMK <forgotten_nqeDWc8OMK>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User nqeDWc8OMK 2008-07-17 17:28:16 UTC
zypper let the user to refresh a repository by alias, yast software repositories doesn't offer the function to set/modify the alias of a repository.
Comment 1 Ladislav Slezák 2008-07-23 11:42:42 UTC
Yes, there is some inconsistency between yast and zypper. Yast doesn't use alias at all, it uses repository name.
Comment 2 Jan Kupec 2008-07-23 12:14:45 UTC
Sergio, the alias is completely useless for yast users, so it's completely hidden from the user interface. It could be hidden in zypper, too, but it is handy in zypper as a comfortable way to indentify the repository. I don't think it makes sense to add a possibility to edit it from yast. 'zypper nr' does it. If you agree, please close this bug as INVALID.
Comment 3 Jan Kupec 2008-07-23 12:16:05 UTC
maybe it is the kind of aliases which yast creates bothering you? :O) Me too. I don't know what is the current situation though...
Comment 4 Forgotten User nqeDWc8OMK 2008-07-23 12:37:58 UTC
(In reply to comment #3 from Ján Kupec)
> maybe it is the kind of aliases which yast creates bothering you? :O) Me too. I
> don't know what is the current situation though...
> 

Exactly. Most of them are the repo urls.
If you don't want to make the alias visible/editable on yast, I'm ok with it, but at least, it would be good that the alias created by yast be the same as the name. So it is not needed to change every alias by hand using zypper.
Comment 5 Jan Kupec 2008-07-23 13:11:45 UTC
yes, the intention is to set sane aliases by yast. It should already be done in most places, but obviously there are still some code doing the bad thing around. We just need to find them.

Can you recall how you added the repos with the urls as aliases?
Comment 6 Forgotten User nqeDWc8OMK 2008-07-23 14:40:35 UTC
(In reply to comment #5 from Ján Kupec)
> Can you recall how you added the repos with the urls as aliases?

 
Using the 'Specify URL' option under repository management.
It asks for 'Name' and 'URL'.
Comment 7 Ladislav Slezák 2008-07-23 14:51:24 UTC
So it seems to be a duplicate of bug #395363

*** This bug has been marked as a duplicate of bug 395363 ***