cookiecutter-science-project
cookiecutter-science-project copied to clipboard
Saving 'locked' environment file via git commit hook?
I am looking for a way to make sure that each commit of a repository has the most recent 'locked' environment file attached to it. I was thinking that it might be possible to have a git hook, which spits out the current conda configuration as a file each time the repo is commited (or maybe just before it is released?)
How would we check if the environment the user has activated is actually the correct one? I guess checking the name against the name in the template would be a good start?