You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flatpak has the ability to mark certain repositories as "no-enumerate." Here is the setup on my machine:
$ flatpak remotes
Name Options
appcenter system
flathub system
freedesktop system,no-enumerate,filtered
appcenter user
flathub user,no-enumerate
Steps to Reproduce
To reproduce, install an app from FlatHub that requires dependencies. Flatpak will automatically add the flathub repository and therefore all of the apps from flathub will appear in AppCenter. This is something that most people sideloading flatpak apps probably want --- however, for users like me that are completely comfortable with manually sideloading flatpak apps, the settings of flatpak should be respected, so that the AppCenter only contains the elegant and curated apps from the elementary team.
Expected Behavior
From man 1 flatpak-remote-modify:
--no-enumerate
Mark the remote as not enumerated. This means the remote will not be used to list applications, for instance in graphical installation tools. It will also not be used for runtime dependency resolution (as with --no-use-for-deps).
With this setting enabled, as described, AppCenter should not list from this repository in the search listing or in the different category lists
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered:
Though, I really think adding to the UI isn't necessary if it respects the already present flatpak settings, and maybe those should actually live in the settings GUI at some point, but for now I think appcenter should just respect the existing flatpak configuration if present.
Here's a proposed solution for this, here's the prototype for it:
demo.mp4
And here's a quick breakdown and mockups:
Accessing Software Sources:
The user clicks on the settings icon, they can either use the shortcut Ctrl + S to go to the Software Sources section in the App Center, or click on the Software Sources list item to go there.
Viewing and Adding Sources:
A list of the third-party sources is shown. To add a source, the user would click the plus icon.
Adding a Source:
Opening up a modal to add a source, while adding, we can specify if we will enable or disable the no-enumerate option.
Editing a Source:
To edit a source, we click on it and choose the edit icon down below, or alternatively, we can also hold click on it to open the edit modal.
Editing Source Modal:
In the edit source modal, we can edit the source and the no-enumerate option as well.
Deleting a Source:
To delete a source, we can select a list item and then click the delete icon below.
By integrating these functionalities into the App Center, we ensure that users can easily control which repositories are enumerated and have control over the sources, enhancing their experience and maintaining the curated feel of the App Center.
I'd love to hear your thoughts or feedback on this!
What Happened?
Flatpak has the ability to mark certain repositories as "no-enumerate." Here is the setup on my machine:
Steps to Reproduce
To reproduce, install an app from FlatHub that requires dependencies. Flatpak will automatically add the flathub repository and therefore all of the apps from flathub will appear in AppCenter. This is something that most people sideloading flatpak apps probably want --- however, for users like me that are completely comfortable with manually sideloading flatpak apps, the settings of flatpak should be respected, so that the AppCenter only contains the elegant and curated apps from the elementary team.
Expected Behavior
From
man 1 flatpak-remote-modify
:--no-enumerate
Mark the remote as not enumerated. This means the remote will not be used to list applications, for instance in graphical installation tools. It will also not be used for runtime dependency resolution (as with --no-use-for-deps).
With this setting enabled, as described, AppCenter should not list from this repository in the search listing or in the different category lists
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: