5 * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
7 * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
9 * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
12 * Fix capability negotiation when fetching packs over HTTP.
13 (#1072461, William Grant)
15 * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
17 * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
21 * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
24 * Add `Repo.get_description` method. (Jelmer Vernooij)
26 * Support thin packs in Pack.iterobjects() and Pack.get_raw().
29 * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
32 * Add paramiko-based SSH vendor. (Aaron O'Mullan)
34 * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
37 * Add ObjectStore.close(). (Jelmer Vernooij)
39 * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
44 * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
47 * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
48 abort() method that can be used to cancel the pack operation.
55 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
57 * Use indentation consistent with C Git in config files.
58 (#1031356, Curt Moore, Jelmer Vernooij)
60 * Recognize and skip binary files in diff function.
63 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
64 (Brian Visel, #1169368)
66 * Preserve ordering of entries in configuration.
69 * Support ~ expansion in SSH client paths. (milki, #1083439)
71 * Support relative paths in alternate paths.
72 (milki, Michel Lespinasse, #1175007)
74 * Log all error messages from wsgiref server to the logging module. This
75 makes the test suit quiet again. (Gary van der Merwe)
77 * Support passing None for empty tree in changes_from_tree.
80 * Support fetching empty repository in client. (milki, #1060462)
84 * Add optional honor_filemode flag to build_index_from_tree.
87 * Support core/filemode setting when building trees. (Jelmer Vernooij)
89 * Add chapter on tags in tutorial. (Ryan Faulkner)
93 * Add support for mergetags. (milki, #963525)
95 * Add support for posix shell hooks. (milki)
101 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
104 * Fix compatibility with Python 2.4. (David Carr)
110 * dulwich.__init__ no longer imports client, protocol, repo and
111 server modules. (Jelmer Vernooij)
115 * ConfigDict now behaves more like a dictionary.
116 (Adam 'Cezar' Jenkins, issue #58)
118 * HTTPGitApplication now takes an optional
119 `fallback_app` argument. (Jonas Haag, issue #67)
121 * Support for large pack index files. (Jameson Nash)
125 * Make index entry tests a little bit less strict, to cope with
126 slightly different behaviour on various platforms.
129 * ``setup.py test`` (available when setuptools is installed) now
130 runs all tests, not just the basic unit tests.
135 * Commit._deserialize now actually deserializes the current state rather than
136 the previous one. (Yifan Zhang, issue #59)
138 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
140 * Support cloning repositories without HEAD set.
141 (D-Key, Jelmer Vernooij, issue #69)
143 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
145 * In ``get_transport_and_path``, pass extra keyword arguments on to
146 HttpGitClient. (Jelmer Vernooij)
152 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
154 * Be a little bit strict about OS behaviour in index tests.
155 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
161 * Options on the same line as sections in config files are now supported.
162 (Jelmer Vernooij, #920553)
164 * Only negotiate capabilities that are also supported by the server.
165 (Rod Cloutier, Risto Kankkunen)
167 * Fix parsing of invalid timezone offsets with two minus signs.
168 (Jason R. Coombs, #697828)
170 * Reset environment variables during tests, to avoid
171 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
175 * $HOME is now explicitly specified for tests that use it to read
176 ``~/.gitconfig``, to prevent test isolation issues.
177 (Jelmer Vernooij, #920330)
181 * Additional arguments to get_transport_and_path are now passed
182 on to the constructor of the transport. (Sam Vilain)
184 * The WSGI server now transparently handles when a git client submits data
185 using Content-Encoding: gzip.
186 (David Blewett, Jelmer Vernooij)
188 * Add dulwich.index.build_index_from_tree(). (milki)
194 * The config parser now supports the git-config file format as
195 described in git-config(1) and can write git config files.
196 (Jelmer Vernooij, #531092, #768687)
198 * ``Repo.do_commit`` will now use the user identity from
199 .git/config or ~/.gitconfig if none was explicitly specified.
204 * Allow ``determine_wants`` methods to include the zero sha in their
205 return value. (Jelmer Vernooij)
211 * Cope with different zlib buffer sizes in sha1 file parser.
214 * Fix get_transport_and_path for HTTP/HTTPS URLs.
217 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
219 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
221 * Properly abort connections when the determine_wants function
222 raises an exception. (Jelmer Vernooij, #856769)
224 * Tweak xcodebuild hack to deal with more error output.
225 (Jelmer Vernooij, #903840)
229 * Add support for retrieving tarballs from remote servers.
230 (Jelmer Vernooij, #379087)
232 * New method ``update_server_info`` which generates data
233 for dumb server access. (Jelmer Vernooij, #731235)
239 * Repo.do_commit has a new argument 'ref'.
241 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
243 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
245 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
247 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
250 * ``HttpGitClient`` which supports the smart server protocol over
251 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
253 * Add basic support for alternates. (Jelmer Vernooij, #810429)
257 * unittest2 or python >= 2.7 is now required for the testsuite.
258 testtools is no longer supported. (Jelmer Vernooij, #830713)
262 * Fix compilation with older versions of MSVC. (Martin gz)
264 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
266 * Smart protocol clients can now change refs even if they are
267 not uploading new data. (Jelmer Vernooij, #855993)
269 * Don't compile C extensions when running in pypy.
270 (Ronny Pfannschmidt, #881546)
272 * Use different name for strnlen replacement function to avoid clashing
273 with system strnlen. (Jelmer Vernooij, #880362)
277 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
284 * New DeltaChainIterator abstract class for quickly iterating all objects in
285 a pack, with implementations for pack indexing and inflation.
288 * New walk module with a Walker class for customizable commit walking.
291 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
293 * Easy rename detection in RenameDetector even without find_copies_harder.
298 * Avoid storing all objects in memory when writing pack.
299 (Jelmer Vernooij, #813268)
301 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
303 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
305 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
307 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
309 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
311 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
313 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
314 left in the buffer. (Dave Borowitz)
316 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
318 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
320 * ObjectStore.get_graph_walker() now no longer yields the same
321 revision more than once. This has a significant improvement for
322 performance when wide revision graphs are involved.
323 (Jelmer Vernooij, #818168)
325 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
327 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
329 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
331 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
333 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
336 * Use correct MIME types in web server. (Dave Borowitz)
340 * write_pack no longer takes the num_objects argument and requires an object
341 to be passed in that is iterable (rather than an iterator) and that
342 provides __len__. (Jelmer Vernooij)
344 * write_pack_data has been renamed to write_pack_objects and no longer takes a
345 num_objects argument. (Jelmer Vernooij)
347 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
348 PackStreamReader.read_objects now take an additional argument indicating a
349 crc32 to compute. (Dave Borowitz)
351 * PackObjectIterator was removed; its functionality is still exposed by
352 PackData.iterobjects. (Dave Borowitz)
354 * Add a sha arg to write_pack_object to incrementally compute a SHA.
357 * Include offset in PackStreamReader results. (Dave Borowitz)
359 * Move PackStreamReader from server to pack. (Dave Borowitz)
361 * Extract a check_length_and_checksum, compute_file_sha, and
362 pack_object_header pack helper functions. (Dave Borowitz)
364 * Extract a compute_file_sha function. (Dave Borowitz)
366 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
367 the thin pack and moves it in in one step. Remove ThinPackData as well.
370 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
372 * New UnpackedObject data class that replaces ad-hoc tuples in the return
373 value of unpack_object and various DeltaChainIterator methods.
376 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
378 * Optionally create RenameDetectors without passing in tree SHAs.
381 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
383 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
385 * Optionally pass a request object through to server handlers. (Dave Borowitz)
389 * If setuptools is installed, "python setup.py test" will now run the testsuite.
392 * Add a new build_pack test utility for building packs from a simple spec.
395 * Add a new build_commit_graph test utility for building commits from a
396 simple spec. (Dave Borowitz)
402 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
404 * Fix the build on Windows. (Pascal Quantin)
406 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
407 (Max Bowsher, #707438)
409 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
412 * write_tree_diff() now supports submodules.
415 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
420 * Sphinxified documentation. (Lukasz Balcerzak)
422 * Add Pack.keep.(Marc Brinkmann)
426 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
427 is now consistent with the rest of Dulwich. Existing code will still
428 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
430 * Tree.entries() is now deprecated in favour of Tree.items() and
431 Tree.iteritems(). (Jelmer Vernooij)
437 * New `dulwich.diff_tree` module for simple content-based rename detection.
440 * Add Tree.items(). (Jelmer Vernooij)
442 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
444 * Add write_tree_diff(). (Jelmer Vernooij)
446 * Add `serve_command` function for git server commands as executables.
449 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
450 (Dave Borowitz, #568493)
454 * Correct short-circuiting operation for no-op fetches in the server.
457 * Support parsing git mbox patches without a version tail, as generated by
458 Mercurial. (Jelmer Vernooij)
460 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
462 * Zero-padded file modes in Tree objects no longer trigger an exception but
463 the check code warns about them. (Augie Fackler, #581064)
465 * Repo.init() now honors the mkdir flag. (#671159)
467 * The ref format is now checked when setting a ref rather than when reading it back.
468 (Dave Borowitz, #653527)
470 * Make sure pack files are closed correctly. (Tay Ray Chuan)
474 * Run the tutorial inside the test suite. (Jelmer Vernooij)
476 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
484 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
486 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
488 * ThinPackData.from_file now works with resolve_ext_ref callback.
491 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
493 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
497 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
499 * Web server supports streaming progress/pack output. (Dave Borowitz)
501 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
503 * Distinguish between missing files and read errors in HTTP server.
506 * Initial work on support for fastimport using python-fastimport.
509 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
511 * Delegate SHA peeling to the object store. (Dave Borowitz)
515 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
517 * New tests in test_web with better coverage and fewer ad-hoc mocks.
520 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
522 * Fix use when testtools is installed. (Jelmer Vernooij)
524 * Add trivial test for write_pack_header. (Jelmer Vernooij)
526 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
528 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
530 * Use real in-memory objects rather than stubs for server tests.
533 * Clean up MissingObjectFinder. (Dave Borowitz)
537 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
538 order. (Dave Borowitz)
540 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
543 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
545 * Change server capabilities methods to classmethods. (Dave Borowitz)
547 * Tweak server handler injection. (Dave Borowitz)
549 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
550 itself a subclass of PackIndex. (Jelmer Vernooij)
554 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
556 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
558 * Explicitly specify allowed protocol commands to
559 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
561 * Add utility functions to DictRefsContainer. (Dave Borowitz)
568 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
570 * Use correct path separators for named repo files. (Dave Borowitz)
572 * python > 2.7 and testtools-based test runners will now also pick up skipped
573 tests correctly. (Jelmer Vernooij)
577 * Move named file initilization to BaseRepo. (Dave Borowitz)
579 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
581 * The GitClient interface has been cleaned up and instances are now reusable.
584 * Allow overriding paths to executables in GitSSHClient.
585 (Ross Light, Jelmer Vernooij, #585204)
587 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
591 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
593 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
595 * Quiet logging output from web tests. (Dave Borowitz)
597 * More flexible version checking for compat tests. (Dave Borowitz)
599 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
603 * Clean up file headers. (Dave Borowitz)
607 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
611 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
612 rather than a filename. (Jelmer Vernooij)
614 * Make dul-daemon/dul-web trivial wrappers around server functionality.
617 * Move reference WSGI handler to web.py. (Dave Borowitz)
619 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
621 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
626 note: This list is most likely incomplete for 0.6.0.
630 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
633 * Deal with capabilities required by the client, even if they
634 can not be disabled in the server. (Dave Borowitz)
636 * Fix trailing newlines in generated patch files.
639 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
641 * Cope with \r in ref files on Windows. (
642 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
644 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
646 * Support packed ref deletion with no peeled refs. (Augie Fackler)
648 * Fix send pack when there is nothing to fetch. (Augie Fackler)
650 * Fix fetch if no progress function is specified. (Augie Fackler)
652 * Allow double-staging of files that are deleted in the index.
655 * Fix RefsContainer.add_if_new to support dangling symrefs.
658 * Non-existant index files in non-bare repositories are now treated as
659 empty. (Dave Borowitz)
661 * Always update ShaFile.id when the contents of the object get changed.
664 * Various Python2.4-compatibility fixes. (Dave Borowitz)
666 * Fix thin pack handling. (Dave Borowitz)
670 * Add include-tag capability to server. (Dave Borowitz)
672 * New dulwich.fastexport module that can generate fastexport
673 streams. (Jelmer Vernooij)
675 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
677 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
679 * Overall improvements checking Git objects. (Dave Borowitz)
681 * Packs are now verified while they are received. (Dave Borowitz)
685 * Add framework for testing compatibility with C Git. (Dave Borowitz)
687 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
689 * Cope with diffstat not being available on all platforms.
690 (Tay Ray Chuan, Jelmer Vernooij)
692 * Add make_object and make_commit convenience functions to test utils.
697 * The 'committer' and 'message' arguments to Repo.do_commit() have
698 been swapped. 'committer' is now optional. (Jelmer Vernooij)
700 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
703 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
704 for clarity. (Jelmer Vernooij)
708 * The primary serialization APIs in dulwich.objects now work
709 with chunks of strings rather than with full-text strings.
716 * Support custom fields in commits (readonly). (Jelmer Vernooij)
718 * Improved ref handling. (Dave Borowitz)
720 * Rework server protocol to be smarter and interoperate with cgit client.
723 * Add a GitFile class that uses the same locking protocol for writes as
724 cgit. (Dave Borowitz)
726 * Cope with forward slashes correctly in the index on Windows.
727 (Jelmer Vernooij, #526793)
731 * --pure option to setup.py to allow building/installing without the C
732 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
734 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
736 * HTTP dumb and smart server. (Dave Borowitz)
738 * Add abstract baseclass for Repo that does not require file system
739 operations. (Dave Borowitz)
745 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
747 * Add Index.changes_from_tree(). (Jelmer Vernooij)
749 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
751 * Add functionality for writing patches in dulwich.patch.
762 * dulwich.object_store.tree_lookup_path will now return the mode and
763 sha of the object found rather than the object itself.
767 * Use binascii.hexlify / binascii.unhexlify for better performance.
769 * Cope with extra unknown data in index files by ignoring it (for now).
771 * Add proper error message when server unexpectedly hangs up. (#415843)
773 * Correctly write opcode for equal in create_delta.
779 * Implement ShaFile.__hash__().
781 * Implement Tree.__len__()
785 * Check for 'objects' and 'refs' directories
786 when looking for a Git repository. (#380818)
792 * Support the encoding field in Commits.
794 * Some Windows compatibility fixes.
796 * Fixed several issues in commit support.
800 * Basic support for handling submodules.
806 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
811 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
812 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
817 * Removed import of 'sha' module in objects.py, which was causing
818 deprecation warnings on Python 2.6.
824 * A new function 'commit_tree' has been added that can commit a tree
829 * The memory usage when generating indexes has been significantly reduced.
831 * A memory leak in the C implementation of parse_tree has been fixed.
833 * The send-pack smart server command now works. (Thanks Scott Chacon)
835 * The handling of short timestamps (less than 10 digits) has been fixed.
837 * The handling of timezones has been fixed.
843 * Fix compatibility with Python2.4.
849 * Support for activity reporting in smart protocol client.
851 * Optional C extensions for better performance in a couple of
852 places that are performance-critical.
858 * Fixed regression in Repo.find_missing_objects()
860 * Don't fetch ^{} objects from remote hosts, as requesting them
863 * Always write pack to disk completely before calculating checksum.
867 * Allow disabling thin packs when talking to remote hosts.