nysus has asked for the wisdom of the Perl Monks concerning the following question:
OK, finally created a CPAN module. I am now the most clueless Perl Developer.
Getting something up and working on CPAN was fairly painless. I might not have known exactly what I was doing with commands like h2xs and make distcheck but blindly following the advice of some helpful documentation worked. I'm still left scratching my head over where the process pulled in my email address from (it's the wrong one) and the best way to get my GitHub repo linked on the left hand side of the metacpan page. I'll figure this out in due time.
My question is, are there tools out there to this whole process as seamless and painless as possible? After making a couple of revisions to my module, I notice there are many repetitive tasks. There are a couple of dozen commands involved with making even a simple change to a POD file in the module. I'm imagining there must be script or suite of tools that:
1) Had a simple config file where you put in all your PAUSE account and GitHub credentials and knew which repo on github your project was associated with
2) Config file would also contain any info that goes into Makefile.PL and offer suggestions if you are missing data in your config or it can't figure it out from POD or module code
3) Would automatically generate required CPAN files and upload them to CPAN for you
4) Would push the changes automatically out to your github repo
5) Take care of versioning information for you
6) Generate necessary README files.
So, for example, let's say I want to do something as fix an embarrassing typo to the POD that I wanted to push out immediately. First, I'd make the change. Then I'd be sure to change the version number in the code. Then I'd be sure to change the version number in the READMD.md file for GitHub and the plain README file for CPAN. Then I'd change the name of directory the code is in for cpan. Then I'd issue (after looking them up first) my commands to generate the updated CPAN version. Then I upload my tarball to PAUSE (after transferring it to another machine that has a browser on it). Then I issue my git commands to commit the new code to GitHub. Then I check cpan and github to make sure I didn't screw something up.
Instead of all that, ideally, I'd like just do something like this from the command line: update_module -v .22
and be done.
There seems like there are a patchwork of tools out there to do parts of these tasks but I'm not sure if there is anything that does it all. Can anyone point me in the right direction? Thanks.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|