Skip Menu |

This queue is for tickets about the App-Pinto CPAN distribution.

Report information
The Basics
Id: 83074
Status: open
Priority: 0/
Queue: App-Pinto

People
Owner: Nobody in particular
Requestors: peter [...] vereshagin.org
Cc:
AdminCc:

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



Subject: Bundle::RT doesn't pull dependencies
Hello. First, I'd like to thank you for this wonderful app. The problem I have is from the what I see in the 'pull's POD it recursively pulls the prerequisites. This doesn't seem to be the case for the Bundle::RT, is it a bug and if it is than which one module's is it? Following is the commands and their outputs showing how I use to discover that: $ pinto -v pull -s bundle-rt -M Bundle::RT pinto -r ~/by-lang/pl/pinrep-00 -v install -s bundle-rt -M Bundle::RT Unknown option: M --> Working on Bundle::RT Fetching file://bundle-rt/authors/id/R/RS/RSPIER/Bundle-RT-0.030601.tar.gz ... OK Configuring Bundle-RT-0.030601 ... OK ==> Found dependencies: Test::Inline, Class::ReturnValue, DBIx::SearchBuilder, HTML::Scrubber, Locale::Maketext::Fuzzy, Text: :Wrapper, Time::ParseDate, Text::Quoted, Module::Versions::Report, Cache::Simple::TimedExpiry, Calendar::Simple, Cache::Cache , HTML::Mason, MLDBM, FreezeThaw, Apache::Session, XML::RSS, HTTP::Server::Simple::Mason, GD, GD::Graph, GD::Text, Text::Wiki Format, Apache::Test ! Finding Test::Inline () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Test::Inline () ! Finding Class::ReturnValue (0.40) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Class::ReturnValue (0.40) ! Finding DBIx::SearchBuilder (1.39) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution DBIx::SearchBuilder (1.39) ! Finding HTML::Scrubber (0.08) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution HTML::Scrubber (0.08) ! Finding Locale::Maketext::Fuzzy () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Locale::Maketext::Fuzzy () ! Finding Text::Wrapper () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Text::Wrapper () ! Finding Time::ParseDate () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Time::ParseDate () ! Finding Text::Quoted (1.3) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Text::Quoted (1.3) ! Finding Module::Versions::Report () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Module::Versions::Report () ! Finding Cache::Simple::TimedExpiry () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Cache::Simple::TimedExpiry () ! Finding Calendar::Simple () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Calendar::Simple () ! Finding Cache::Cache () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Cache::Cache () ! Finding HTML::Mason (1.23) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution HTML::Mason (1.23) ! Finding MLDBM () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution MLDBM () ! Finding FreezeThaw () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution FreezeThaw () ! Finding Apache::Session (1.53) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Apache::Session (1.53) ! Finding XML::RSS (1.05) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution XML::RSS (1.05) ! Finding HTTP::Server::Simple::Mason (0.09) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution HTTP::Server::Simple::Mason (0.09) ! Finding GD () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution GD () ! Finding GD::Graph () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution GD::Graph () ! Finding GD::Text () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution GD::Text () ! Finding Text::WikiFormat (0.76) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Text::WikiFormat (0.76) ! Finding Text::WikiFormat (0.76) on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Text::WikiFormat (0.76) ! Finding Apache::Test () on mirror file://bundle-rt failed. ! Couldn't find module or a distribution Apache::Test () ! Bailing out the installation for Bundle-RT-0.030601. Retry with --prompt or --force. Installation failed. See the cpanm build log for details Installation failed. See the cpanm build log for details at 5.16.2/Pinto.pm line 52.
Subject: Re: [rt.cpan.org #83074] Bundle::RT doesn't pull dependencies
Date: Thu, 31 Jan 2013 18:27:26 -0800
To: bug-App-Pinto [...] rt.cpan.org
From: Jeffrey Ryan Thalhammer <jeff [...] imaginative-software.com>
Hi Peter- I'm afraid I don't have a very good answer for you. Bundles are somewhat antiquated and Pinto doesn't know what to do with them. These days, Task modules are the preferred method, and Pinto will handle those just fine. But there's no reason that Pinto can't support Bundles. So I'll put this on the TODO list and add something to the documentation to mention that Bundles are not supported yet. In the meantime, you can work around it by "pulling" all those modules first, and then "installing" Bundle::RT. So it would probably look like this: $> pinto -r ~/by-lang/pl/pinrep-00 -v pull -s bundle-rt -M Bundle::RT Test::Inline Class::ReturnValue DBIx::SearchBuilder HTML::Scrubber Locale::Maketext::Fuzzy Text::Wrapper Time::ParseDate Text::Quoted Module::Versions::Report Cache::Simple::TimedExpiry Calendar::Simple Cache::Cache HTML::Mason MLDBM FreezeThaw Apache::Session XML::RSS HTTP::Server::Simple::Mason GD GD::Graph GD::Text Text::WikiFormat Apache::Test $> pinto -r ~/by-lang/pl/pinrep-00 -v install -s bundle-rt Bundle::RT If you can help it, I would encourage you not to use Bundles. Adam Kennedy describes their shortcomings pretty well in the documentation for Task.pm (although you are not required to use Module::Install, as he suggests). I'm sure that everyone using RT would be happy to see a Task::RT out there (wink). Sorry I don't have something better right now. But thanks for brining it up. I never really considered how Pinto would handle Bundles until now. One more thing, please send future bug reports to the GitHub issue queue: https://github.com/thaljef/Pinto/issues Thanks! And let me know how it goes :) -Jeff
Subject: Re: [rt.cpan.org #83074] Bundle::RT doesn't pull dependencies
Date: Thu, 31 Jan 2013 19:21:19 -0800
To: bug-App-Pinto [...] rt.cpan.org
From: Jeffrey Ryan Thalhammer <jeff [...] imaginative-software.com>
By the way, I just ran those commands and found that some modules were still missing. Here's a better set of commands (I teased this list directly out of Bundle::RT): $> pinto -r ~/by-lang/pl/pinrep-00 -v pull -s bundle-rt -M Bundle::RT Digest::MD5~2.27 DBI~1.37 Test::Inline Class::ReturnValue~0.40 DBIx::SearchBuilder~1.39 Text::Template File::Spec~0.8 HTML::Entities HTML::Scrubber~0.08 Net::Domain Log::Dispatch~2.0 Locale::Maketext~1.06 Locale::Maketext::Lexicon~0.32 Locale::Maketext::Fuzzy MIME::Entity~5.108 Mail::Mailer~1.57 Net::SMTP Text::Wrapper Time::ParseDate Time::HiRes File::Temp Term::ReadKey Text::Autoformat Text::Quoted~1.3 Tree::Simple~1.04 Scalar::Util Module::Versions::Report Cache::Simple::TimedExpiry UNIVERSAL::require Calendar::Simple Params::Validate~0.02 Cache::Cache Exception::Class~1.14 HTML::Mason~1.23 MLDBM Errno FreezeThaw CGI::Cookie~1.20 Storable~2.08 Apache::Session~1.53 XML::RSS~1.05 HTTP::Server::Simple~0.07 HTTP::Server::Simple::Mason~0.09 GD GD::Graph GD::Text Text::WikiFormat~0.76 HTML::TreeBuilder HTML::FormatText Getopt::Long~2.24 LWP::UserAgent Regexp::Common Test::Inline Apache::Test HTML::Form HTML::TokeParser WWW::Mechanize Test::WWW::Mechanize CGI~2.92 Module::Refresh XML::Simple Package::Stash::XS~0.26 ExtUtils::MakeMaker~6.64 $> pinto -r ~/by-lang/pl/pinrep-00 -v install -s bundle-rt Bundle::RT Whether or not all that stuff builds cleanly is another story. Cheers! -Jeff
CC: peter [...] vereshagin.org
Subject: Re: [rt.cpan.org #83074] Bundle::RT doesn't pull dependencies
Date: Fri, 1 Feb 2013 08:31:04 +0400
To: Jeffrey Thalhammer via RT <bug-App-Pinto [...] rt.cpan.org>
From: Peter Vereshagin <peter [...] vereshagin.org>
Wow. Thank you very much for your care! I was just trying to play around with RT, at the least I had no idea that there is no RT download on a CPAN. And RT's dependencies were also a long-awaited occasion to try Pinto. I was pretty sure I was doing something wrong like 'pull' command instead of 'install', for example. I put already the modules' names from 'cpanm' output to the list to 'pull' command. It's a long story for my case on how it goes, I have several tasks like that to switch between as they go in parallel, so it's a point I'm still standing on: Pinto installed Bundle::RT and I can go ahead with RT just to centralize my App::SD storages. Bundles unpreferability is a yet another surprise. I even had no idea what's that the Task namespace, thank you for pointing out. Show quoted text
JTvR> One more thing, please send future bug reports to the GitHub issue queue: https://github.com/thaljef/Pinto/issues
I will. I overlooked 'bugtracker' in 'perldoc Pinto'. I found 'go to Task::Pinto as a whole kit' from 'perldoc pinto' and perhaps mentioning rt.cpan.org on 'perldoc Task::Pinto' suggested me to make it here. ps. I find Pinto interface somewhat simlar to App::SD's and a runtime compilation a slow phase for both. ( yes, this night I was recognized publically that my hardware is a 'neither hurry nor an x86_64' (tm) but that's why I don't even try with Java for example). So with App::SD I find it useful the it's built-in CLI command prompt that makes all that Moose jazz significantly faster for me so I'd proppose such a feature just as a thinkabout for Pinto. pps. And thank you for a great tool! -- Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: 1754B9C1
Subject: Re: [rt.cpan.org #83074] Bundle::RT doesn't pull dependencies
Date: Thu, 31 Jan 2013 21:11:04 -0800
To: bug-App-Pinto [...] rt.cpan.org
From: Jeffrey Ryan Thalhammer <jeff [...] imaginative-software.com>
Show quoted text
> I was just trying to play around with RT, at the least I had no idea that there is no RT download on a CPAN.
Yeah, I noticed that Bundle::RT doesn't actually include RT. Seems kinda pointless. Oh well. Show quoted text
> I was pretty sure I was doing something wrong like 'pull' command instead of 'install', for example.
No, you did it right. "install" is just a thin wrapper around cpanm. But you must "pull" modules into the repository first. Or you can add the --pull option to the "install" command, which will do a "pull" and then "install" in one go! Show quoted text
> Bundles unpreferability is a yet another surprise. I even had no idea what's that the Task namespace, thank you for pointing out.
My pleasure. Show quoted text
> I found 'go to Task::Pinto as a whole kit' from 'perldoc pinto' and perhaps mentioning rt.cpan.org on 'perldoc Task::Pinto' suggested me to make it here.
K. I'll make sure that gets changed if it does. Show quoted text
> ps. I find Pinto interface somewhat simlar to App::SD's and a runtime compilation a slow phase for both...So with App::SD I find it useful the it's built-in CLI command prompt that makes all that Moose jazz significantly faster for me so I'd proppose such a feature just as a thinkabout for Pinto.
App::Pinto is built on App::Cmd (which is non-moose), but the Pinto core uses Moose extensively. We might switch to Mouse at some point. I'll look at App::SD for inspiration too. Thanks for the suggestion. Show quoted text
> pps. And thank you for a great tool!
Glad you like. The next release has a lot of changes (for the better, I think). Would you be interested in doing some alpha testing?