Skip to content

4.x: Fix version fetch #328

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

Merged
merged 1 commit into from
Aug 27, 2024
Merged

4.x: Fix version fetch #328

merged 1 commit into from
Aug 27, 2024

Conversation

dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Aug 25, 2024

ci/version_fetch.py used alphabetical sorting, which leads to version 5.1.13 to be behind of 5.1.2
This PR fixes this issue and starts using argparse to parse attributes.
It also introduce --version-index option if you want to get single version from the list.

version_fetch used alphabetical sorting, which leads to version `5.1.13`
to be behind of `5.1.2`
This commit fixes this issue and itroduce argparse to parse attributes.
It also introduce `--version-index` option if you want to get single version from the list.
@dkropachev dkropachev changed the base branch from 4.x to scylla-4.x August 25, 2024 20:54
@dkropachev dkropachev requested a review from Bouncheck August 25, 2024 20:55
@dkropachev dkropachev self-assigned this Aug 25, 2024
@roydahan
Copy link
Collaborator

In general, LGTM.
We have something similar in SCT under version_utils.
When we have simple versions, can't we use simple ready to use python packages like version-comparison?

@dkropachev dkropachev added this pull request to the merge queue Aug 27, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Aug 27, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@dkropachev dkropachev added this pull request to the merge queue Aug 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Aug 27, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@dkropachev dkropachev merged commit fde2514 into scylla-4.x Aug 27, 2024
10 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