[Bps-public-commit] SD branch, master, updated. f1da7976bb60d4c14e1b919da96133fb846cf599
jesse
jesse at bestpractical.com
Thu Mar 19 12:45:39 EDT 2009
The branch, master has been updated
via f1da7976bb60d4c14e1b919da96133fb846cf599 (commit)
via dc749e3d1fad3b3a35eb4c6558a0425635358ea2 (commit)
from 2de7ef307fbdeec713e96c268d5692a8f7750530 (commit)
Summary of changes:
tools/shipwright-package | 53 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
create mode 100644 tools/shipwright-package
- Log -----------------------------------------------------------------
commit dc749e3d1fad3b3a35eb4c6558a0425635358ea2
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Tue Mar 17 14:09:07 2009 -0400
add the shipwright packaging script
diff --git a/tools/shipwright-package b/tools/shipwright-package
new file mode 100644
index 0000000..d0db64b
--- /dev/null
+++ b/tools/shipwright-package
@@ -0,0 +1,33 @@
+export REPO=/Users/jesse/shipwright-sd/
+export SVN_PATH = "svn:file://$REPO"
+rm -rf $REPO
+svnadmin create $REPO
+
+
+shipwright create -r $SVN_PATH
+export MIN_PERL=5.008006
+export SKIP="--skip=Module::Signature,Test::Pod,Test::Pod::Coverage,Test::Distribution,Pod::Readme,Archive::Tar,Test::Script::Run,HTML::Lint,Prophet,Encode,Date::Calc"
+export IMPORT="shipwright import --min-perl-version=$MIN_PERL $SKIP -r $SVN_PATH --log-file - --log-level info"
+# Optional deps we sitll want
+$IMPORT \
+ cpan:Template::Declare \
+ cpan:HTTP::Server::Simple \
+ cpan:File::ShareDir \
+ cpan:DBD::SQLite \
+ cpan:Term::ReadLine::Perl \
+ cpan:Net::Bonjour \
+ cpan:Term::ReadKey \
+ cpan:Test::Script::Run \
+ git:git+ssh://fsck.com/git/prophet.git \
+ cpan:RT::Client::REST \
+ cpan:Email::Address \
+ cpan:Net::Jifty \
+ cpan:Net::Trac \
+ git:git+ssh://fsck.com/git/sd.git
+cd /tmp
+rm -rf sdex
+shipwright update -r $SVN_PATH sd.git --add-deps prophet.git,cpan-Net-Bonjour,cpan-Email-Address
+shipwright update -r $SVN_PATH prophet.git --add-deps cpan-Term-ReadLine-Perl,cpan-TermReadKey,cpan-DBD-SQLite
+svn export file://$REPO /tmp/sdex
+rsync -rvp /tmp/sdex/ jesse at fsck.com:/tmp/sdex-$$
+echo "cd /tmp/sdex-$$; ./bin/shipwright-builder"
commit f1da7976bb60d4c14e1b919da96133fb846cf599
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Thu Mar 19 12:45:22 2009 -0400
Various post-import cleanups for the sd shipwright packaging
diff --git a/tools/shipwright-package b/tools/shipwright-package
index d0db64b..169d2ba 100644
--- a/tools/shipwright-package
+++ b/tools/shipwright-package
@@ -1,20 +1,23 @@
export REPO=/Users/jesse/shipwright-sd/
-export SVN_PATH = "svn:file://$REPO"
+export SVN_PATH="svn:file://$REPO"
+export MIN_PERL=5.008006
+export SKIP="--skip=Module::Signature,Test::Pod,Test::Pod::Coverage,Test::Distribution,Pod::Readme,Archive::Tar,Test::Script::Run,HTML::Lint,Prophet,Encode,Date::Calc"
+export IMPORT="shipwright import --min-perl-version=$MIN_PERL $SKIP -r $SVN_PATH --log-file - --log-level info"
rm -rf $REPO
svnadmin create $REPO
shipwright create -r $SVN_PATH
-export MIN_PERL=5.008006
-export SKIP="--skip=Module::Signature,Test::Pod,Test::Pod::Coverage,Test::Distribution,Pod::Readme,Archive::Tar,Test::Script::Run,HTML::Lint,Prophet,Encode,Date::Calc"
-export IMPORT="shipwright import --min-perl-version=$MIN_PERL $SKIP -r $SVN_PATH --log-file - --log-level info"
# Optional deps we sitll want
$IMPORT \
+ cpan:Scalar::Util \
+ cpan:Pod::Simple \
cpan:Template::Declare \
cpan:HTTP::Server::Simple \
cpan:File::ShareDir \
cpan:DBD::SQLite \
cpan:Term::ReadLine::Perl \
+ cpan:JSON::XS \
cpan:Net::Bonjour \
cpan:Term::ReadKey \
cpan:Test::Script::Run \
@@ -26,8 +29,25 @@ $IMPORT \
git:git+ssh://fsck.com/git/sd.git
cd /tmp
rm -rf sdex
-shipwright update -r $SVN_PATH sd.git --add-deps prophet.git,cpan-Net-Bonjour,cpan-Email-Address
-shipwright update -r $SVN_PATH prophet.git --add-deps cpan-Term-ReadLine-Perl,cpan-TermReadKey,cpan-DBD-SQLite
+shipwright update -r $SVN_PATH cpan-Module-Build --add-deps cpan-Pod-Simple
+shipwright update -r $SVN_PATH cpan-IO-Compress-Base --add-deps cpan-Scalar-List-Utils
+shipwright update -r $SVN_PATH prophet.git --add-deps cpan-Term-ReadLine-Perl,cpan-TermReadKey,cpan-DBD-SQLite,cpan-File-ShareDir,cpan-HTTP-Server-Simple,cpan-JSON-XS
+shipwright update -r $SVN_PATH sd.git --add-deps prophet.git,cpan-Net-Bonjour,cpan-Email-Address,cpan-Net-Trac,cpan-RT-Client-REST
+shipwright maintain -r $SVN_PATH --update-order
+cd /tmp
+mkdir svnhack-$$
+cd svnhack-$$
+svn co file://${REPO}/scripts/cpan-DateTime-Format-Natural
+cd cpan-DateTime-Format-Natural
+perl -pi -e s'/Build test/Build/g' build
+svn commit -m 'Made DTFN not run its tests which add a slew of deps' build
+cd ..
+svn co file://${REPO}/sources/cpan-Net-Bonjour/vendor
+cd vendor
+perl -pi -e's/^chomp.*?STDIN.*?$/my \$ans = "n";/g;' Makefile.PL
+svn commit -m 'Made Net::Bonjour not promtp ' Makefile.PL
+
+
svn export file://$REPO /tmp/sdex
rsync -rvp /tmp/sdex/ jesse at fsck.com:/tmp/sdex-$$
echo "cd /tmp/sdex-$$; ./bin/shipwright-builder"
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list