[Bps-public-commit] RT-Extension-rt_cpan_org branch, rt4, updated. 44be38ba1734727e53510372dbbbf1bc7627bc97

Thomas Sibley trs at bestpractical.com
Thu Apr 4 14:18:49 EDT 2013


The branch, rt4 has been updated
       via  44be38ba1734727e53510372dbbbf1bc7627bc97 (commit)
       via  044bfe6ec77c2442e6149ec8e2c828b2488c5d50 (commit)
       via  b4125da21fe4d394ee3eb32cf4ff2e35f08cc998 (commit)
      from  0806f62cd3a199f0b40132e1d35cb03f9e602352 (commit)

Summary of changes:
 META.yml                    | 5 +++++
 Makefile.PL                 | 7 +++++++
 bin/rt-cpan-bugs-per-dists  | 4 ++--
 bin/rt-cpan-email-addresses | 4 ++--
 bin/rt-cpan-export-db       | 4 ++--
 5 files changed, 18 insertions(+), 6 deletions(-)
 mode change 100644 => 100755 bin/rt-cpan-export-db

- Log -----------------------------------------------------------------
commit b4125da21fe4d394ee3eb32cf4ff2e35f08cc998
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Apr 4 11:16:05 2013 -0700

    Add dependencies for bin/rt-cpan-export-db

diff --git a/META.yml b/META.yml
index 59f9b2c..6dc00fe 100644
--- a/META.yml
+++ b/META.yml
@@ -20,7 +20,12 @@ no_index:
     - html
     - inc
 requires:
+  DBD::SQLite: 0
+  DBI: 0
+  File::Remove: 0
+  File::Spec: 0
   Hook::LexWrap: 0
+  IO::Compress::Gzip: 0
   perl: 5.8.3
 resources:
   license: http://opensource.org/licenses/gpl-license.php
diff --git a/Makefile.PL b/Makefile.PL
index 17d9bae..403d29b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -8,4 +8,11 @@ requires_rt('4.0.0');
 
 requires        'Hook::LexWrap';
 
+# rt-cpan-export-db
+requires 'DBI';
+requires 'DBD::SQLite';
+requires 'IO::Compress::Gzip';
+requires 'File::Spec';
+requires 'File::Remove';
+
 WriteAll();

commit 044bfe6ec77c2442e6149ec8e2c828b2488c5d50
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Apr 4 11:17:24 2013 -0700

    Mark all scripts as +x and use /usr/bin/env perl as the shebang

diff --git a/bin/rt-cpan-bugs-per-dists b/bin/rt-cpan-bugs-per-dists
index 9a64058..e477114 100755
--- a/bin/rt-cpan-bugs-per-dists
+++ b/bin/rt-cpan-bugs-per-dists
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 use strict;
 use warnings;
 
diff --git a/bin/rt-cpan-email-addresses b/bin/rt-cpan-email-addresses
index 1c2f42c..31319d9 100755
--- a/bin/rt-cpan-email-addresses
+++ b/bin/rt-cpan-email-addresses
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 use strict;
 use warnings;
 
diff --git a/bin/rt-cpan-export-db b/bin/rt-cpan-export-db
old mode 100644
new mode 100755
index edd9898..96e2113
--- a/bin/rt-cpan-export-db
+++ b/bin/rt-cpan-export-db
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;

commit 44be38ba1734727e53510372dbbbf1bc7627bc97
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Apr 4 11:18:17 2013 -0700

    Update script usage lines to refer to /opt/rt4 rather than /opt/rt3

diff --git a/bin/rt-cpan-bugs-per-dists b/bin/rt-cpan-bugs-per-dists
index e477114..055bf11 100755
--- a/bin/rt-cpan-bugs-per-dists
+++ b/bin/rt-cpan-bugs-per-dists
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 eval { require RT; 1 } or do {
-    print STDERR "$@\n\nusage: perl -I /opt/rt3/local/lib -I/opt/rt3/lib $0 > results.tsv\n";
+    print STDERR "$@\n\nusage: perl -I /opt/rt4/local/lib -I/opt/rt4/lib $0 > results.tsv\n";
     exit 1;
 };
 
diff --git a/bin/rt-cpan-email-addresses b/bin/rt-cpan-email-addresses
index 31319d9..4e82cfe 100755
--- a/bin/rt-cpan-email-addresses
+++ b/bin/rt-cpan-email-addresses
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 eval { require RT; 1 } or do {
-    print STDERR "$@\n\nusage: perl -I /opt/rt3/local/lib -I/opt/rt3/lib $0 > results.tsv\n";
+    print STDERR "$@\n\nusage: perl -I /opt/rt4/local/lib -I/opt/rt4/lib $0 > results.tsv\n";
     exit 1;
 };
 
diff --git a/bin/rt-cpan-export-db b/bin/rt-cpan-export-db
index 96e2113..815ba8b 100755
--- a/bin/rt-cpan-export-db
+++ b/bin/rt-cpan-export-db
@@ -15,7 +15,7 @@ use DBI                ();
 use DBD::SQLite        ();
 
 sub usage {
-    print STDERR "\nUsage: perl -I /opt/rt3/local/lib -I/opt/rt3/lib $0 /export/directory\n\n";
+    print STDERR "\nUsage: perl -I /opt/rt4/local/lib -I/opt/rt4/lib $0 /export/directory\n\n";
     return 1;
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list