-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support unique plugin versions for Nix and Docker #1799
Conversation
When Git is unavailable, passing `-DVAST_PLUGIN_<plugin>_REVISION=<revision>` allows for having unique plugin versions. This is required for the Nix and Docker builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to the docker file and CMake look fine to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[This review is only for the last commit]
There still seems to be a bug in the git rev-list
invocation, or I misunderstood the usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that while this works, one of the remaining deficiencies is that plugin directory name does not necessarily equal plugin target name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this locally and it works now as expected.
📔 Description
This PR adds the necessary scaffolding to support the new plugin versioning from #1764 for Nix and Docker.
📝 Checklist
🎯 Review Instructions
To be taken over by @tobim for the Nix fixups and the changelog entry, then to be reviewed commit-by-commit.