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

flatlpak list needs to show everything #505

Closed
cmurf opened this issue Jan 21, 2017 · 3 comments
Closed

flatlpak list needs to show everything #505

cmurf opened this issue Jan 21, 2017 · 3 comments

Comments

@cmurf
Copy link

cmurf commented Jan 21, 2017

Please make 'flatpak list' completely non-filtered. It should show runtimes and apps, for system and users, rather than silently assuming some kind of filtering (i.e. not showing the runtimes). Format the results so I can understand if these are runtimes or apps, and if they're system or user installed.

@cmurf
Copy link
Author

cmurf commented Jan 21, 2017

Here's another annoying example
[chris@f25h ~]$ flatpak remote-list
gnome-apps
gnome-nightly-apps
[chris@f25h ~]$ flatpak remote-list --user
gnome
nightly-graphics
org.libreoffice.LibreOffice-origin
org.mozilla.FirefoxDevEdition-origin
[chris@f25h ~]$

OK so --system and --user is implied for 'flatpak list' but for 'flatpak remote-list' only --system is implied. That's inconsistent and super confusing. Please stop making assumptions about what people want filtered. Filtering needs to be explicit, not implicit.

@cmurf
Copy link
Author

cmurf commented Jan 21, 2017

OK and now even more nonsense with remote-ls which assumes --system also.

[chris@f25h ~]$ flatpak remote-ls gnome
error: Remote "gnome" not found
[chris@f25h ~]$ flatpak remote-ls --user gnome
org.freedesktop.BasePlatform
org.freedesktop.BaseSdk
org.freedesktop.Platform
org.freedesktop.Platform.Locale
org.freedesktop.Platform.Var
org.freedesktop.Sdk
org.freedesktop.Sdk.Debug
org.freedesktop.Sdk.Locale
org.gnome.Platform
org.gnome.Platform.Locale
org.gnome.Sdk
org.gnome.Sdk.Debug
org.gnome.Sdk.Locale
[chris@f25h ~]$

gnome is system installed, it should just know this and list the contents of that remote without requiring me to know I need to use --user to list its contents. This is a maze...

alexlarsson added a commit that referenced this issue Jan 26, 2017
This makes more sense and seems what people expect, as per:
#490
#505
@alexlarsson
Copy link
Member

I changed it for list, and i agree that was wrong. However, for the remote options I don't agree, every operation other than run and list work on a specific installation, as they need to know where you're going to modify things. For instance, you could have a "gnome" remote both in the system and the user installation, so remote-ls needs to know which one to list.

The one thing we might want to lists both is remote-list i guess, I can see that listing the remote names + whethere they are system or user, and from there you can then do e.g. remote-ls --user remote-name.

alexlarsson added a commit that referenced this issue Jan 26, 2017
This makes it easier to know all that is available in a single
operation. We also show for each remote if it is user
or system.

See #505
matthiasclasen pushed a commit to matthiasclasen/flatpak that referenced this issue Feb 21, 2017
This makes more sense and seems what people expect, as per:
flatpak#490
flatpak#505
matthiasclasen pushed a commit to matthiasclasen/flatpak that referenced this issue Feb 21, 2017
This makes it easier to know all that is available in a single
operation. We also show for each remote if it is user
or system.

See flatpak#505
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants