woohoo, git module.
I didn’t teach it to do anything about switching to different branches, so right now it mostly requires that you specify the following
three parameters:
dest – where to check things out as an absolute filesystem path
repo – a git:// or http:// location
version – “HEAD” or a SHA or a tag
I didn’t test tags really, they might not work.
This was mostly a proof of concept but should be easy to upgrade if you need to specify a branch. At the moment, it’s not a priority for me, but
if someone is a git wizard and would like to upgrade it, improvements are very welcome.
OT – I noticed myself not finding a good way to work the ensure mechanic in here, so I’m thinking of just calling “ensure” for service module “state”.
Seems cleaner. That coming soon, I’ll update the docs when I add the docs for this module as well. I will stop being OCD about the module params
after that
–Michael