Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software repositories show 0 applications installed #13

Open
pabloyoyoista opened this issue Nov 30, 2021 · 5 comments
Open

Software repositories show 0 applications installed #13

pabloyoyoista opened this issue Nov 30, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@pabloyoyoista
Copy link
Collaborator

The software repositories list shows all the software repositories, but the switch next to it is disabled. For each of the repos, it says: "0 applications installed". Looking at the code in gnome software, it looks like for apps to be detected as to belong to a repository, they have to be in the "related" section.

gs_app_add_related(repo, app);

I believe this was never working, so this is just a tracking issue.

@Cogitri
Copy link
Owner

Cogitri commented Dec 2, 2021

Hm, the switch did work for me with GS-38 I think, but if we can fix it with GS-40 we should use gs_app_add_related.

@pabloyoyoista
Copy link
Collaborator Author

Yes, the switches also work for me in GS-38, although the feeling is that as they do not have any apps, toggling the switches is a noop. Maybe should be a follow-up issue.

@pabloyoyoista
Copy link
Collaborator Author

It looks like there are some additional functions related to the repositories that were added in GNOME 41: install, remove, enable and disable repo. I guess there are lots of chances that this is the reason for the visual regression (toggles not being switchable).

Still, as toggling the switches didn't really change anything before, at least this is not a functional regression, I believe.

@Cogitri
Copy link
Owner

Cogitri commented Dec 13, 2021

Toggling the switches did remove the repository from /etc/apk/repositories, but I doubt anyone actually used that since it’s not very useful.

@pabloyoyoista
Copy link
Collaborator Author

Well, I guess then I'll try to figure this out as a priority. Better not to introduce new bugs on upgrade :)

@pabloyoyoista pabloyoyoista changed the title Software repositories disabled and no applications detected Software repositories show 0 applications installed May 5, 2022
@pabloyoyoista pabloyoyoista added the enhancement New feature or request label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants