u1db.open() and db.sync() should take URLs

Bug #999776 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
U1DB
Confirmed
Medium
Unassigned

Bug Description

At the moment, u1db.open assumes the argument is just a local path, and Database.sync() assumes the path is a remote HTTP URL.

If we made those more flexible, it would make the code for u1db-client clearer. u1db-client right now has to inspect the paths to see if they start with 'http://' and then do the right thing. That feels like something that should be abstracted away.

Note that we may not have much coverage of Database.sync() in test_backend.py, since c_backend_wrapper.pyx doesn't even have that attribute.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.