Skip Menu |
 

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 38141
Status: open
Priority: 0/
Queue: CPANPLUS

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

Bug Information
Severity: Important
Broken in: 0.84
Fixed in: (no value)



Download (untitled) / with headers
text/plain 194b
The example in the documentation fails on my debian machine: cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI Invalid format: CPANPLUS::Dist::Deb What are the valid formats?
Hi Jeremaiah, On Sun Aug 03 09:45:47 2008, jeremiah wrote: Show quoted text
> The example in the documentation fails on my debian machine: > > cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI > Invalid format: CPANPLUS::Dist::Deb > > What are the valid formats?
They should be listed in the usage message you get afterwards. If that's not the case, please reopen the ticket: $ perl bin/cpan2dist --format foo Invalid format: foo Usage: cpan2dist [--format FMT] [OPTS] Mod::Name [Mod::Name, ...] cpan2dist [--format FMT] [OPTS] --modulelist /tmp/mods.list cpan2dist [--format FMT] [OPTS] --archive /tmp/dist [/tmp/dist2] Will create a distribution of type FMT of the modules specified on the command line, and all their prerequisites. Can also create a distribution of type FMT from a local archive and all it's prerequisites Possible formats are: CPANPLUS::Dist::Autobundle CPANPLUS::Dist::Build CPANPLUS::Dist::MM CPANPLUS::Dist::PAR You can install more formats from CPAN!
Download (untitled) / with headers
text/plain 1.8k
On Sat Sep 06 10:57:46 2008, KANE wrote: Show quoted text
> Hi Jeremiah,
Hello! Show quoted text
> On Sun Aug 03 09:45:47 2008, jeremiah wrote:
> > The example in the documentation fails on my debian machine: > > > > cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI > > Invalid format: CPANPLUS::Dist::Deb > > > > What are the valid formats?
> > They should be listed in the usage message you get afterwards. If > that's not the > case, please reopen the ticket:
The valid formats are listed. But then the above example, which I took from the cpan2dist documentation, should be amended since I am running it verbatim and it produces the "Invalid format" message. From the cpan2dist documentation; ### build a debian package of DBI and it's prerequisites, ### don't bother running tests cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --skiptest DBI ### build a debian package of DBI and it's prerequisites and install them cpan2dist --format CPANPLUS::Dist::Deb --buildprereq --install DBI I am confused as to why there is an example to build a format that is invalid. Jeremiah Show quoted text
> > $ perl bin/cpan2dist --format foo > Invalid format: foo > Usage: cpan2dist [--format FMT] [OPTS] Mod::Name [Mod::Name, ...] > cpan2dist [--format FMT] [OPTS] --modulelist /tmp/mods.list > cpan2dist [--format FMT] [OPTS] --archive /tmp/dist > [/tmp/dist2] > > Will create a distribution of type FMT of the modules > specified on the command line, and all their prerequisites. > > Can also create a distribution of type FMT from a local > archive and all it's prerequisites > > > Possible formats are: > CPANPLUS::Dist::Autobundle > CPANPLUS::Dist::Build > CPANPLUS::Dist::MM > CPANPLUS::Dist::PAR > > You can install more formats from CPAN!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.