jandamm/zgenom

Pin to a commit

musjj opened this issue · 3 comments

musjj commented

It'd be useful if we can pin plugins to a specific commit. I had some plugins break because of an update and I now have no way to pin or rollback to a working commit.

Yes, that's currently not possible.
It's possible to specify a branch or tag but not a commit.

Currently zgenom only clones the last commit (--depth=1) of the specified branch. So simply checking out the commit after cloning wouldn't work.
Also updating the plugin must be prevented.

I'll add it as a feature idea to my to do list but it's not as trivial as one might think.