Skip to content

Show update-able apps/runtimes but dont download or install#985

Merged
alexlarsson merged 3 commits intoflatpak:masterfrom
handsome-feng:remote-list-updates
Sep 4, 2017
Merged

Show update-able apps/runtimes but dont download or install#985
alexlarsson merged 3 commits intoflatpak:masterfrom
handsome-feng:remote-list-updates

Conversation

@handsome-feng
Copy link
Copy Markdown
Contributor

close #729

@rh-atomic-bot
Copy link
Copy Markdown

Can one of the admins verify this patch?
I understand the following commands:

  • bot, add author to whitelist
  • bot, test pull request
  • bot, test pull request once

flatpak_table_printer_set_column_title (printer, 1, _("Commit"));
flatpak_table_printer_set_column_title (printer, 2, _("Installed size"));
flatpak_table_printer_set_column_title (printer, 3, _("Download size"));
flatpak_table_printer_set_column_title (printer, 1, _("Origin"));
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't show the origin column if a remote was specified.

g_autofree char *alt_arch_ref = g_strconcat (parts[0], "/", parts[1], "/", arches[0], "/", parts[3], NULL);
if (g_hash_table_lookup (refs, alt_arch_ref))
continue;
if (g_hash_table_lookup (names, name) == NULL)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will cause problems if the same ref are in multiple remotes. For instance, the gnome runtimes are both in the gnome repo and the flathub repo.

@QazCetelic
Copy link
Copy Markdown

It seems like flatpak remote-ls --updates doesn't work when any package doesn't have a summary. Is this intended behavior?

@Ari-43
Copy link
Copy Markdown

Ari-43 commented Nov 13, 2025

It seems like flatpak remote-ls --updates doesn't work when any package doesn't have a summary. Is this intended behavior?

flatpak remote-ls --updates --all may provide the functionality you want.

@QazCetelic
Copy link
Copy Markdown

That also fails with the error message

error: Unable to load summary from remote hello-origin: Remote listing for hello-origin not available; server has no summary file. Check the URL passed to remote-add was valid.

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

Successfully merging this pull request may close these issues.

[CLI] Show update-able apps/runtimes but dont download or install

5 participants