Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

cpan-upload

by liz (Monsignor)
on Aug 13, 2003 at 16:07 UTC ( #283594=modulereview: print w/ replies, xml ) Need Help??

Item Description: Upload one or more files to CPAN, using PAUSE

Review Synopsis: A must have for every module author

This is not a module, it's a script.

After going through most of my modules on CPAN to make sure that they will work on the soon to be Perl 5.8.1, I again realized that the low profile, but very handy cpan-upload utility script is a must-have for a module author.

What does it do? Well, not a lot, but it does it quickly and quietly. It uploads your files to CPAN as simple as:

    cpan-upload Your-Module-1.07.tar.gz
You get your confirmation mails just the way as you would normally if you would upload files to CPAN "manually".

What do you need to do? Well, download it, then:

perl Makefile.PL
make
make test
make install
then, in you home directory, create a file named ".pause" that you can only read and write to (-rw------), and put your configuration information in there. This is usually very simple, such as:
user CPANID
password xyuolskhj
mailto your@address.tld
and voila, you're set!

Neil Bowers has made a very nice utility script that is well documented. Kudo's to Neil!

Liz

Comment on cpan-upload
Re: cpan-upload
by Anonymous Monk on Aug 13, 2003 at 17:35 UTC

    I like release

    It checks my dist is complete and passes tests. It also checks that CVS is up-to-date and then tags everything with the current version. And it releases to sourceforge

Re: cpan-upload
by hsmyers (Canon) on Aug 14, 2003 at 05:14 UTC
    For ActiveState fans out there, don't bother---get it from CPAN. There are dependancies:

    Checking if your kit is complete... Looks good Warning: prerequisite AppConfig::Std failed to load: Can't locate AppConfig/Std.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at (eval 4) line 3. Warning: prerequisite Term::ReadKey failed to load: Can't locate Term/ReadKey.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib . ) at (eval 15) line 3. Writing Makefile for cpan-upload

    The README details a few more:
    • AppConfig $CPAN/authors/id/ABW/
    • Pod::Usage In the PodParser distribition
    • Net::FTP in the libnet distribution
    • LWP $CPAN/modules/by-module/LWP/
    And there hasn't been a lot of feedback from the CPAN testers yet, but it's early days!

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."

Back to Reviews

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://283594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-07-05 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls