Re: Moving existing ostree users to a new branch - take 2
- From: Alexander Larsson <alexl redhat com>
- To: Daniel Drake <drake endlessm com>
- Cc: ostree-list gnome org, "richard hughsie com" <richard hughsie com>
- Subject: Re: Moving existing ostree users to a new branch - take 2
- Date: Wed, 10 May 2017 12:03:03 +0200
On Fri, 2017-05-05 at 13:09 +0200, Alexander Larsson wrote:
Back to the whole-repo move. Flatpak already has support for updating
some remote metadata semi-automatically. We store metadata fields
called "xa.title" and "xa.default-branch" in the global metadata dict
in the summary, and when you initially add the remote, and when you
do
"flatpak remote-modify --update-metadata" this is updated, mirrored
in
similarily named config options in the remote. (xa. is from the old
xdg-app name.)
Flatpak master now supports this. It looks for xa.redirect-url and
xa.gpg-keys and updates these in the local client automatically
whenever you run flatpak update of flatpak install.
gnome-software and similar need to add strategical calls to
flatpak_installation_update_remote_sync() regularly to get the same
feature.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's an all-American umbrella-wielding inventor in a wheelchair. She's a
sarcastic red-headed wrestler living homeless in New York's sewers. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]