On Sun, Feb 24, 2013 at 12:33:40PM -0500, Yanick Champoux wrote:
> On 13-02-24 01:07 AM, Ovid wrote:

> >And Dist::Zilla::Plugin::ReadmeMarkdownFromPod doesn't do what I
> >want. I want my README.md to be updated on the dzil side, not the
> >generated distribution side.

I tried that and made it work...  or work well enough to copy once,
e.g.
  https://github.com/mca-wtsi/psst/commits/master/README.pod
  https://github.com/mca-wtsi/App-MediaWiki2Git/commits/master/README.md

but then I realised I was copying a lot of config between projects,
adding needless diffs by munging a source file back into the source
repo, breaking the formatting by translating POD into Markdown...  all
to please source hosting site convention.

Next project, I replaced the README with a symlink, got the Github
page caching bug fixed & it works fine, e.g.
  https://github.com/mca-wtsi/authen-daemon
  https://github.com/mca-wtsi/authen-daemon/blob/master/README.pod


> [ ReadmeAnyFromPod / MarkdownInRoot ]
> filename = whateveryouwant.mrkdwn
> 
> And yes, that will plop the file in your checked out directory, all
> ready to be commited. :-)

You can get it committed if you want,
  https://metacpan.org/module/Dist::Zilla::Plugin::Git::Commit

I preferred manual commit with a meaningful message.


hth,
-- 
Matthew


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

Reply via email to