Skip to content
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

plumbing: package python versions #277

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

supakeen
Copy link
Member

Adds the dynamic versioning scheme supported by our build system; also adds a new -V/--version to the root otk command.

Let's start preparing a bit for actual releases of `otk`, initially we
can start with dynamic version numbers coming directly from our git
tags.

Signed-off-by: Simon de Vlieger <[email protected]>
Use the installed package's metadata to query the current version or
unknown.

Signed-off-by: Simon de Vlieger <[email protected]>
Implement a `-V/--version` option to the root command. Note that this
changes the behaviour on using `otk` without a subcommand given.

To have `otk -V` work the subcommand needs to be made optional so the
root entrypoint has been changed to print usage if no subcommand was
given.

This means that the test for the parser without a subcommand also gets
dropped as the behavior is no longer an error case.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen supakeen added this pull request to the merge queue Oct 17, 2024
Merged via the queue into osbuild:main with commit bd40475 Oct 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants