diff options
author | Richard Hughes <richard@hughsie.com> | 2016-06-07 16:28:32 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-06-08 18:02:57 +0100 |
commit | 25d942831dba7d44c4044e960da7bc04dce58f17 (patch) | |
tree | baa94e98d7cc7bbca06d18bc9d51dba65e7a9de0 /data/tests/flatpak_remote-name.xml | |
parent | 960a6d9d22d6f7756093ffdb5fa46c1b588991e3 (diff) | |
download | appstream-glib-25d942831dba7d44c4044e960da7bc04dce58f17.tar.gz |
Allow setting the id prefix and origin using a symlink file name
The idea is to encode the scope and user-specified origin in the filename as
flatpak remotes have metadata with the filename `appstream.xml.gz` that have
origin harcoded to 'flatpak'.
We can't set a custom origin when generating the metadata as the remote name
is set client side and can be any string the user chooses.
It's also expected that something like gnome-software will keep the symlink
cache up to date. I'm using ~/.local/share/app-info/xmls at the moment, but if
we decide that the data is actually gnome-software specific then it can move.
Diffstat (limited to 'data/tests/flatpak_remote-name.xml')
l--------- | data/tests/flatpak_remote-name.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/tests/flatpak_remote-name.xml b/data/tests/flatpak_remote-name.xml new file mode 120000 index 0000000..ce18932 --- /dev/null +++ b/data/tests/flatpak_remote-name.xml @@ -0,0 +1 @@ +appstream.xml
\ No newline at end of file |