Merge lp:~jameinel/u1db/commandline into lp:u1db
Proposed by
John A Meinel
Status: | Merged |
---|---|
Merged at revision: | 103 |
Proposed branch: | lp:~jameinel/u1db/commandline |
Merge into: | lp:u1db |
Diff against target: |
186 lines (+171/-0) 3 files modified
u1db-serve (+50/-0) u1db/tests/commandline/__init__.py (+15/-0) u1db/tests/commandline/test_serve.py (+106/-0) |
To merge this branch: | bzr merge lp:~jameinel/u1db/commandline |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Samuele Pedroni | Approve | ||
Review via email: mp+80846@code.launchpad.net |
Description of the change
This adds 'u1db-serve' as a way to start a U1DB TCPSyncServer instance.
There is some basic tests for it. I may need to tweak the code a bit, because I'm not sure if all of terminate/kill/etc exist on all platforms.
For now, I don't have a default port, but it will use a randomly generated one and tell you where it bound to.
To post a comment you must log in.
Needs int(args.port), I think.