Re: Moving existing ostree users to a new branch - take 2



On Wed, May 10, 2017, at 06:03 AM, Alexander Larsson wrote:

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.

Some discussion on this ensued in this ostree PR:
https://github.com/ostreedev/ostree/issues/487#issuecomment-300865803

Relevant flatpak commits:
https://github.com/flatpak/flatpak/commit/21778f1075e5ea834aeed4469cbfea723ef9ef8c
https://github.com/flatpak/flatpak/commit/7a4c82529ec42c961fce341adcc0d8ec9687058a

So...this requires a signed summary.  Which I've been trying to get away from =(
Anyways, leaving that aside then, it does seem to me that functionality like
this would be potentially quite useful for the ostree-as-host case as well, so it's
worth thinking about how this could live in libostree.

Brainstorming a bit though...how about attaching this metadata to commits instead?
They have GPG coverage, and I certainly want to encourage people to continue to
sign commits. 

A downside is that one would have to push a new commit for each ref, but
that doesn't seem too hard for people to manage.  The simplest would probably
just be to add the redirect metadata to *every* new commit published.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]