=pod
A few months ago, brian posted a blog entry
about
L.
In the ensuing discussion, I pointed at a possible way to
automatise the process a step further by punting the generated
patch to rt.cpan.org. The hack was well-received and, with
(very) minimal coaxing, I was subsequently convinced to
expand on the idea for the Perl Review.
The resulting piece is now available in
L. In the article, the
initial command-line hack has morphed into
four scripts -- C, C,
C and C -- that
pretty much take care of all the administrative
overhead of module patching. In most cases,
grabbing a distro, fixing a bug and sending the
patch can be done in four lines:
$ git cpan-init Some::Module
$ git checkout -b mypatch
...hack hack hack...
$ git rebase -i cpan
$ git cpan-sendpatch
And, no, the lack of hyphen between C and C
isn't a typo; the article also covers how
to seamlessly integrate the new scripts into the
git infrastructure (as Edna Mode would say,
I).
Of course, I'm burning to say more, but I'll have to stop here.
To know the whole story, you'll have to wait for The Perl Review
to land in your mailbox (you are subscribed to TPR, I).
CPAN Patching with Git
No TrackBacks
TrackBack URL: http://babyl.dyndns.org/mt/mt-tb.cgi/159
Ok, I've subscribed now.
Sweeeet. Hope that you'll find that the article is worth it (of course, the rest of the magazine is definitively worth it all by itself but, hey, one has to have his own egocentric priorities straight :-) ).