5 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
7 * Use indentation consistent with C Git in config files.
8 (#1031356, Curt Moore, Jelmer Vernooij)
10 * Recognize and skip binary files in diff function.
13 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
14 (Brian Visel, #1169368)
16 * Preserve ordering of entries in configuration.
19 * Support ~ expansion in SSH client paths. (milki, #1083439)
21 * Support relative paths in alternate paths.
22 (milki, Michel Lespinasse, #1175007)
24 * Log all error messages from wsgiref server to the logging module. This
25 makes the test suit quiet again. (Gary van der Merwe)
27 * Support passing None for empty tree in changes_from_tree.
32 * Add optional honor_filemode flag to build_index_from_tree.
35 * Support core/filemode setting when building trees. (Jelmer Vernooij)
37 * Add chapter on tags in tutorial. (Ryan Faulkner)
41 * Add support for mergetags. (milki, #963525)
47 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
50 * Fix compatibility with Python 2.4. (David Carr)
56 * dulwich.__init__ no longer imports client, protocol, repo and
57 server modules. (Jelmer Vernooij)
61 * ConfigDict now behaves more like a dictionary.
62 (Adam 'Cezar' Jenkins, issue #58)
64 * HTTPGitApplication now takes an optional
65 `fallback_app` argument. (Jonas Haag, issue #67)
67 * Support for large pack index files. (Jameson Nash)
71 * Make index entry tests a little bit less strict, to cope with
72 slightly different behaviour on various platforms.
75 * ``setup.py test`` (available when setuptools is installed) now
76 runs all tests, not just the basic unit tests.
81 * Commit._deserialize now actually deserializes the current state rather than
82 the previous one. (Yifan Zhang, issue #59)
84 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
86 * Support cloning repositories without HEAD set.
87 (D-Key, Jelmer Vernooij, issue #69)
89 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
91 * In ``get_transport_and_path``, pass extra keyword arguments on to
92 HttpGitClient. (Jelmer Vernooij)
98 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
100 * Be a little bit strict about OS behaviour in index tests.
101 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
107 * Options on the same line as sections in config files are now supported.
108 (Jelmer Vernooij, #920553)
110 * Only negotiate capabilities that are also supported by the server.
111 (Rod Cloutier, Risto Kankkunen)
113 * Fix parsing of invalid timezone offsets with two minus signs.
114 (Jason R. Coombs, #697828)
116 * Reset environment variables during tests, to avoid
117 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
121 * $HOME is now explicitly specified for tests that use it to read
122 ``~/.gitconfig``, to prevent test isolation issues.
123 (Jelmer Vernooij, #920330)
127 * Additional arguments to get_transport_and_path are now passed
128 on to the constructor of the transport. (Sam Vilain)
130 * The WSGI server now transparently handles when a git client submits data
131 using Content-Encoding: gzip.
132 (David Blewett, Jelmer Vernooij)
134 * Add dulwich.index.build_index_from_tree(). (milki)
140 * The config parser now supports the git-config file format as
141 described in git-config(1) and can write git config files.
142 (Jelmer Vernooij, #531092, #768687)
144 * ``Repo.do_commit`` will now use the user identity from
145 .git/config or ~/.gitconfig if none was explicitly specified.
150 * Allow ``determine_wants`` methods to include the zero sha in their
151 return value. (Jelmer Vernooij)
157 * Cope with different zlib buffer sizes in sha1 file parser.
160 * Fix get_transport_and_path for HTTP/HTTPS URLs.
163 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
165 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
167 * Properly abort connections when the determine_wants function
168 raises an exception. (Jelmer Vernooij, #856769)
170 * Tweak xcodebuild hack to deal with more error output.
171 (Jelmer Vernooij, #903840)
175 * Add support for retrieving tarballs from remote servers.
176 (Jelmer Vernooij, #379087)
178 * New method ``update_server_info`` which generates data
179 for dumb server access. (Jelmer Vernooij, #731235)
185 * Repo.do_commit has a new argument 'ref'.
187 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
189 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
191 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
193 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
196 * ``HttpGitClient`` which supports the smart server protocol over
197 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
199 * Add basic support for alternates. (Jelmer Vernooij, #810429)
203 * unittest2 or python >= 2.7 is now required for the testsuite.
204 testtools is no longer supported. (Jelmer Vernooij, #830713)
208 * Fix compilation with older versions of MSVC. (Martin gz)
210 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
212 * Smart protocol clients can now change refs even if they are
213 not uploading new data. (Jelmer Vernooij, #855993)
215 * Don't compile C extensions when running in pypy.
216 (Ronny Pfannschmidt, #881546)
218 * Use different name for strnlen replacement function to avoid clashing
219 with system strnlen. (Jelmer Vernooij, #880362)
223 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
230 * New DeltaChainIterator abstract class for quickly iterating all objects in
231 a pack, with implementations for pack indexing and inflation.
234 * New walk module with a Walker class for customizable commit walking.
237 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
239 * Easy rename detection in RenameDetector even without find_copies_harder.
244 * Avoid storing all objects in memory when writing pack.
245 (Jelmer Vernooij, #813268)
247 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
249 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
251 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
253 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
255 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
257 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
259 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
260 left in the buffer. (Dave Borowitz)
262 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
264 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
266 * ObjectStore.get_graph_walker() now no longer yields the same
267 revision more than once. This has a significant improvement for
268 performance when wide revision graphs are involved.
269 (Jelmer Vernooij, #818168)
271 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
273 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
275 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
277 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
279 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
282 * Use correct MIME types in web server. (Dave Borowitz)
286 * write_pack no longer takes the num_objects argument and requires an object
287 to be passed in that is iterable (rather than an iterator) and that
288 provides __len__. (Jelmer Vernooij)
290 * write_pack_data has been renamed to write_pack_objects and no longer takes a
291 num_objects argument. (Jelmer Vernooij)
293 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
294 PackStreamReader.read_objects now take an additional argument indicating a
295 crc32 to compute. (Dave Borowitz)
297 * PackObjectIterator was removed; its functionality is still exposed by
298 PackData.iterobjects. (Dave Borowitz)
300 * Add a sha arg to write_pack_object to incrementally compute a SHA.
303 * Include offset in PackStreamReader results. (Dave Borowitz)
305 * Move PackStreamReader from server to pack. (Dave Borowitz)
307 * Extract a check_length_and_checksum, compute_file_sha, and
308 pack_object_header pack helper functions. (Dave Borowitz)
310 * Extract a compute_file_sha function. (Dave Borowitz)
312 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
313 the thin pack and moves it in in one step. Remove ThinPackData as well.
316 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
318 * New UnpackedObject data class that replaces ad-hoc tuples in the return
319 value of unpack_object and various DeltaChainIterator methods.
322 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
324 * Optionally create RenameDetectors without passing in tree SHAs.
327 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
329 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
331 * Optionally pass a request object through to server handlers. (Dave Borowitz)
335 * If setuptools is installed, "python setup.py test" will now run the testsuite.
338 * Add a new build_pack test utility for building packs from a simple spec.
341 * Add a new build_commit_graph test utility for building commits from a
342 simple spec. (Dave Borowitz)
348 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
350 * Fix the build on Windows. (Pascal Quantin)
352 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
353 (Max Bowsher, #707438)
355 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
358 * write_tree_diff() now supports submodules.
361 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
366 * Sphinxified documentation. (Lukasz Balcerzak)
368 * Add Pack.keep.(Marc Brinkmann)
372 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
373 is now consistent with the rest of Dulwich. Existing code will still
374 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
376 * Tree.entries() is now deprecated in favour of Tree.items() and
377 Tree.iteritems(). (Jelmer Vernooij)
383 * New `dulwich.diff_tree` module for simple content-based rename detection.
386 * Add Tree.items(). (Jelmer Vernooij)
388 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
390 * Add write_tree_diff(). (Jelmer Vernooij)
392 * Add `serve_command` function for git server commands as executables.
395 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
396 (Dave Borowitz, #568493)
400 * Correct short-circuiting operation for no-op fetches in the server.
403 * Support parsing git mbox patches without a version tail, as generated by
404 Mercurial. (Jelmer Vernooij)
406 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
408 * Zero-padded file modes in Tree objects no longer trigger an exception but
409 the check code warns about them. (Augie Fackler, #581064)
411 * Repo.init() now honors the mkdir flag. (#671159)
413 * The ref format is now checked when setting a ref rather than when reading it back.
414 (Dave Borowitz, #653527)
416 * Make sure pack files are closed correctly. (Tay Ray Chuan)
420 * Run the tutorial inside the test suite. (Jelmer Vernooij)
422 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
430 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
432 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
434 * ThinPackData.from_file now works with resolve_ext_ref callback.
437 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
439 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
443 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
445 * Web server supports streaming progress/pack output. (Dave Borowitz)
447 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
449 * Distinguish between missing files and read errors in HTTP server.
452 * Initial work on support for fastimport using python-fastimport.
455 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
457 * Delegate SHA peeling to the object store. (Dave Borowitz)
461 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
463 * New tests in test_web with better coverage and fewer ad-hoc mocks.
466 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
468 * Fix use when testtools is installed. (Jelmer Vernooij)
470 * Add trivial test for write_pack_header. (Jelmer Vernooij)
472 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
474 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
476 * Use real in-memory objects rather than stubs for server tests.
479 * Clean up MissingObjectFinder. (Dave Borowitz)
483 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
484 order. (Dave Borowitz)
486 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
489 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
491 * Change server capabilities methods to classmethods. (Dave Borowitz)
493 * Tweak server handler injection. (Dave Borowitz)
495 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
496 itself a subclass of PackIndex. (Jelmer Vernooij)
500 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
502 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
504 * Explicitly specify allowed protocol commands to
505 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
507 * Add utility functions to DictRefsContainer. (Dave Borowitz)
514 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
516 * Use correct path separators for named repo files. (Dave Borowitz)
518 * python > 2.7 and testtools-based test runners will now also pick up skipped
519 tests correctly. (Jelmer Vernooij)
523 * Move named file initilization to BaseRepo. (Dave Borowitz)
525 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
527 * The GitClient interface has been cleaned up and instances are now reusable.
530 * Allow overriding paths to executables in GitSSHClient.
531 (Ross Light, Jelmer Vernooij, #585204)
533 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
537 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
539 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
541 * Quiet logging output from web tests. (Dave Borowitz)
543 * More flexible version checking for compat tests. (Dave Borowitz)
545 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
549 * Clean up file headers. (Dave Borowitz)
553 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
557 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
558 rather than a filename. (Jelmer Vernooij)
560 * Make dul-daemon/dul-web trivial wrappers around server functionality.
563 * Move reference WSGI handler to web.py. (Dave Borowitz)
565 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
567 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
572 note: This list is most likely incomplete for 0.6.0.
576 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
579 * Deal with capabilities required by the client, even if they
580 can not be disabled in the server. (Dave Borowitz)
582 * Fix trailing newlines in generated patch files.
585 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
587 * Cope with \r in ref files on Windows. (
588 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
590 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
592 * Support packed ref deletion with no peeled refs. (Augie Fackler)
594 * Fix send pack when there is nothing to fetch. (Augie Fackler)
596 * Fix fetch if no progress function is specified. (Augie Fackler)
598 * Allow double-staging of files that are deleted in the index.
601 * Fix RefsContainer.add_if_new to support dangling symrefs.
604 * Non-existant index files in non-bare repositories are now treated as
605 empty. (Dave Borowitz)
607 * Always update ShaFile.id when the contents of the object get changed.
610 * Various Python2.4-compatibility fixes. (Dave Borowitz)
612 * Fix thin pack handling. (Dave Borowitz)
616 * Add include-tag capability to server. (Dave Borowitz)
618 * New dulwich.fastexport module that can generate fastexport
619 streams. (Jelmer Vernooij)
621 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
623 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
625 * Overall improvements checking Git objects. (Dave Borowitz)
627 * Packs are now verified while they are received. (Dave Borowitz)
631 * Add framework for testing compatibility with C Git. (Dave Borowitz)
633 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
635 * Cope with diffstat not being available on all platforms.
636 (Tay Ray Chuan, Jelmer Vernooij)
638 * Add make_object and make_commit convenience functions to test utils.
643 * The 'committer' and 'message' arguments to Repo.do_commit() have
644 been swapped. 'committer' is now optional. (Jelmer Vernooij)
646 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
649 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
650 for clarity. (Jelmer Vernooij)
654 * The primary serialization APIs in dulwich.objects now work
655 with chunks of strings rather than with full-text strings.
662 * Support custom fields in commits (readonly). (Jelmer Vernooij)
664 * Improved ref handling. (Dave Borowitz)
666 * Rework server protocol to be smarter and interoperate with cgit client.
669 * Add a GitFile class that uses the same locking protocol for writes as
670 cgit. (Dave Borowitz)
672 * Cope with forward slashes correctly in the index on Windows.
673 (Jelmer Vernooij, #526793)
677 * --pure option to setup.py to allow building/installing without the C
678 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
680 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
682 * HTTP dumb and smart server. (Dave Borowitz)
684 * Add abstract baseclass for Repo that does not require file system
685 operations. (Dave Borowitz)
691 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
693 * Add Index.changes_from_tree(). (Jelmer Vernooij)
695 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
697 * Add functionality for writing patches in dulwich.patch.
708 * dulwich.object_store.tree_lookup_path will now return the mode and
709 sha of the object found rather than the object itself.
713 * Use binascii.hexlify / binascii.unhexlify for better performance.
715 * Cope with extra unknown data in index files by ignoring it (for now).
717 * Add proper error message when server unexpectedly hangs up. (#415843)
719 * Correctly write opcode for equal in create_delta.
725 * Implement ShaFile.__hash__().
727 * Implement Tree.__len__()
731 * Check for 'objects' and 'refs' directories
732 when looking for a Git repository. (#380818)
738 * Support the encoding field in Commits.
740 * Some Windows compatibility fixes.
742 * Fixed several issues in commit support.
746 * Basic support for handling submodules.
752 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
757 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
758 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
763 * Removed import of 'sha' module in objects.py, which was causing
764 deprecation warnings on Python 2.6.
770 * A new function 'commit_tree' has been added that can commit a tree
775 * The memory usage when generating indexes has been significantly reduced.
777 * A memory leak in the C implementation of parse_tree has been fixed.
779 * The send-pack smart server command now works. (Thanks Scott Chacon)
781 * The handling of short timestamps (less than 10 digits) has been fixed.
783 * The handling of timezones has been fixed.
789 * Fix compatibility with Python2.4.
795 * Support for activity reporting in smart protocol client.
797 * Optional C extensions for better performance in a couple of
798 places that are performance-critical.
804 * Fixed regression in Repo.find_missing_objects()
806 * Don't fetch ^{} objects from remote hosts, as requesting them
809 * Always write pack to disk completely before calculating checksum.
813 * Allow disabling thin packs when talking to remote hosts.