After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737514 - gnome-software doesn't list sources, says "No sources found."
gnome-software doesn't list sources, says "No sources found."
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
: 735751 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-09-28 09:35 UTC by Branko Grubic (bitlord)
Modified: 2015-03-25 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sources dialog: Improve the error when no sources are found (4.59 KB, patch)
2014-10-05 22:36 UTC, Kalev Lember
none Details | Review
sources dialog: Improve the error when no sources are found (6.37 KB, patch)
2014-10-05 23:14 UTC, Kalev Lember
committed Details | Review

Description Branko Grubic (bitlord) 2014-09-28 09:35:14 UTC
Gnome-Software application mostly look ok when you open it, it also automatically check for updates and notify the user (I use yum... so it showed updates available after I already installed them (I understand this is normal... in some cases ...) refresh worked fine, then shows that system is up-to-date, software is listed/searchable inside the application, so I assume it "connects" to the PackageKit ...
But when you try to go to app-menu > Software Sources, it says "No sources found." I tried to look for existing bug report on rh bugzilla and here, but I wasn't able to find any related, so I filed new report.

I'm using fedora 21 with latest updates, 3.14.0 ...
gnome-software-3.14.0-1.fc21.x86_64
Comment 1 Kalev Lember 2014-09-28 09:56:11 UTC
"No sources found." is not very helpful indeed. Looks like it's just a placeholder for an unimplemented design -- we should be showing https://github.com/gnome-design-team/gnome-mockups/blob/master/software/version2/software-source-dialog-no-sources.png instead.

This should make it much clearer that the dialog is for editing _additional_ sources and that it being empty is not a bug when only the base distro repos are enabled.
Comment 2 Michael Catanzaro 2014-09-28 14:28:00 UTC
*** Bug 735751 has been marked as a duplicate of this bug. ***
Comment 3 Kalev Lember 2014-10-05 22:36:11 UTC
Created attachment 287785 [details] [review]
sources dialog: Improve the error when no sources are found
Comment 4 Kalev Lember 2014-10-05 22:39:28 UTC
Attaching the patch here until after we branch for 3.16. Suggestions welcome how to phrase the text when we don't have access to the <distro> name.

screenshot: https://kalev.fedorapeople.org/gnome-software-software-sources-no-sources.png
Comment 5 Kalev Lember 2014-10-05 23:14:11 UTC
It turned out /etc/os-release parsing was quite easy. Attaching another version that does that and figures out the currently running OS name.
Comment 6 Kalev Lember 2014-10-05 23:14:38 UTC
Created attachment 287786 [details] [review]
sources dialog: Improve the error when no sources are found
Comment 7 Rafal Luzynski 2014-10-06 23:37:19 UTC
What about telling the truth, i.e., listing *all* sources including the core ones but disabling the user from removing the core sources? I agree with bitlord that it's surprising that we can install, upgrade and remove software but we have no sources and I guess this was what he meant.
Comment 8 Michael Catanzaro 2014-10-07 00:39:26 UTC
That would be an OK solution too, but I think the mockup's approach is the best. We have a really fine line to walk between allowing third-party software sources and giving them the same status as system sources, and not presenting system sources in this dialog helps us stay on the "third-party sources are inherently different" side of the line.
Comment 9 Rafal Luzynski 2014-10-07 07:44:49 UTC
I don't mean to give the third-party sources the same status as the system sources because the system sources should be non-removable. On the other hand, if you browse the details of a single application you have "Source: Fedora" (or whatever is your distro) but if you check a list of the sources there is no such source.
Comment 10 Matthias Clasen 2015-03-22 20:47:33 UTC
Looks like this fell through the cracks :-(
Comment 11 Kalev Lember 2015-03-25 20:39:13 UTC
Indeed, this totally fell through the cracks. Luckily we've just branched for 3.16, so it was a good time to push this.

Attachment 287786 [details] pushed as e2f50b5 - sources dialog: Improve the error when no sources are found