Files
flatpak/tests
Alexander Larsson 1ce0246b0d dir: Match pre-existing remotes better wrt collection-id
If you have a pre-existing remote configured its exact definition
might differ from the one specified in a flatpakrepo file and yet
be the same.

For example, i have:

$ flatpak --user remotes -d
Name      Title      URL                            Collection ID          Priority Options
flathub   Flathub    https://dl.flathub.org/repo/   org.flathub.Stable     1

Yet when i install a flatpakref:

$ flatpak --user install http://flathub.org/repo/appstream/org.gnome.gedit.flatpakref
The application org.gnome.gedit depends on runtimes from:
  https://dl.flathub.org/repo/
Configure this as new remote 'flathub-1' [y/n]:

Because the flathub flatpakrepo does not yet have the collection id specified.

So, we need to be more lenient when matching the pre-configured remotes.

Closes: #2324
Approved by: alexlarsson
2018-11-16 10:06:22 +00:00
..
2016-02-25 15:27:37 +01:00
2016-06-10 12:59:11 +02:00
2017-04-24 10:04:23 +02:00
2017-04-24 10:04:23 +02:00
2016-02-25 19:03:09 +01:00
2018-10-15 06:51:58 +00:00
2018-10-15 06:51:58 +00:00
2018-10-03 13:19:35 +00:00
2018-10-23 20:10:37 +00:00