Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-Markdown CPAN distribution.

Report information
The Basics
Id: 32999
Status: resolved
Priority: 0/
Queue: Text-Markdown

People
Owner: bobtfish [...] bobtfish.net
Requestors: bobtfish [...] bobtfish.net
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in:
  • 1.0.1
  • 1.0.12
  • 1.0.13
  • 1.0.14
  • 1.0.16
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.0.5
Fixed in: 1.0.17



Subject: Provide a Markdown.pl which can optionally be installed
There are people using John Gruber's shell script by shelling out to it. The Text::Markdown dist should prompt you to install a Markdown.pl wrapper on the module (default/unattended answer should be no). Should also provide a wrapper for MultiMarkdown.pl?
From: joey [...] kitenet.net
Things that shell out to markdown run /usr/bin/markdown. A wrapper using Text::Markdown could easily be written, and this would be useful for backwards compatability. I recommend against making the Makefile.PL prompt about whether to include it BTW. Interactive Makefile.PL just causes problems for distirbutors.
Subject: Re: [rt.cpan.org #32999] Provide a Markdown.pl which can optionally be installed
Date: Wed, 5 Mar 2008 09:01:07 +0000
To: bug-Text-Markdown [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
On 5 Mar 2008, at 01:23, Joey Hess via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=32999 > > > Things that shell out to markdown run /usr/bin/markdown. A wrapper > using > Text::Markdown could easily be written, and this would be useful for > backwards compatability.
Yep, there's one in my trunk code already, it's going to be in the next release. Show quoted text
> I recommend against making the Makefile.PL prompt about whether to > include it BTW. Interactive Makefile.PL just causes problems for > distirbutors.
If you do it in the right way (using the installer to prompt rather than doing it manually - a non-interactive install just gets the default options), then there isn't a problem here... Cheers Tom
From: bobtfish [...] bobtfish.net
On Tue Mar 04 20:23:35 2008, JOEY wrote: Show quoted text
> Things that shell out to markdown run /usr/bin/markdown.
I don't think so? Looking at Markdown-1.0.1 the script name is Markdown.pl Show quoted text
> A wrapper using > Text::Markdown could easily be written, and this would be useful for > backwards compatability.
Done in 1.0.17 (script is Markdown.pl) Show quoted text
> I recommend against making the Makefile.PL prompt about whether to > include it BTW. Interactive Makefile.PL just causes problems for > distirbutors.
As noted, getting Module::Install to do this for me means it will do the right thing in situations without a tty..