-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use versioning and tag versions within repository #20
Comments
@ryanchristo i think this makes sense, because then we would know which schema we expect to validate successfully against a given piece of metadata. given a piece of remote metadata you know which schema must be applied to it by this version number. and you have the ability to find the schema corresponding to this version number. so we would add a field named something like i.e. using
|
Yea, independent tags for each might be a bit much to manage although I could see a case where a field is changed the project schema and then the version would need to be bumped for the class and batch as well. Maybe best to start simple though.
I was thinking git tags when I wrote this, which would allow for linking to a specific version and then the main branch would always be the latest (i.e. the development branch). This would ensure a schema is not changed after the fact and reduce clutter but if you think we should version each directory, that works too. |
Summary
It would be nice if each schema had a regen registry standard version specified within the schema and versions were tagged within the repository so that specific version could be referenced.
This may require retroactively tagging a version initially used for classes and batches (a version that does not include the regen registry standard version within the schemas and which was previously used for metadata on Regen Ledger).
This would also require finalizing the class, project, and batch schemas that will be used with any new classes, projects, and batches (including adding a regen registry standard version), and then tagging a new version.
Using versions will allow projects to choose a specific version and migrate to a new version when a new version is finalized. Currently we are using the latest changes and would like to commit to using an explicit version knowing we may need to update to a new version in the future and that we would make changes when a new version has been finalized.
The text was updated successfully, but these errors were encountered: