As far as I'm concerned, the mercurial module was a dirty hack I never
thought would make it into core because Michael thought people should just
switch to git. (I do to, but, alas, have to deploy some things from
Mercurial.) I made it for myself, the way I liked it, and didn't know many
others were using it.
There's enough of an audience now to where having more SCM types is
starting to make sense.
Though everyone should pick git
To set the record straight:
1. I'm totally happy to have someone come up with a better module or take
over maintenance of this one. Yeukhon, if you can build it better, go for
it! I haven't looked at your code yet, but plan to. Thanks for the
contribution. If you want to collaborate, I'm open. I'd love to see the
module in core, but have no interest in arguing about it with Michael.
2. I have to deploy code as a particular use. For the same reason the file
module has to specify an owner, I have to specify a different user of a
repo. Sudo is the only way I see to do that, but I'm open to suggestions.
3. Michael wrote, "My module uses #<<INCLUDE_ANSIBLE_MODULE_COMMON>>, but if
there are new methods, I haven't kept up.
The new 'run_command' is very recent in 1.0.
4. Michael writes, "I don't know what owner did (not looking ATM), but we
can use file attributes on any module regardless now." Not sure what that
means, so there must be some developments I haven't kept up with. If you
point me to the docs or explain a bit, I can try adjust it.
Whatever the owner= flag did, if it was doing chmod's and such, it
should not need to.
But I wasn't looking.
5. Sorry I missed a patch from roller. I always clean, but I can see why you
might want it as an option. I'll check my github messages. Thanks for the
heads up, joel.
6. Yeah, no tests. I need some. New responsibilities and not enough
bandwidth.
I don't think we really need automated tests of hg checkouts that
badly -- so I'm fine with this just being tested
when people work on it. It won't change much.
That being said, the git module has had a fair amount of turnover.