-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add hook to verify RAPIDS version isn't hard-coded #13
base: main
Are you sure you want to change the base?
Add hook to verify RAPIDS version isn't hard-coded #13
Conversation
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 rapids_metadata_template
piece is new to me. Is that documented somewhere?
Where would be a good place to write documentation on this? |
A new page here about pre-commit hooks, perhaps? https://docs.rapids.ai/resources That source code is here: https://github.com/rapidsai/docs/tree/main/resources @ajschmidt8 may have thoughts about this, since there is some work in progress on the website. |
I'm not sure if I understand the implementation. What are the contents of this file? Where does it go? It looks like we would be maintaining two files, like |
Yes, that's correct. This is one idea for how to enforce not hard-coding the RAPIDS version. I agree it's not ideal, and I'm open to suggestions for alternatives. |
I thought a bit about ways to centralize this information, so we don't have to maintain a bunch of template files (which I think introduces a confusing abstraction layer and breaks the normal development flow). I've used bumpversion before, which has a centralized configuration file that lists the files containing a version string and the current version (so it knows what string to replace). (Note: the original project is no longer maintained, but the |
No description provided.