Skip to content

Move the version string into a central JSON file #2582

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 7 commits into from
Sep 19, 2022
Merged

Conversation

tobim
Copy link
Member

@tobim tobim commented Sep 17, 2022

CMake is not the only tool that is interested in the version string, so we move it into a format that is widely supported.
Note that the value of vast-version-fallback is not prefixed with 'v', because it is easier to add where needed than to remove when undesired.

In order to allow this change, the minimum required CMake version is bumped from 3.18 to 3.19.

📝 Reviewer Checklist

Review this pull request by ensuring the following items:

  • All user-facing changes have changelog entries
  • User-facing changes are reflected on vast.io

Version 3.24 is available for Debian bullseye, so we don't need
to get it with pip.
We also do this now in the Dockerfile in preparation of bumping
the minimum beyond 3.18.
@tobim tobim added maintenance Tasks for keeping up the infrastructure enhancement labels Sep 17, 2022
@tobim tobim force-pushed the topic/version-json branch from 7580288 to 72fd64b Compare September 18, 2022 11:47
@dominiklohmann
Copy link
Member

@tobim I'm fine with the idea generally. Can you re-request the review once all the CI workflows ran through, or should I be taking a look at this now already?

@dominiklohmann dominiklohmann removed their request for review September 18, 2022 16:11
Some tools might be interested in that data and scraping it from
CMake code isn't the greatest approach.
@tobim tobim force-pushed the topic/version-json branch from 72fd64b to 879f065 Compare September 18, 2022 18:26
@tobim
Copy link
Member Author

tobim commented Sep 19, 2022

CI is green now.

Copy link
Member

@dominiklohmann dominiklohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Liking this in general, just some smaller questions.

@tobim tobim enabled auto-merge September 19, 2022 16:21
@tobim tobim disabled auto-merge September 19, 2022 18:18
@tobim tobim enabled auto-merge September 19, 2022 19:07
@tobim tobim merged commit e12a67d into master Sep 19, 2022
@tobim tobim deleted the topic/version-json branch September 19, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Tasks for keeping up the infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants