-
Notifications
You must be signed in to change notification settings - Fork 56
How should we handle metadata that has the same version but different content? #114
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
Comments
…pdate the metadata files The client workflow has a set of version comparisons rules for how to update metadata files. Not all metadata files should be treated equal and the following PR address that. Fixes theupdateframework#207 and is related to theupdateframework#114. Signed-off-by: Radoslav Dimitrov <[email protected]>
The client workflow has a set of version comparisons rules for how to update metadata files. The following PR addresses the differences coming from the fact that when updating not all metadata files should be treated equally. Fixes theupdateframework#207 and is related to theupdateframework#114. Signed-off-by: Radoslav Dimitrov <[email protected]>
The client workflow has a set of version comparison rules for how to update metadata files. The following PR addresses the differences coming from the fact that when updating not all metadata files should be treated equally. Fixes theupdateframework#207 and is related to theupdateframework#114 Signed-off-by: Radoslav Dimitrov <[email protected]>
* Update metadata version comparison rules in client workflow The client workflow has a set of version comparison rules for how to update metadata files. The following PR addresses the differences coming from the fact that when updating not all metadata files should be treated equally. Fixes #207 and is related to #114 Signed-off-by: Radoslav Dimitrov <[email protected]> * Bump date and version to 1.0.29 Signed-off-by: Radoslav Dimitrov <[email protected]> * Address what happens in case of equal metadata versions for client update Signed-off-by: Radoslav Dimitrov <[email protected]> * Update VERSION and Date Co-authored-by: Joshua Lock <[email protected]>
I don't think we can close this yet. Erick does raise some interesting questions. Now, it's not clear to me why a correct repository would do this, but a buggy/compromised/malicious one might. To me, the safest option is for clients to fail the update process, and buggy/compromised repositories can take action to recover so that clients can update again. Erick, WDYT? |
The spec is a little vague as to how we should handle updating metadata that shares the same version number as the trusted metadata, but has different content. We can encounter this situation in two cases:
I can think of a few possible ways we could extend the spec to cover these situations:
The text was updated successfully, but these errors were encountered: