-
Notifications
You must be signed in to change notification settings - Fork 228
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
Porch: Move Resource Version Annotation to different file #4017
Comments
That could be OK. One question though - could you use When using the Porch APIs, resource version is just the standard metadata field in the resource. When we do a In order to fix this, The annotation method was just chosen as a convenience; we could instead put it in a Your contributions are welcome here. As mentioned, you would just need to change the
|
I agree with @johnbelamaric here. If using |
@mortent / @johnbelamaric I would like to take up this change and move the annotation to a different file say KptRevisionMetaData which we can use further to add any revision specific data. Let me know your thoughts / concerns |
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: #4017
Pr is merged, so closing the issue. |
The newly added file can be used for storing all the metadata going forward It is added and removed from the client side and will not be present in porch Please refer this for more info: kptdev#4017
As part of our upgrade process to v0.0.20, we observed that a new field resource-version annotation is added to Kptfile which captures the source commit id to handle concurrency issues.
Before this change all the attributes in the Kptfile were Package level attributes and now we have introduced PackageRevision specific attribute which is only available when we pull the PackageRevision.
When using the previous version we used to copy all the files from our base package which include the Kptfile and modify the setters file as per our need. With the latest change we cannot copy the Kptfile directly as that will override the resource-version annotation and throw an error while pushing the PackageRevision. Hence it is changing the previous experience we have and introducing some more steps in between.
So can we store the resource-version into a different file (say KptRevisionFile), so that we can have the same experience.
The text was updated successfully, but these errors were encountered: