-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cincinnati: define "payload" semantics #18
Comments
@bgilbert @arithx this is partially related to coreos/fedora-coreos-tracker#98 (comment), so your feedback would be welcome. The goal would be to have some room for future-proofing, in case we need to change what the client consider a "payload identifier". The feedback gathering is about 1) whether it's worth doing it 2) how that should be encoded in the Cincinnati graph. |
One note, this is just an That said, the idea of a scheme in the cincinnati data makes sense to me regardless. My strawman is just keeping the payload as the checksum, but in the metadata having:
? The |
I don't think the type prefix would actually change much. If we need to add a prefix later, we can do it without ambiguity; and doing so will break old clients whether we have a prefix or not. But if folks would prefer a prefix, there's little harm to it. I think the |
It mostly comes down to failure modes in old clients. E.g. with a |
That's fair. I don't have strong opinions here. |
Thanks all for the feedback. I'm going to wrap up, and follow @jlebon suggestions regarding metadata keys. Minor variation I'll have is to prefix our own metadata keys with |
Following up from @jlebon comment at #17 (comment).
Right now we plan to use the sha-checksum as "payload" field in cincinnati graph. However, rpm-ostree can understand multiple kinds of identifiers (current:
revision
andversion
), so it would be nice to have some kind of explicit scheme. This would help in removing update-graph ambiguities and in future-proofing it.Alternative approaches are:
=
, e.g.revision=...
The text was updated successfully, but these errors were encountered: