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

Improve support four-digit version on 'inmanta module release' command #7521

Closed
arnaudsjs opened this issue Apr 16, 2024 · 0 comments
Closed
Assignees
Labels
process This ticket is about improving the development process or reducing technical depth support Customer support ticket

Comments

@arnaudsjs
Copy link
Contributor

arnaudsjs commented Apr 16, 2024

The inmanta module release command performs a patch-level version bump right after applying the git tag. But some modules use four-digit version numbers in general. This ticket should make sure that the inmanta module release command has support to bump to a four digit version number after a release.

Proposal: Make this configurable in the module metadata file (setup.cfg -> inmanta.module.ModuleV2Metadata)

@arnaudsjs arnaudsjs added support Customer support ticket process This ticket is about improving the development process or reducing technical depth labels Apr 16, 2024
@FloLey FloLey self-assigned this Apr 16, 2024
@FloLey FloLey closed this as completed Apr 24, 2024
inmantaci pushed a commit that referenced this issue Apr 24, 2024
…mmand. If the 'use_four_digit' is set to 'True' in the module's metadata, the version will be bumped to a 4 digit format after a release. (Issue #7521, PR #7527)

# Description

The inmanta module release command performs a patch-level version bump right after applying the git tag. But some modules use four-digit version numbers in general. This ticket should make sure that the inmanta module release command has support to bump to a four digit version number after a release.
Make this configurable in the module metadata file (setup.cfg -> inmanta.module.ModuleV2Metadata)

closes #7521

# Self Check:

Strike through any lines that are not applicable (`~~line~~`) then check the box

- [x] Attached issue to pull request
- [x] Changelog entry
- [x] Type annotations are present
- [x] Code is clear and sufficiently documented
- [x] No (preventable) type errors (check using make mypy or make mypy-diff)
- [x] Sufficient test cases (reproduces the bug/tests the requested feature)
- [x] Correct, in line with design
- [ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
- [ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see [test-fixes](https://internal.inmanta.com/development/core/tasks/build-master.html#test-fixes) for more info)
inmantaci pushed a commit that referenced this issue Apr 24, 2024
…mmand. If the 'use_four_digit' is set to 'True' in the module's metadata, the version will be bumped to a 4 digit format after a release. (Issue #7521, PR #7527)

# Description

The inmanta module release command performs a patch-level version bump right after applying the git tag. But some modules use four-digit version numbers in general. This ticket should make sure that the inmanta module release command has support to bump to a four digit version number after a release.
Make this configurable in the module metadata file (setup.cfg -> inmanta.module.ModuleV2Metadata)

closes #7521

# Self Check:

Strike through any lines that are not applicable (`~~line~~`) then check the box

- [x] Attached issue to pull request
- [x] Changelog entry
- [x] Type annotations are present
- [x] Code is clear and sufficiently documented
- [x] No (preventable) type errors (check using make mypy or make mypy-diff)
- [x] Sufficient test cases (reproduces the bug/tests the requested feature)
- [x] Correct, in line with design
- [ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
- [ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see [test-fixes](https://internal.inmanta.com/development/core/tasks/build-master.html#test-fixes) for more info)
inmantaci pushed a commit that referenced this issue Apr 24, 2024
…mmand. If the 'use_four_digit' is set to 'True' in the module's metadata, the version will be bumped to a 4 digit format after a release. (Issue #7521, PR #7527)

Pull request opened by the merge tool on behalf of #7527
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process This ticket is about improving the development process or reducing technical depth support Customer support ticket
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants