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)
17 * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
20 * Add `Repo.get_description` method. (Jelmer Vernooij)
22 * Support thin packs in Pack.iterobjects() and Pack.get_raw().
25 * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
28 * Add paramiko-based SSH vendor. (Aaron O'Mullan)
32 * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
39 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
41 * Use indentation consistent with C Git in config files.
42 (#1031356, Curt Moore, Jelmer Vernooij)
44 * Recognize and skip binary files in diff function.
47 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
48 (Brian Visel, #1169368)
50 * Preserve ordering of entries in configuration.
53 * Support ~ expansion in SSH client paths. (milki, #1083439)
55 * Support relative paths in alternate paths.
56 (milki, Michel Lespinasse, #1175007)
58 * Log all error messages from wsgiref server to the logging module. This
59 makes the test suit quiet again. (Gary van der Merwe)
61 * Support passing None for empty tree in changes_from_tree.
64 * Support fetching empty repository in client. (milki, #1060462)
68 * Add optional honor_filemode flag to build_index_from_tree.
71 * Support core/filemode setting when building trees. (Jelmer Vernooij)
73 * Add chapter on tags in tutorial. (Ryan Faulkner)
77 * Add support for mergetags. (milki, #963525)
79 * Add support for posix shell hooks. (milki)
85 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
88 * Fix compatibility with Python 2.4. (David Carr)
94 * dulwich.__init__ no longer imports client, protocol, repo and
95 server modules. (Jelmer Vernooij)
99 * ConfigDict now behaves more like a dictionary.
100 (Adam 'Cezar' Jenkins, issue #58)
102 * HTTPGitApplication now takes an optional
103 `fallback_app` argument. (Jonas Haag, issue #67)
105 * Support for large pack index files. (Jameson Nash)
109 * Make index entry tests a little bit less strict, to cope with
110 slightly different behaviour on various platforms.
113 * ``setup.py test`` (available when setuptools is installed) now
114 runs all tests, not just the basic unit tests.
119 * Commit._deserialize now actually deserializes the current state rather than
120 the previous one. (Yifan Zhang, issue #59)
122 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
124 * Support cloning repositories without HEAD set.
125 (D-Key, Jelmer Vernooij, issue #69)
127 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
129 * In ``get_transport_and_path``, pass extra keyword arguments on to
130 HttpGitClient. (Jelmer Vernooij)
136 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
138 * Be a little bit strict about OS behaviour in index tests.
139 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
145 * Options on the same line as sections in config files are now supported.
146 (Jelmer Vernooij, #920553)
148 * Only negotiate capabilities that are also supported by the server.
149 (Rod Cloutier, Risto Kankkunen)
151 * Fix parsing of invalid timezone offsets with two minus signs.
152 (Jason R. Coombs, #697828)
154 * Reset environment variables during tests, to avoid
155 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
159 * $HOME is now explicitly specified for tests that use it to read
160 ``~/.gitconfig``, to prevent test isolation issues.
161 (Jelmer Vernooij, #920330)
165 * Additional arguments to get_transport_and_path are now passed
166 on to the constructor of the transport. (Sam Vilain)
168 * The WSGI server now transparently handles when a git client submits data
169 using Content-Encoding: gzip.
170 (David Blewett, Jelmer Vernooij)
172 * Add dulwich.index.build_index_from_tree(). (milki)
178 * The config parser now supports the git-config file format as
179 described in git-config(1) and can write git config files.
180 (Jelmer Vernooij, #531092, #768687)
182 * ``Repo.do_commit`` will now use the user identity from
183 .git/config or ~/.gitconfig if none was explicitly specified.
188 * Allow ``determine_wants`` methods to include the zero sha in their
189 return value. (Jelmer Vernooij)
195 * Cope with different zlib buffer sizes in sha1 file parser.
198 * Fix get_transport_and_path for HTTP/HTTPS URLs.
201 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
203 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
205 * Properly abort connections when the determine_wants function
206 raises an exception. (Jelmer Vernooij, #856769)
208 * Tweak xcodebuild hack to deal with more error output.
209 (Jelmer Vernooij, #903840)
213 * Add support for retrieving tarballs from remote servers.
214 (Jelmer Vernooij, #379087)
216 * New method ``update_server_info`` which generates data
217 for dumb server access. (Jelmer Vernooij, #731235)
223 * Repo.do_commit has a new argument 'ref'.
225 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
227 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
229 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
231 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
234 * ``HttpGitClient`` which supports the smart server protocol over
235 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
237 * Add basic support for alternates. (Jelmer Vernooij, #810429)
241 * unittest2 or python >= 2.7 is now required for the testsuite.
242 testtools is no longer supported. (Jelmer Vernooij, #830713)
246 * Fix compilation with older versions of MSVC. (Martin gz)
248 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
250 * Smart protocol clients can now change refs even if they are
251 not uploading new data. (Jelmer Vernooij, #855993)
253 * Don't compile C extensions when running in pypy.
254 (Ronny Pfannschmidt, #881546)
256 * Use different name for strnlen replacement function to avoid clashing
257 with system strnlen. (Jelmer Vernooij, #880362)
261 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
268 * New DeltaChainIterator abstract class for quickly iterating all objects in
269 a pack, with implementations for pack indexing and inflation.
272 * New walk module with a Walker class for customizable commit walking.
275 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
277 * Easy rename detection in RenameDetector even without find_copies_harder.
282 * Avoid storing all objects in memory when writing pack.
283 (Jelmer Vernooij, #813268)
285 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
287 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
289 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
291 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
293 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
295 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
297 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
298 left in the buffer. (Dave Borowitz)
300 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
302 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
304 * ObjectStore.get_graph_walker() now no longer yields the same
305 revision more than once. This has a significant improvement for
306 performance when wide revision graphs are involved.
307 (Jelmer Vernooij, #818168)
309 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
311 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
313 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
315 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
317 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
320 * Use correct MIME types in web server. (Dave Borowitz)
324 * write_pack no longer takes the num_objects argument and requires an object
325 to be passed in that is iterable (rather than an iterator) and that
326 provides __len__. (Jelmer Vernooij)
328 * write_pack_data has been renamed to write_pack_objects and no longer takes a
329 num_objects argument. (Jelmer Vernooij)
331 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
332 PackStreamReader.read_objects now take an additional argument indicating a
333 crc32 to compute. (Dave Borowitz)
335 * PackObjectIterator was removed; its functionality is still exposed by
336 PackData.iterobjects. (Dave Borowitz)
338 * Add a sha arg to write_pack_object to incrementally compute a SHA.
341 * Include offset in PackStreamReader results. (Dave Borowitz)
343 * Move PackStreamReader from server to pack. (Dave Borowitz)
345 * Extract a check_length_and_checksum, compute_file_sha, and
346 pack_object_header pack helper functions. (Dave Borowitz)
348 * Extract a compute_file_sha function. (Dave Borowitz)
350 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
351 the thin pack and moves it in in one step. Remove ThinPackData as well.
354 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
356 * New UnpackedObject data class that replaces ad-hoc tuples in the return
357 value of unpack_object and various DeltaChainIterator methods.
360 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
362 * Optionally create RenameDetectors without passing in tree SHAs.
365 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
367 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
369 * Optionally pass a request object through to server handlers. (Dave Borowitz)
373 * If setuptools is installed, "python setup.py test" will now run the testsuite.
376 * Add a new build_pack test utility for building packs from a simple spec.
379 * Add a new build_commit_graph test utility for building commits from a
380 simple spec. (Dave Borowitz)
386 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
388 * Fix the build on Windows. (Pascal Quantin)
390 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
391 (Max Bowsher, #707438)
393 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
396 * write_tree_diff() now supports submodules.
399 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
404 * Sphinxified documentation. (Lukasz Balcerzak)
406 * Add Pack.keep.(Marc Brinkmann)
410 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
411 is now consistent with the rest of Dulwich. Existing code will still
412 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
414 * Tree.entries() is now deprecated in favour of Tree.items() and
415 Tree.iteritems(). (Jelmer Vernooij)
421 * New `dulwich.diff_tree` module for simple content-based rename detection.
424 * Add Tree.items(). (Jelmer Vernooij)
426 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
428 * Add write_tree_diff(). (Jelmer Vernooij)
430 * Add `serve_command` function for git server commands as executables.
433 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
434 (Dave Borowitz, #568493)
438 * Correct short-circuiting operation for no-op fetches in the server.
441 * Support parsing git mbox patches without a version tail, as generated by
442 Mercurial. (Jelmer Vernooij)
444 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
446 * Zero-padded file modes in Tree objects no longer trigger an exception but
447 the check code warns about them. (Augie Fackler, #581064)
449 * Repo.init() now honors the mkdir flag. (#671159)
451 * The ref format is now checked when setting a ref rather than when reading it back.
452 (Dave Borowitz, #653527)
454 * Make sure pack files are closed correctly. (Tay Ray Chuan)
458 * Run the tutorial inside the test suite. (Jelmer Vernooij)
460 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
468 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
470 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
472 * ThinPackData.from_file now works with resolve_ext_ref callback.
475 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
477 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
481 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
483 * Web server supports streaming progress/pack output. (Dave Borowitz)
485 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
487 * Distinguish between missing files and read errors in HTTP server.
490 * Initial work on support for fastimport using python-fastimport.
493 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
495 * Delegate SHA peeling to the object store. (Dave Borowitz)
499 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
501 * New tests in test_web with better coverage and fewer ad-hoc mocks.
504 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
506 * Fix use when testtools is installed. (Jelmer Vernooij)
508 * Add trivial test for write_pack_header. (Jelmer Vernooij)
510 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
512 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
514 * Use real in-memory objects rather than stubs for server tests.
517 * Clean up MissingObjectFinder. (Dave Borowitz)
521 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
522 order. (Dave Borowitz)
524 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
527 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
529 * Change server capabilities methods to classmethods. (Dave Borowitz)
531 * Tweak server handler injection. (Dave Borowitz)
533 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
534 itself a subclass of PackIndex. (Jelmer Vernooij)
538 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
540 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
542 * Explicitly specify allowed protocol commands to
543 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
545 * Add utility functions to DictRefsContainer. (Dave Borowitz)
552 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
554 * Use correct path separators for named repo files. (Dave Borowitz)
556 * python > 2.7 and testtools-based test runners will now also pick up skipped
557 tests correctly. (Jelmer Vernooij)
561 * Move named file initilization to BaseRepo. (Dave Borowitz)
563 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
565 * The GitClient interface has been cleaned up and instances are now reusable.
568 * Allow overriding paths to executables in GitSSHClient.
569 (Ross Light, Jelmer Vernooij, #585204)
571 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
575 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
577 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
579 * Quiet logging output from web tests. (Dave Borowitz)
581 * More flexible version checking for compat tests. (Dave Borowitz)
583 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
587 * Clean up file headers. (Dave Borowitz)
591 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
595 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
596 rather than a filename. (Jelmer Vernooij)
598 * Make dul-daemon/dul-web trivial wrappers around server functionality.
601 * Move reference WSGI handler to web.py. (Dave Borowitz)
603 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
605 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
610 note: This list is most likely incomplete for 0.6.0.
614 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
617 * Deal with capabilities required by the client, even if they
618 can not be disabled in the server. (Dave Borowitz)
620 * Fix trailing newlines in generated patch files.
623 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
625 * Cope with \r in ref files on Windows. (
626 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
628 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
630 * Support packed ref deletion with no peeled refs. (Augie Fackler)
632 * Fix send pack when there is nothing to fetch. (Augie Fackler)
634 * Fix fetch if no progress function is specified. (Augie Fackler)
636 * Allow double-staging of files that are deleted in the index.
639 * Fix RefsContainer.add_if_new to support dangling symrefs.
642 * Non-existant index files in non-bare repositories are now treated as
643 empty. (Dave Borowitz)
645 * Always update ShaFile.id when the contents of the object get changed.
648 * Various Python2.4-compatibility fixes. (Dave Borowitz)
650 * Fix thin pack handling. (Dave Borowitz)
654 * Add include-tag capability to server. (Dave Borowitz)
656 * New dulwich.fastexport module that can generate fastexport
657 streams. (Jelmer Vernooij)
659 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
661 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
663 * Overall improvements checking Git objects. (Dave Borowitz)
665 * Packs are now verified while they are received. (Dave Borowitz)
669 * Add framework for testing compatibility with C Git. (Dave Borowitz)
671 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
673 * Cope with diffstat not being available on all platforms.
674 (Tay Ray Chuan, Jelmer Vernooij)
676 * Add make_object and make_commit convenience functions to test utils.
681 * The 'committer' and 'message' arguments to Repo.do_commit() have
682 been swapped. 'committer' is now optional. (Jelmer Vernooij)
684 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
687 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
688 for clarity. (Jelmer Vernooij)
692 * The primary serialization APIs in dulwich.objects now work
693 with chunks of strings rather than with full-text strings.
700 * Support custom fields in commits (readonly). (Jelmer Vernooij)
702 * Improved ref handling. (Dave Borowitz)
704 * Rework server protocol to be smarter and interoperate with cgit client.
707 * Add a GitFile class that uses the same locking protocol for writes as
708 cgit. (Dave Borowitz)
710 * Cope with forward slashes correctly in the index on Windows.
711 (Jelmer Vernooij, #526793)
715 * --pure option to setup.py to allow building/installing without the C
716 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
718 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
720 * HTTP dumb and smart server. (Dave Borowitz)
722 * Add abstract baseclass for Repo that does not require file system
723 operations. (Dave Borowitz)
729 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
731 * Add Index.changes_from_tree(). (Jelmer Vernooij)
733 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
735 * Add functionality for writing patches in dulwich.patch.
746 * dulwich.object_store.tree_lookup_path will now return the mode and
747 sha of the object found rather than the object itself.
751 * Use binascii.hexlify / binascii.unhexlify for better performance.
753 * Cope with extra unknown data in index files by ignoring it (for now).
755 * Add proper error message when server unexpectedly hangs up. (#415843)
757 * Correctly write opcode for equal in create_delta.
763 * Implement ShaFile.__hash__().
765 * Implement Tree.__len__()
769 * Check for 'objects' and 'refs' directories
770 when looking for a Git repository. (#380818)
776 * Support the encoding field in Commits.
778 * Some Windows compatibility fixes.
780 * Fixed several issues in commit support.
784 * Basic support for handling submodules.
790 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
795 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
796 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
801 * Removed import of 'sha' module in objects.py, which was causing
802 deprecation warnings on Python 2.6.
808 * A new function 'commit_tree' has been added that can commit a tree
813 * The memory usage when generating indexes has been significantly reduced.
815 * A memory leak in the C implementation of parse_tree has been fixed.
817 * The send-pack smart server command now works. (Thanks Scott Chacon)
819 * The handling of short timestamps (less than 10 digits) has been fixed.
821 * The handling of timezones has been fixed.
827 * Fix compatibility with Python2.4.
833 * Support for activity reporting in smart protocol client.
835 * Optional C extensions for better performance in a couple of
836 places that are performance-critical.
842 * Fixed regression in Repo.find_missing_objects()
844 * Don't fetch ^{} objects from remote hosts, as requesting them
847 * Always write pack to disk completely before calculating checksum.
851 * Allow disabling thin packs when talking to remote hosts.