Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use --mirror-only for migrate-modules #18

Merged
merged 1 commit into from

2 participants

@miyagawa
Collaborator

This would be much faster since it won't hit cpanmetadb for each module when there're hundreds of modules to migrate.

@miyagawa miyagawa Use --mirror-only for migrate-modules
This would be much faster since it won't hit cpanmetadb for each module
when there're hundreds of modules to migrate.
9f3b18b
@tokuhirom tokuhirom merged commit 999ecef into tokuhirom:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 7, 2013
  1. @miyagawa

    Use --mirror-only for migrate-modules

    miyagawa authored
    This would be much faster since it won't hit cpanmetadb for each module
    when there're hundreds of modules to migrate.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/plenv
View
2  bin/plenv
@@ -463,7 +463,7 @@ sub CMD_migrate_modules {
install_cpanm($dst);
open my $srcfh, "-|", $srcperl, '-MExtUtils::Installed', '-e', 'print $_, "\n" for ExtUtils::Installed->new->modules'
or die "Cannot exec: $!";
- open my $dstfh, "|-", $dstcpanm
+ open my $dstfh, "|-", $dstcpanm, '--mirror-only'
or die "Cannot exec $dstcpanm: $!";
while (<$srcfh>) {
print $dstfh $_;
Something went wrong with that request. Please try again.