Skip Menu |

This queue is for tickets about the GraphViz2 CPAN distribution.

Report information
The Basics
Id: 92542
Status: resolved
Priority: 0/
Queue: GraphViz2

People
Owner: Nobody in particular
Requestors: NGLENN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: download graphviz during installation
I'd love to use your library for a project, but the test results mostly say unknown. The problem is that none of the testers have GraphViz installed, and so the Makefile.PL just exits. It would be useful to download GraphViz for the user (after asking the user's permission). I know I've seen this done before, but I can't think of where. Another thing that might help end users is to give them a moment to go download GraphViz, like Module::Signature does (https://metacpan.org/source/AUDREYT/Module-Signature-0.73/Makefile.PL#L129). Or maybe an Alien::GraphViz module. I don't really know what goes into making that, though I think it should be easier now that there's Alien::Base.
Subject: Re: [rt.cpan.org #92542] download graphviz during installation
Date: Wed, 29 Jan 2014 09:38:01 +1100
To: bug-GraphViz2 [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Nathan On 29/01/14 06:56, Nathan Gary Glenn via RT wrote: Show quoted text
> Tue Jan 28 14:56:26 2014: Request 92542 was acted upon. > Transaction: Ticket created by NGLENN > Queue: GraphViz2 > Subject: download graphviz during installation > Broken in: (no value) > Severity: Wishlist > Owner: Nobody > Requestors: NGLENN@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92542 > > > > I'd love to use your library for a project, but the test results mostly say unknown. The problem is that none of the testers have GraphViz installed, and so the Makefile.PL just exits. > It would be useful to download GraphViz for the user (after asking the user's permission). I know I've seen this done before, but I can't think of where. > Another thing that might help end users is to give them a moment to go download GraphViz, like Module::Signature does (https://metacpan.org/source/AUDREYT/Module-Signature-0.73/Makefile.PL#L129). > Or maybe an Alien::GraphViz module. I don't really know what goes into making that, though I think it should be easier now that there's Alien::Base.
This is a good suggestion. There is a major problem in that CPAN testers - as a rule - run unattended tests, and so could not respond to the question. But, I'm aware of Alien::Base, and so shall investigate it more fully. $many x $thanx; -- Ron Savage http://savage.net.au/
For the present time, the current arrangement will stay. Interaction is no longer a realistic option during installation, since unattended is very much the norm. Therefore I will mark this as closed. However! If you want to make an "Alien" package that installs GraphViz, I will be pleased to consider a PR making this module use it. The better way now is Alien::Build, rather than Alien::Base.