mattmc3 / antidote

https://getantidote.github.io - the cure to slow zsh plugin management
MIT License
850 stars 21 forks source link

Pin a specific commit of a plugin #1

Open mattmc3 opened 2 years ago

mattmc3 commented 2 years ago

Per https://github.com/getantibody/antibody/issues/386:

Is it possible to pin a specific commit of a plugin in case of breaking changes?

obvionaoe commented 3 months ago

Are there any blockers to this feature being implemented? I'd like to help, if possible

mattmc3 commented 3 months ago

No blockers - I've always thought of it as a pretty easy feature. I haven't done it yet because there hasn't been a lot of interest in it before now, and I just need some volunteers to test it.

My take on implementing the feature is this:

Any other relevant features you'd like me to consider as part of this feature?

obvionaoe commented 3 months ago

Adding a layer that could convert tags to commit SHAs, as I have a few plugins that I version using tags. I'd make it so that the pin annotation would support pin:SHA|TAG