[Bps-public-commit] r11530 - in SVN-PropDB: . lib/Prophet

jesse at bestpractical.com jesse at bestpractical.com
Sat Apr 5 05:49:35 EDT 2008


Author: jesse
Date: Sat Apr  5 05:49:33 2008
New Revision: 11530

Added:
   SVN-PropDB/lib/Prophet/ForeignReplica.pm
Modified:
   SVN-PropDB/   (props changed)
   SVN-PropDB/lib/Prophet/Replica/RT.pm

Log:
 r29232 at 68-247-170-82:  jesse | 2008-04-04 23:49:14 -1000
 * Initial commit of a baseclass for secondclass "foreign" replicas


Added: SVN-PropDB/lib/Prophet/ForeignReplica.pm
==============================================================================
--- (empty file)
+++ SVN-PropDB/lib/Prophet/ForeignReplica.pm	Sat Apr  5 05:49:33 2008
@@ -0,0 +1,16 @@
+use warnings;
+use strict;
+
+
+package Prophet::ForeignReplica;
+use base qw/Prophet::Replica/;
+
+=head1 NAME
+
+=head1 DESCRIPTION
+
+This abstract baseclass implements the helpers you need to be able to easily sync a prophet replica with a "second class citizen" replica which can't exactly reconstruct changesets, doesn't use uuids to track records and so on.
+
+=cut
+
+1;

Modified: SVN-PropDB/lib/Prophet/Replica/RT.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Replica/RT.pm	(original)
+++ SVN-PropDB/lib/Prophet/Replica/RT.pm	Sat Apr  5 05:49:33 2008
@@ -2,7 +2,7 @@
 use strict;
 
 package Prophet::Replica::RT;
-use base qw/Prophet::Replica/;
+use base qw/Prophet::ForeignReplica/;
 use Params::Validate qw(:all);
 use UNIVERSAL::require;
 use RT::Client::REST       ();
@@ -11,7 +11,6 @@
 use Memoize;
 use Prophet::Handle;
 use Prophet::ChangeSet;
-use Prophet::Conflict;
 use Prophet::Replica::RT::PullEncoder;
 use App::Cache;
 



More information about the Bps-public-commit mailing list