SilasTheMonk has asked for the wisdom of the Perl Monks concerning the following question:

To prepare a file for CPAN you need two files in particular. The Changes file can probably be generated by reformatting the output of 'git log'. The MANIFEST file can probably be generated by taking a recursive directory listing and filtering out anything in the .gitignore file. This seems to me such an obvious requirement I assume someone has done it already. I looked at Git::CPAN::Patch but that seems to be attacking a slightly different problem - where a git person finds that he wants to patch a CPAN module not in git.

Replies are listed 'Best First'.
Re: preparing for CPAN from github
by Anonymous Monk on Aug 23, 2009 at 09:35 UTC
      Thanks. I don't normally upvote anonymous postings but on this occasion I'll make an exception.
      I did not quite find what I was looking for in that list of modules though I will check on them from to time. The following code seems to do what I want for now.