Bug 298035 - Progress callbacks should report repository name instead of alias
Summary: Progress callbacks should report repository name instead of alias
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Alpha 7
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Duncan Mac-Vicar
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-07 10:34 UTC by Ladislav Slezák
Modified: 2007-08-10 19:09 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Slezák 2007-08-07 10:34:17 UTC
E.g. "Reading repository 'http://download.suse.com/update/10.2/' cache" there should be used the name of the repository.

Name should be displayed to user, alias is rather internal identification IIRC...
Comment 1 Duncan Mac-Vicar 2007-08-08 21:38:48 UTC
progress.name(str::form(_("Reading repository '%s' cache"), info.alias().c_str()));

I think the problem is that somebody is giving the repo an url as an alias isn't it?
Comment 2 Ladislav Slezák 2007-08-09 05:28:31 UTC
No, the code should use info.name() instead of info.alias().
Comment 3 Duncan Mac-Vicar 2007-08-10 16:06:00 UTC
fixed svn
Comment 4 Jan Kupec 2007-08-10 19:09:18 UTC
We should document this somewhere, so that we don't forget again what we have agreed to. I've forgotten :O) (and i must adapt zypper).

Submitted in libzypp 3.14.0.