-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Hide apps from the Ubuntu repos #1492
Conversation
This is obviously a good thing in the long term, but should it be done before releasing a new version of |
The more efficient way to do this would be to ensure that those appstream components are never loaded into the pool in the first place, so we don't have to iterate over however many thousand components and do a string comparison. I think this patch (against master) achieves that but I haven't had chance to test it thoroughly:
The other thing we almost certainly want to do here is guard this with a meson option so Pop!_OS can easily disable this downstream, and other distros (where this will be less portable) can choose to disable it too. |
…ry/appcenter into hide-apps-from-the-ubuntu-repos
@davidmhewitt thanks for looking into this and providing a solution. I have modified my implementation based on your suggestion and guarded it with a meson option. |
It looks like this branch breaks the "More apps from…" footer at the bottom; at least in this branch, I no longer see apps from the same app developer, even when they are from Flathub. |
Yeah, I wonder why 😆 appcenter/src/Core/FlatpakBackend.vala Lines 369 to 371 in 0222a48
|
Closes #1432
Before
After
Implementation
Most simple way to hide apps from Ubuntu repos based on
appcenter/src/Core/Package.vala
Lines 333 to 343 in ea7f524