← Back to team overview

dulwich-users team mailing list archive

Patches: sorted_tree_items, header cleanup, MemoryRepo, logging

 

This is quite the grab-bag of changes :). Available as usual at my github
fork:
http://github.com/dborowitz/dulwich

I think Augie has requested that we do code reviews in some place public,
like this mailing list. If others agree I'm happy to oblige by mailing
patches.

b9677d0 Add tests for sorted_tree_items and C implementation.
186fb3a Fix memory leak in C implementation of sorted_tree_items.
0994d03 Clean up file headers.
4a42aad Fix copyright in dul-web.
e146b26 Move named file initilization to BaseRepo.
9f08973 Use / as separator for named files on all platforms.
f8d06e0 Add a MemoryRepo that stores everything in memory.
fe01126 Add logging utilities and server logging.
6a6adb1 Add simple logging to HTTP server.

 NEWS                                |   27 ++++++++++
 bin/dul-daemon                      |   10 ++--
 bin/dul-receive-pack                |    6 +-
 bin/dul-upload-pack                 |    6 +-
 bin/dul-web                         |   39 ++++++++++++--
 bin/dulwich                         |    6 +-
 dulwich/__init__.py                 |    8 ++--
 dulwich/_objects.c                  |   32 ++++++++---
 dulwich/fastexport.py               |    8 ++--
 dulwich/index.py                    |    8 ++--
 dulwich/log_utils.py                |   67 +++++++++++++++++++++++
 dulwich/lru_cache.py                |    1 +
 dulwich/misc.py                     |    7 ++-
 dulwich/objects.py                  |   10 +++-
 dulwich/pack.py                     |    4 +-
 dulwich/patch.py                    |   10 ++--
 dulwich/protocol.py                 |    2 +-
 dulwich/repo.py                     |   99
++++++++++++++++++++++++++++++-----
 dulwich/server.py                   |   20 ++++++-
 dulwich/tests/__init__.py           |    8 ++--
 dulwich/tests/compat/test_pack.py   |    4 +-
 dulwich/tests/compat/test_server.py |    4 +-
 dulwich/tests/compat/test_web.py    |    4 +-
 dulwich/tests/test_fastexport.py    |    8 ++--
 dulwich/tests/test_file.py          |    1 -
 dulwich/tests/test_index.py         |    1 -
 dulwich/tests/test_object_store.py  |    1 -
 dulwich/tests/test_objects.py       |   57 +++++++++++++++++---
 dulwich/tests/test_pack.py          |    1 -
 dulwich/tests/test_patch.py         |    8 ++--
 dulwich/tests/test_protocol.py      |    7 +--
 dulwich/tests/test_repository.py    |   25 ++++++++-
 dulwich/tests/test_server.py        |    1 -
 dulwich/tests/test_web.py           |    2 +-
 dulwich/web.py                      |   24 +++++++--
 setup.py                            |    2 +-
 36 files changed, 417 insertions(+), 111 deletions(-)

Follow ups