-
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
Make command-line tools accept minor I/O version numbers as well. #397
Comments
Hi currently I am working on this! |
@octonawish-akcodes, not exactly. The #394 needs to make the database tools accept a full I/O version where we specify the database schema (picking a corresponding one). This issue is about the tools which purely operate on I/O schema versions (not DB schema versions), like |
Removing @Biswajit-Behera from the assignees, as Outreachy's initial contribution period is now over. |
@spbnick what does it mean |
The schema documents the function of the major and minor version numbers. But in short, minor number increases signify backwards-compatible changes, and major number increases - backwards-incompatible. Check out the I/O schema versions in kcidb-io for more context.
Yep! Except we shouldn't require the
Currently we accept just a single integer signifying a version with the specified major number and the latest minor number. We also need to accept a complete specification of the version (both major and minor numbers). I don't think we need to require the |
We've added support for requesting a specific major I/O schema version to various tools, such as
kcidb-schema
,kcidb-validate
and so on, a while ago. That was done when we had separate objects for major versions only. Now we have separate objects for minor versions as well. Make the tool accept a version string as well (as handled bykcidb.misc.version()
argument type, e.g.v4.1
), and outputting the corresponding version of the I/O schema. However, make it still accept just the sole major version number and output the latest minor version with the specified major number (as it was done before). This would involve modifying thekcidb.misc.argparse_schema_add_args()
function.The text was updated successfully, but these errors were encountered: