Bug 461336

Summary: Doesn't detect repository duplication if part of URL is encoded
Product: [openSUSE] openSUSE 11.1 Reporter: Stephan Binner <stbinner>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2008-12-21 17:36:05 UTC
For the YaST repository manager the repositories URLs

  http://download.opensuse.org/repositories/openSUSE%3a/Tools/openSUSE_11.1

and

  http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1

are different repositories and it will not complain.
Comment 1 Ladislav Slezák 2009-01-09 06:48:39 UTC
Could you better specify the problem? In which situation it makes problems?

I don't see a problem with that. You can add even the same repository several times. Yast doesn't check or compare URLs.
Comment 2 Stephan Binner 2009-01-09 15:09:23 UTC
> Yast doesn't check or compare URLs.

Why not? Maybe I should file a bug report/feature about that then? :-)
Comment 3 Ladislav Slezák 2009-01-09 15:12:46 UTC
Uh, and why it should? It's completely user's responsibility which repositories he/she adds.
Comment 4 Stephan Binner 2009-01-09 15:44:59 UTC
Dupe detection for convenience? What does it help to have a repository duplicated?

Anyway, if no dupe detection exist then this bug report is void.
Comment 5 Ladislav Slezák 2009-01-09 16:01:21 UTC
Oh yes, convenience, might be...

Of course it's useless to have the same repo duplicated (using the same URL). 

But even if the URLs are different they may point to the same repo (e.g. there is a mirror). Comparing URLs is not sufficient, to find duplicates we would need some kind of UUID. IIRC there was already some discussion about that in the past...