-
Notifications
You must be signed in to change notification settings - Fork 275
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
Metadata Attribute research: version #1418
Comments
My initial comments on those 6 steps:
|
@jku comments
the core concerns are handling invalid data from the network, making sure our data is spec-compliant, and ease of use:
Additionally, on this sentence shared by me:
@jku commented: This is not the way: don't try to prevent someone from abusing the API. It's impossible. |
@sechkova commented addressing my sentences above: Given that bump_version exists, why should we provide a public setter for the version property? I commented back that:
@sechkova response was: But we are talking internal calls inside the classes here. |
@joshuagl commented on the quoted sentence shared by me: If we're adding a setter for version, does it make sense to not only ensure it's > 0 but also that it's >= the current value? I answered:
|
All of the participants in this discussion discussed this again and decided we won't make additional changes for |
In issue theupdateframework#1418 in this comment: theupdateframework#1418 (comment) I summarized the discussion we had with the participants in this issue. In summary: no additional changes are needed for "version" validation considering there is "bump_version()" function for that. If we won't be adding "version" validation elsewhere we can keep it the way it is. Signed-off-by: Martin Vrachev <[email protected]>
In issue theupdateframework#1418 in this comment: theupdateframework#1418 (comment) I summarized the discussion we had with the participants in this issue. In summary: no additional changes are needed for "version" validation considering there is "bump_version()" function for that. If we won't be adding "version" validation elsewhere we can keep it the way it is. Signed-off-by: Martin Vrachev <[email protected]>
In issue theupdateframework#1418 in this comment: theupdateframework#1418 (comment) I summarized the discussion we had with the participants in this issue. In summary: no additional changes are needed for "version" validation considering there is "bump_version()" function for that. If we won't be adding "version" validation elsewhere we can keep it the way it is. Signed-off-by: Martin Vrachev <[email protected]>
This issue aims to document thoughts about the
version
attribute from theSigned
class in orderto understand how we use that attribute, what might go wrong with it and how we can validate it.
We want to answer/address the following 6 questions/points based on my comment here:
PS: The 7-th point is covered by documenting this issue.
The text was updated successfully, but these errors were encountered: