← Back to team overview

dulwich-users team mailing list archive

[PATCH 00/13] Miscellaneous cleanup and bugfixes

 

This is my last outstanding patch series (woo!). It largely fixes corner cases
in the web server and rename detector. Some of the refactorings are
specifically to make it easier to implement subclasses of various types for
Google Code, but hopefully they still make sense independently of that.

Also available at https://code.google.com/r/dborowitz-dulwich

(I still don't know what's going on with the patch that's hanging for you on
Oneiric; maybe I'll get time to work on that in the next week or two.)

42d999a Pass an HTTP request object through to handlers.
1393730 server: Allow cloning an empty repo.
9d2cf95 diff_tree: Do easy copy detection without find_copies_harder.
65a48f3 pack: Allow reading of empty packs.
6372fb0 object_store: Don't send a pack with duplicates of the same object.
f5bfbd9 pack: Cache binary SHA of unpacked objects.
2a7030e server: Correctly advertise capabilities during receive-pack.
b9291ae server: Sort ref advertisements.
1f80dfe diff_tree: Fix add/add and add/exact rename conflicts.
dba9c4b diff_tree: Use built-in defaultdict module correctly.
d659622 diff_tree: Factor out a few protected methods in RenameDetector.
1192f9d diff_tree: Remove unnecessarily complicated _matches_any_parent.
fa472a8 web: Use correct result MIME types.

 NEWS                                 |   18 ++++++
 dulwich/diff_tree.py                 |   97 +++++++++++++++-------------------
 dulwich/object_store.py              |    9 ++-
 dulwich/pack.py                      |   14 ++++-
 dulwich/server.py                    |   39 +++++++-------
 dulwich/tests/compat/server_utils.py |   22 ++++++++
 dulwich/tests/test_diff_tree.py      |   58 ++++++++++++++------
 dulwich/tests/test_pack.py           |    4 ++
 dulwich/tests/test_server.py         |    7 ++-
 dulwich/tests/test_web.py            |    8 ++--
 dulwich/web.py                       |    6 +-
 11 files changed, 176 insertions(+), 106 deletions(-)



Follow ups