aboutsummaryrefslogtreecommitdiffstats
path: root/perl-external
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-05-19 16:55:04 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-05-19 16:55:45 +0100
commitf1c272f34fe3ff1cc4ab17d95379337cfc664967 (patch)
tree234af87b17f94d28e18ca36a13ab9bfe96f3b7ae /perl-external
parent75a3614767dde3b3f0376acd9879bc09b4ba09e4 (diff)
strip out remaining dpan related bits
Diffstat (limited to 'perl-external')
-rwxr-xr-xperl-external/bin/module-manage.pl19
-rw-r--r--perl-external/minicpan/extra_reports/JSON-PP-2.27105.txt3
-rw-r--r--perl-external/minicpan/extra_reports/common-sense-3.4.txt2
-rw-r--r--perl-external/modules.txt1
-rw-r--r--perl-external/notes.txt33
-rw-r--r--perl-external/urls.txt2
6 files changed, 43 insertions, 17 deletions
diff --git a/perl-external/bin/module-manage.pl b/perl-external/bin/module-manage.pl
index 5cdcc0334..01a4f9ba2 100755
--- a/perl-external/bin/module-manage.pl
+++ b/perl-external/bin/module-manage.pl
@@ -38,13 +38,11 @@ exit;
sub init {
add('App::cpanminus');
- add('MyCPAN::App::DPAN');
}
sub setup {
fetch_all();
build('App::cpanminus');
- build('MyCPAN::App::DPAN');
build_all();
}
@@ -82,13 +80,16 @@ sub add {
sub index_minicpan {
# go to the minicpan dir and run dpan there
- if ( `which dpan` =~ m/\S/ ) {
- chdir $minicpan;
- system "dpan -f ../dpan_config";
- }
- else {
- warn "Skipping indexing - could not find dpan";
- }
+ # if ( `which dpan` =~ m/\S/ ) {
+ # chdir $minicpan;
+ # system "dpan -f ../dpan_config";
+ # }
+ # else {
+ # warn "Skipping indexing - could not find dpan";
+ # }
+
+ warn "implement indexing";
+
}
sub build_all {
diff --git a/perl-external/minicpan/extra_reports/JSON-PP-2.27105.txt b/perl-external/minicpan/extra_reports/JSON-PP-2.27105.txt
deleted file mode 100644
index 00a013461..000000000
--- a/perl-external/minicpan/extra_reports/JSON-PP-2.27105.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Primary package [TAB] version [TAB] dist file [newline]
-JSON::PP 2.27105 /home/evdb/fixmystreet/perl-external/minicpan/authors/id/M/MA/MAKAMAKA/JSON-PP-2.27105.tar.gz
-JSON::PP::Boolean 2.27105 /home/evdb/fixmystreet/perl-external/minicpan/authors/id/M/MA/MAKAMAKA/JSON-PP-2.27105.tar.gz
diff --git a/perl-external/minicpan/extra_reports/common-sense-3.4.txt b/perl-external/minicpan/extra_reports/common-sense-3.4.txt
deleted file mode 100644
index 6d39e3a0f..000000000
--- a/perl-external/minicpan/extra_reports/common-sense-3.4.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-# Primary package [TAB] version [TAB] dist file [newline]
-common::sense 3.4 authors/id/M/ML/MLEHMANN/common-sense-3.4.tar.gz \ No newline at end of file
diff --git a/perl-external/modules.txt b/perl-external/modules.txt
index 3e00b987a..1d027ca1a 100644
--- a/perl-external/modules.txt
+++ b/perl-external/modules.txt
@@ -32,7 +32,6 @@ HTTP::Server::Simple::CGI
IO::String
JSON
Moose
-MyCPAN::App::DPAN
Net::Domain::TLD
Path::Class
Readonly
diff --git a/perl-external/notes.txt b/perl-external/notes.txt
new file mode 100644
index 000000000..e1dccb331
--- /dev/null
+++ b/perl-external/notes.txt
@@ -0,0 +1,33 @@
+Steps to add a module.
+
+Install using cpanm storing files needed in minicpan dir using --save-dists
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+make urls.txt files be relative - rename to files.txt
+
+ditch dpan
+
+fetch files from backpan if not found on cpan
+
+Create the packages file by stripping out the goodness from live cpan packages file
+
+
+
diff --git a/perl-external/urls.txt b/perl-external/urls.txt
index 777afaa6b..73d7f7a5e 100644
--- a/perl-external/urls.txt
+++ b/perl-external/urls.txt
@@ -34,8 +34,6 @@ http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/File-Find-Closures-1.09.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Module-Extract-Namespaces-0.14.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Module-Extract-Use-0.17.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Module-Extract-VERSION-0.13.tar.gz
-http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/MyCPAN-App-DPAN-1.28.tar.gz
-http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/MyCPAN-Indexer-1.28.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-Output-0.16.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Archive-Tar-1.76.tar.gz
http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Module-CoreList-2.45.tar.gz