[Bps-public-commit] SD branch, master, updated. 6f9e31d5b9898a1c6d4a23b20cc13ae0f5dfc598
jesse
jesse at bestpractical.com
Thu Jun 18 10:30:17 EDT 2009
The branch, master has been updated
via 6f9e31d5b9898a1c6d4a23b20cc13ae0f5dfc598 (commit)
via a9d6b82fdb6b5c0c2573351edeadf85d0ad1d5c4 (commit)
via b6c8323b9ca392cb3619cb321ddb5275b01c8648 (commit)
from 11158d0f00d5c768e0fe05d6d55d92fd2f87c739 (commit)
Summary of changes:
lib/App/SD.pm | 8 ++++++++
tools/shipwright-package | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit b6c8323b9ca392cb3619cb321ddb5275b01c8648
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sun Jun 14 16:46:30 2009 -0400
Switch to using SQLite replicas by default
diff --git a/lib/App/SD.pm b/lib/App/SD.pm
index 7f8e47e..9ee0bc6 100644
--- a/lib/App/SD.pm
+++ b/lib/App/SD.pm
@@ -13,6 +13,14 @@ has '+config' => (
}
);
+use constant DEFAULT_REPLICA_TYPE => 'sqlite';
+
+sub default_replica_type {
+ my $self = shift;
+ return $ENV{'PROPHET_REPLICA_TYPE'} || DEFAULT_REPLICA_TYPE;
+}
+
+
sub database_settings {
{
statuses => ['24183C4D-EFD0-4B16-A207-ED7598E875E6' => qw/new open stalled closed rejected/],
commit a9d6b82fdb6b5c0c2573351edeadf85d0ad1d5c4
Merge: b6c8323... 11158d0...
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Jun 15 10:32:21 2009 -0400
Merge branch 'master' of fsck.com:/git/sd
* 'master' of fsck.com:/git/sd:
typo fix
commit 6f9e31d5b9898a1c6d4a23b20cc13ae0f5dfc598
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Thu Jun 18 09:29:55 2009 -0500
clean up the shipwright packaging tool
diff --git a/tools/shipwright-package b/tools/shipwright-package
index 83073a7..e669e2e 100644
--- a/tools/shipwright-package
+++ b/tools/shipwright-package
@@ -15,6 +15,8 @@ $IMPORT \
cpan:HTTP::Server::Simple \
cpan:File::ShareDir \
cpan:DBD::SQLite \
+ cpan:Net::GitHub \
+ cpan:Net::Google::Code \
cpan:Term::ReadLine::Perl \
cpan:JSON::XS \
cpan:Net::Bonjour \
@@ -25,7 +27,6 @@ $IMPORT \
cpan:Net::Jifty \
cpan:Net::Trac \
git:git+ssh://fsck.com/git/sd.git
-$IMPORT svn://fsck.com/Net-Google-Code/trunk Net-Google-Code
cd /tmp
rm -rf sdex
#shipwright update -r $SVN_PATH cpan-Module-Build --add-deps cpan-Pod-Simple
@@ -50,6 +51,5 @@ 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-$$
+svn export file://$REPO /tmp/sdex-$$
echo "cd /tmp/sdex-$$; ./bin/shipwright-builder"
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list