dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00174
[PATCH 00/10] Server and protocol cleanup
This is a lead-in to shallow clone support on the server. That code may require
some API cleanup before it gets checked in, so I wanted to get this out of the
way first.
dd153ca Allow overwriting id property of objects in test utils.
aa57cbb Add utility functions to DictRefsContainer, useful for tests.
d0ad3a1 test_server: Use real in-memory objects rather than ad-hoc stubs.
ca8d6ce Use run_git_or_fail in compat tests wherever possible.
0ea6603 tests/compat/server_utils: Factor out several methods.
7d83c36 server: Factor out _split_proto_line as a global.
bee27f4 server: Explicitly specify allowed protocol commands.
932f7df Delegate SHA peeling to the object store.
9fb0aeb protocol: Docstring cleanup.
9f5e928 test_protocol: Standardize quote delimiters.
NEWS | 20 ++++
dulwich/errors.py | 11 ++
dulwich/object_store.py | 16 +++
dulwich/protocol.py | 58 +++++++-----
dulwich/repo.py | 25 +++--
dulwich/server.py | 83 +++++++++------
dulwich/tests/compat/server_utils.py | 42 +++++---
dulwich/tests/compat/test_client.py | 10 +-
dulwich/tests/compat/test_pack.py | 7 +-
dulwich/tests/compat/test_repository.py | 7 +-
dulwich/tests/compat/utils.py | 3 +-
dulwich/tests/test_object_store.py | 18 ++++
dulwich/tests/test_objects.py | 7 ++
dulwich/tests/test_protocol.py | 70 +++++++-------
dulwich/tests/test_server.py | 166 ++++++++++++++-----------------
dulwich/tests/utils.py | 12 ++-
16 files changed, 328 insertions(+), 227 deletions(-)
Follow ups
-
[PATCH 10/10] test_protocol: Standardize quote delimiters.
From: dborowitz, 2010-08-02
-
[PATCH 09/10] protocol: Docstring cleanup.
From: dborowitz, 2010-08-02
-
[PATCH 08/10] Delegate SHA peeling to the object store.
From: dborowitz, 2010-08-02
-
[PATCH 07/10] server: Explicitly specify allowed protocol commands.
From: dborowitz, 2010-08-02
-
[PATCH 06/10] server: Factor out _split_proto_line as a global.
From: dborowitz, 2010-08-02
-
[PATCH 05/10] tests/compat/server_utils: Factor out several methods.
From: dborowitz, 2010-08-02
-
[PATCH 04/10] Use run_git_or_fail in compat tests wherever possible.
From: dborowitz, 2010-08-02
-
[PATCH 03/10] test_server: Use real in-memory objects rather than ad-hoc stubs.
From: dborowitz, 2010-08-02
-
[PATCH 02/10] Add utility functions to DictRefsContainer, useful for tests.
From: dborowitz, 2010-08-02
-
[PATCH 01/10] Allow overwriting id property of objects in test utils.
From: dborowitz, 2010-08-02