Repository navigation
README.pod symlink to Perl module renders incorrectly #1253
Description
Activity
I did some sanity checking in linguist with additional tests, they all passed.
Travis disagreed, but has since been convinced.
Investigating further in the simple repository listed above it is difficult to explain the results of the following three:
- rendering as POD
- not rendering POD, only unhighlighted file content.
- The minimal diff of header text
Could
pod2htmlbe failing occasionally, for some reason and consequentlycontentis passed through inrender:
markup/lib/github/markup/command_implementation.rb
Lines 25 to 29 in de903b8
def render(filename, content, options: {}) rendered = execute(command, content) rendered = rendered.to_s.empty? ? content : rendered call_block(rendered, content) end Reacted by Belden Lyman, Logan Bell and Kate ParkhurstThis is also affecting my repos. At first I thought it might be a result of the age of the code, but I ran it through
github-markupand the results were fine. This is really frustrating...I've been trying to narrow this down to the smallest valid test case I can write and this is the best I've come up with so far.
This will render correctly:
=encoding UTF-8 =head1 NAME =head1 FOOThis won't:
=encoding UTF-8 =head1 NAMD =head1 FOOI can't explain it.
Reacted by Roy StoreyReacted by Roy Storey and Aristotle Pagaltzis- added a commit that references this issue
on Apr 16, 2020 - added a commit that references this issue
on Jun 23, 2020 Having exact same issue with symlinks to PODs, it works in one case, it doesn't in another.
- Can we split it…On Mon, Jul 6, 2020, 5:43 PM Anselmo Canfora ***@***.***> wrote: Having exact same issue with symlinks to PODs, it works in one case, it doesn't in another. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1253 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQFURVOVKR3YVJNM6F6CPQ3R2JARDANCNFSM4GR25FVA> .
Can we split it
…
On Mon, Jul 6, 2020, 5:43 PM Anselmo Canfora @.***> wrote: Having exact same issue with symlinks to PODs, it works in one case, it doesn't in another. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1253 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFURVOVKR3YVJNM6F6CPQ3R2JARDANCNFSM4GR25FVA .
#1253 (comment)Here is a rather interesting data point: ap/Catalyst-View-Template@
6318f66I have a
README.podthere which is failing to render… but this one doesn’t link to a.pmfile. Instead I put the documentation in a separate.podfile and symlinked that – specifically to try and sidestep this bug. It seemed so obvious that this would work that I didn’t even do an experiment to verify before I used it. But it turns out that even this can fail.Hopefully this is a new clue into the mystery of what is causing this bug… rather than an entirely separate second(ary) bug. Maybe it gives someone who has investigated this bug a lightbulb moment?
- added 2 commits that reference this issue
on Oct 27, 2020 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
24 remaining items
This issue remains unresolved.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still an issue.
There seemed to be a chance that all of my repositories are currently working, but I found one exception after all: https://github.com/ap/Memoize
So this remains an issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still an issue.
Reacted by Kate Parkhurst, kseniya1987alexina-lang and Roy StoreyThis is still an issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still an issue.


Opening a new issue in an attempt to shine some light on my last comment in #1158 and the behaviour observed rendering the
README.podhere. I have a mixture of private repositories using the same technique that have a mix of success and failure in displaying the expected result and a minimal example of success hereThe symlinks are detected as POD as reported here.
Running locally
github-markup,pod2htmlconverts as expected:I did some sanity checking in linguist with additional tests, they all passed.