Having the README.pod symlink makes the pod from the top-level module (IO.pm) show up on the project’s home page at Github. Note that this doesn’t hurt generating the release, as you can see in the ‘release’ branch on Github: the correct README is in the project root (
https://github.com/cubranic/Statistics-R-IO/blob/release/README) and the IO.pm module does contain the full code (
https://github.com/cubranic/Statistics-R-IO/blob/release/lib/Statistics/R/IO.pm). It’s just that what’s left behind in my working directory after running `dzil build` is a mangled IO.pm.
If you have a better recommendation that will avoid only the latter, while still working for the Github home page and the release generation, I’d be happy to use it. In the meantime, Pod2Readme seems to be able to handle this just fine.
Show quoted text> On May 26, 2016, at 4:19 PM, Kent Fredric via RT <bug-Dist-Zilla-Plugin-ReadmeFromPod@rt.cpan.org> wrote:
>
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=114749 >
>
> On 2016-05-27 09:27:49, davor@stat.ubc.ca wrote:
>> Steps to reproduce (Dist::Zilla 6.005, ReadmeFromPod 0.33):
>>
>> 1. check out github.com/cubranic/Statistics-R-IO v0.101
>> 2. run `dzil build`
>> 3. run `git diff`: lib/Statistics/R/IO.pm will have almost all of its
>> code content removed. Only the pod following “__END__” will remain.
>>
>> Remove the entry for ReadmeFromPod from the distribution’s `dist.ini`
>> to see that the problem is caused by this plugin.
>
>
> This problem is grossly exacerbated because "README.pod" in your dist is
> presently a *symlink* to "lib/Statistics/R/IO.pm".
>
> This means regardless of what "Readme" generator you use, your configuration
> states "replace my code with only the POD version of that code".
>
> ReadmeFromPod has its own problems, but your problem with the symlink must be
> resolved before you expect anything to work here.