Skip Menu |

This queue is for tickets about the CouchDB-Client CPAN distribution.

Report information
The Basics
Id: 54923
Status: resolved
Priority: 0/
Queue: CouchDB-Client

People
Owner: medwards [...] nasba.org
Requestors: MSTPLBG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.06



Subject: CouchDB::Client: No API function for replication available
An API function for replication seems to be missing completely. Please add one, and please make sure that it has support for the continuous flag.
On Tue Feb 23 21:11:43 2010, MSTPLBG wrote: Show quoted text
> An API function for replication seems to be missing completely. Please > add one, and please make sure that it has support for the continuous flag.
It seems that the most appropriate place to add such a method would be on the CouchDB::Client::DB object. would and API like this cover your needs? replicate( source => 'source url', # source db for pull replication OR target => 'target url', # target for push replication against current db continuous => (0|1), # defaults to false create_target => (0|1), # create target db if non-existent )