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



On Sat, May 13, 2017, at 08:04 AM, Matthias Clasen wrote:

The use case in which this has come up for flatpak so far is changes in the repository hosting. For example, Alex put up a repo for recipes early on, but then I made my own, so I wouldn't have to bother him with builds. And now, I'm moving recipes to flathub.  I don't want to leave my users stranded during those repository migrations.

Right, that's a repository redirection, not a *ref* change (or a GPG key change, right?).  Something that could be equally well handled by plain old HTTP 301 redirects.  We could potentially change the client to honor HTTP 301 and actually change the repo URL.

But that aside, I'm more asking about *ref* changes, since if there aren't any production use cases for changing refs,
we could add a binding.

I guess a potential ref change scenario is renaming a flatpak app.  That's much more likely to happen
for flatpaks than it would be for ostree-for-host scenario.  Has that come up yet?
Perhaps we could generalize the "ref commit binding" model to support more than one ref.



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