Bug 232522

Summary: Sources Shown with Weird Number IDs in Versions Tab
Product: [openSUSE] openSUSE 10.2 Reporter: Rebecca Walter <rwalter>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, kkaempf, ma, ro
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screen shot: versions view with inst source URL

Description Rebecca Walter 2007-01-08 13:22:20 UTC
When trying to pick a package off a certain source, you have to guess because the sources are listed with weird numbers in the versions tab.  The inst source filter doesn't help because only URLs or names are listed there.

So how am I supposed to know if I'm really installing the packages that I need off a certain repository or versions from some other mysterious source? I'd have to know the exact RPM version, which isn't always feasible.
Comment 1 Stefan Hundhammer 2007-01-08 13:25:04 UTC
We should at least provide the URL.
Comment 2 Rebecca Walter 2007-01-08 13:54:00 UTC
URLs would make me very happy.
Comment 3 Stefan Hundhammer 2007-01-08 13:57:55 UTC
Currently, that versions view uses zypp::Product::summary(). Those summaries never seem to contain anything meaningful. Those numbers that get displayed may be useful for the CD makers, but for sure it doesn't mean anything to the end user. The way it is now is unsatisfactory if you have any more than one installation source. You don't even know what packages you'll get from the update server, rather than from the CD or DVD.

As an end user, I'd like to see something like "openSUSE 10.2 download version" or "openSUSE update server", not "4711-0815".

Klaus, Rudi, how are the products' fields defined, and how are they actually used?
Comment 4 Klaus Kämpf 2007-01-08 14:21:52 UTC
The product and the repository are not related.

A repository can carry multiple products, a product might be available through multiple repositories.

The current 1:1 interpretation of product:repository is a bug/hack since neither 'YaST-type' (on CD or DVD) nor 'repomd-type' repositories support a repository name.

For the YaST-type this is acceptable since a CD/DVD usually contains a single product.
There are recent (not yet in libzypp) extensions to the repomd standard which allow to name a repository.

(IIRC this 'bug' is already covered in FATE)
Comment 5 Stefan Hundhammer 2007-01-08 14:35:00 UTC
That's why the UI has a function "singleProduct()" that searches an installation source for products. Only if it contains exactly one product, this one is returned, and that's what you see in that view.

It's a pragmatic approach. But it turns out that it works in all real-life use cases. But the content of those products are not really giving very much useful information.

I'd happily display useful information about the repository itself if only there were any. But so far I couldn't find anything that might mean anything to the end user.
Comment 6 Rebecca Walter 2007-01-08 16:16:58 UTC
The product issue does not give me any reason why my installation sources are identified by unidentifiable numeric gibberish in the package manager.  I would like to know on what _SOURCE_ the different versions are available.  Why is this gibberish used instead of something human-readable?  I entered human-readable information about the source when I created it. Why can't I see that instead?
Comment 7 Stefan Hundhammer 2007-01-30 16:48:47 UTC
For now I added the installation source URL. It's not much, but at least it is some giveaway where each version comes from.
Comment 8 Stefan Hundhammer 2007-01-30 16:49:40 UTC
Created attachment 116305 [details]
Screen shot: versions view with inst source URL
Comment 9 Rebecca Walter 2007-01-31 06:40:12 UTC
I consider this a significant improvement.  Thank you!