Navigation Menu

Skip to content

Commit

Permalink
rename to App::CPAN::Fresh
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Sep 2, 2009
1 parent 8182c89 commit d1a686d
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 36 deletions.
5 changes: 4 additions & 1 deletion Changes
@@ -1,4 +1,7 @@
Revision history for Perl extension App::CPAN::Fast
Revision history for Perl extension App::CPAN::Fresh

0.04 Wed Sep 2 01:18:08 PDT 2009
- Rename the dist to App::CPAN::Fresh

0.03 Tue Sep 1 23:24:38 PDT 2009
- If the found upload is older than 2 days, just use your mirror
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
Expand Up @@ -20,7 +20,7 @@ inc/Test/Base/Filter.pm
inc/Test/Builder.pm
inc/Test/Builder/Module.pm
inc/Test/More.pm
lib/App/CPAN/Fast.pm
lib/App/CPAN/Fresh.pm
Makefile.PL
MANIFEST This list of files
META.yml
Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
@@ -1,6 +1,6 @@
use inc::Module::Install;
name 'App-CPAN-Fast';
all_from 'lib/App/CPAN/Fast.pm';
name 'App-CPAN-Fresh';
all_from 'lib/App/CPAN/Fresh.pm';

requires 'CPAN::Inject';
requires 'App::Cmd', '0.30';
Expand Down
42 changes: 24 additions & 18 deletions README
@@ -1,27 +1,33 @@
This is Perl module App::CPAN::Fast.
NAME
cpanf - Query and install CPAN modules realtime from the fresh mirror

INSTALLATION
SYNOPSIS
# install Module::Name from the fresh mirror
cpanf Module::Name

App::CPAN::Fast installation is straightforward. If your CPAN shell is set up,
you should just be able to do
# list the recent uploads
cpanf -l

% cpan App::CPAN::Fast
# search the latest uploads for "Catalyst"
cpanf -l Catalyst

Download it, unpack it, then build it as per the usual:
DESCRIPTION
`cpanf' is a command line tool to find, index and download CPAN modules
from fresh mirrors. It would be useful if you want to install modules
before it's mirrored to the mirrors near you which usually takes a day
or two.

% perl Makefile.PL
% make && make test
This tool utilizes FriendFeed CPAN relatime bot
(http://friendfeed.com/cpan) to search and query the updates and CPAN
Testers mirror (http://cpan.cpantesters.org/) to download modules.

Then install it:
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>

% make install
LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

DOCUMENTATION
SEE ALSO
App::CPAN::Fresh http://friendfeed.com/cpan

App::CPAN::Fast documentation is available as in POD. So you can do:

% perldoc App::CPAN::Fast

to read the documentation online with your favorite pager.

Tatsuhiko Miyagawa
16 changes: 6 additions & 10 deletions cpanf
@@ -1,19 +1,19 @@
#!/usr/bin/perl
use strict;
use warnings;
use App::CPAN::Fast;
use App::CPAN::Fresh;

App::CPAN::Fast->run;
App::CPAN::Fresh->run;

__END__
=head1 NAME
cpanf - Query and install CPAN modules realtime from the fastest (fresh) mirror
cpanf - Query and install CPAN modules realtime from the fresh mirror
=head1 SYNOPSIS
# install Module::Name from the fastest mirror
# install Module::Name from the fresh mirror
cpanf Module::Name
# list the recent uploads
Expand All @@ -25,14 +25,10 @@ cpanf - Query and install CPAN modules realtime from the fastest (fresh) mirror
=head1 DESCRIPTION
C<cpanf> is a command line tool to find, index and download CPAN
modules from fastest mirrors. It would be useful if you want to
modules from fresh mirrors. It would be useful if you want to
install modules before it's mirrored to the mirrors near you which
usually takes a day or two.
Note that "fastest mirror" means the mirror that syncs uploaded
modules from master PAUSE very quickly (almost real-time) and NOT the
nearest mirror that gives you the max download speed.
This tool utilizes FriendFeed CPAN relatime bot
(L<http://friendfeed.com/cpan>) to search and query the updates and
CPAN Testers mirror (L<http://cpan.cpantesters.org/>) to download
Expand All @@ -49,7 +45,7 @@ it under the same terms as Perl itself.
=head1 SEE ALSO
L<App::CPAN::Fast> L<http://friendfeed.com/cpan>
L<App::CPAN::Fresh> L<http://friendfeed.com/cpan>
=cut
6 changes: 3 additions & 3 deletions lib/App/CPAN/Fast.pm → lib/App/CPAN/Fresh.pm
@@ -1,4 +1,4 @@
package App::CPAN::Fast;
package App::CPAN::Fresh;

use strict;
use 5.008_001;
Expand Down Expand Up @@ -163,11 +163,11 @@ __END__
=head1 NAME
App::CPAN::Fast - backend for I<cpanf> command
App::CPAN::Fresh - backend for I<cpanf> command
=head1 DESCRIPTION
App::CPAN::Fast is a backend for I<cpanf> command.
App::CPAN::Fresh is a backend for I<cpanf> command.
=head1 AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion t/00_compile.t
@@ -1,4 +1,4 @@
use strict;
use Test::More tests => 1;

BEGIN { use_ok 'App::CPAN::Fast' }
BEGIN { use_ok 'App::CPAN::Fresh' }

0 comments on commit d1a686d

Please sign in to comment.