7 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
9 * Use indentation consistent with C Git in config files.
10 (#1031356, Curt Moore, Jelmer Vernooij)
12 * Recognize and skip binary files in diff function.
15 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
16 (Brian Visel, #1169368)
18 * Preserve ordering of entries in configuration.
21 * Support ~ expansion in SSH client paths. (milki, #1083439)
23 * Support relative paths in alternate paths.
24 (milki, Michel Lespinasse, #1175007)
26 * Log all error messages from wsgiref server to the logging module. This
27 makes the test suit quiet again. (Gary van der Merwe)
29 * Support passing None for empty tree in changes_from_tree.
32 * Support fetching empty repository in client. (milki, #1060462)
36 * Add optional honor_filemode flag to build_index_from_tree.
39 * Support core/filemode setting when building trees. (Jelmer Vernooij)
41 * Add chapter on tags in tutorial. (Ryan Faulkner)
45 * Add support for mergetags. (milki, #963525)
47 * Add support for posix shell hooks. (milki)
53 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
56 * Fix compatibility with Python 2.4. (David Carr)
62 * dulwich.__init__ no longer imports client, protocol, repo and
63 server modules. (Jelmer Vernooij)
67 * ConfigDict now behaves more like a dictionary.
68 (Adam 'Cezar' Jenkins, issue #58)
70 * HTTPGitApplication now takes an optional
71 `fallback_app` argument. (Jonas Haag, issue #67)
73 * Support for large pack index files. (Jameson Nash)
77 * Make index entry tests a little bit less strict, to cope with
78 slightly different behaviour on various platforms.
81 * ``setup.py test`` (available when setuptools is installed) now
82 runs all tests, not just the basic unit tests.
87 * Commit._deserialize now actually deserializes the current state rather than
88 the previous one. (Yifan Zhang, issue #59)
90 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
92 * Support cloning repositories without HEAD set.
93 (D-Key, Jelmer Vernooij, issue #69)
95 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
97 * In ``get_transport_and_path``, pass extra keyword arguments on to
98 HttpGitClient. (Jelmer Vernooij)
104 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
106 * Be a little bit strict about OS behaviour in index tests.
107 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
113 * Options on the same line as sections in config files are now supported.
114 (Jelmer Vernooij, #920553)
116 * Only negotiate capabilities that are also supported by the server.
117 (Rod Cloutier, Risto Kankkunen)
119 * Fix parsing of invalid timezone offsets with two minus signs.
120 (Jason R. Coombs, #697828)
122 * Reset environment variables during tests, to avoid
123 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
127 * $HOME is now explicitly specified for tests that use it to read
128 ``~/.gitconfig``, to prevent test isolation issues.
129 (Jelmer Vernooij, #920330)
133 * Additional arguments to get_transport_and_path are now passed
134 on to the constructor of the transport. (Sam Vilain)
136 * The WSGI server now transparently handles when a git client submits data
137 using Content-Encoding: gzip.
138 (David Blewett, Jelmer Vernooij)
140 * Add dulwich.index.build_index_from_tree(). (milki)
146 * The config parser now supports the git-config file format as
147 described in git-config(1) and can write git config files.
148 (Jelmer Vernooij, #531092, #768687)
150 * ``Repo.do_commit`` will now use the user identity from
151 .git/config or ~/.gitconfig if none was explicitly specified.
156 * Allow ``determine_wants`` methods to include the zero sha in their
157 return value. (Jelmer Vernooij)
163 * Cope with different zlib buffer sizes in sha1 file parser.
166 * Fix get_transport_and_path for HTTP/HTTPS URLs.
169 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
171 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
173 * Properly abort connections when the determine_wants function
174 raises an exception. (Jelmer Vernooij, #856769)
176 * Tweak xcodebuild hack to deal with more error output.
177 (Jelmer Vernooij, #903840)
181 * Add support for retrieving tarballs from remote servers.
182 (Jelmer Vernooij, #379087)
184 * New method ``update_server_info`` which generates data
185 for dumb server access. (Jelmer Vernooij, #731235)
191 * Repo.do_commit has a new argument 'ref'.
193 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
195 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
197 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
199 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
202 * ``HttpGitClient`` which supports the smart server protocol over
203 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
205 * Add basic support for alternates. (Jelmer Vernooij, #810429)
209 * unittest2 or python >= 2.7 is now required for the testsuite.
210 testtools is no longer supported. (Jelmer Vernooij, #830713)
214 * Fix compilation with older versions of MSVC. (Martin gz)
216 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
218 * Smart protocol clients can now change refs even if they are
219 not uploading new data. (Jelmer Vernooij, #855993)
221 * Don't compile C extensions when running in pypy.
222 (Ronny Pfannschmidt, #881546)
224 * Use different name for strnlen replacement function to avoid clashing
225 with system strnlen. (Jelmer Vernooij, #880362)
229 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
236 * New DeltaChainIterator abstract class for quickly iterating all objects in
237 a pack, with implementations for pack indexing and inflation.
240 * New walk module with a Walker class for customizable commit walking.
243 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
245 * Easy rename detection in RenameDetector even without find_copies_harder.
250 * Avoid storing all objects in memory when writing pack.
251 (Jelmer Vernooij, #813268)
253 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
255 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
257 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
259 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
261 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
263 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
265 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
266 left in the buffer. (Dave Borowitz)
268 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
270 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
272 * ObjectStore.get_graph_walker() now no longer yields the same
273 revision more than once. This has a significant improvement for
274 performance when wide revision graphs are involved.
275 (Jelmer Vernooij, #818168)
277 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
279 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
281 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
283 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
285 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
288 * Use correct MIME types in web server. (Dave Borowitz)
292 * write_pack no longer takes the num_objects argument and requires an object
293 to be passed in that is iterable (rather than an iterator) and that
294 provides __len__. (Jelmer Vernooij)
296 * write_pack_data has been renamed to write_pack_objects and no longer takes a
297 num_objects argument. (Jelmer Vernooij)
299 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
300 PackStreamReader.read_objects now take an additional argument indicating a
301 crc32 to compute. (Dave Borowitz)
303 * PackObjectIterator was removed; its functionality is still exposed by
304 PackData.iterobjects. (Dave Borowitz)
306 * Add a sha arg to write_pack_object to incrementally compute a SHA.
309 * Include offset in PackStreamReader results. (Dave Borowitz)
311 * Move PackStreamReader from server to pack. (Dave Borowitz)
313 * Extract a check_length_and_checksum, compute_file_sha, and
314 pack_object_header pack helper functions. (Dave Borowitz)
316 * Extract a compute_file_sha function. (Dave Borowitz)
318 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
319 the thin pack and moves it in in one step. Remove ThinPackData as well.
322 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
324 * New UnpackedObject data class that replaces ad-hoc tuples in the return
325 value of unpack_object and various DeltaChainIterator methods.
328 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
330 * Optionally create RenameDetectors without passing in tree SHAs.
333 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
335 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
337 * Optionally pass a request object through to server handlers. (Dave Borowitz)
341 * If setuptools is installed, "python setup.py test" will now run the testsuite.
344 * Add a new build_pack test utility for building packs from a simple spec.
347 * Add a new build_commit_graph test utility for building commits from a
348 simple spec. (Dave Borowitz)
354 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
356 * Fix the build on Windows. (Pascal Quantin)
358 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
359 (Max Bowsher, #707438)
361 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
364 * write_tree_diff() now supports submodules.
367 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
372 * Sphinxified documentation. (Lukasz Balcerzak)
374 * Add Pack.keep.(Marc Brinkmann)
378 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
379 is now consistent with the rest of Dulwich. Existing code will still
380 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
382 * Tree.entries() is now deprecated in favour of Tree.items() and
383 Tree.iteritems(). (Jelmer Vernooij)
389 * New `dulwich.diff_tree` module for simple content-based rename detection.
392 * Add Tree.items(). (Jelmer Vernooij)
394 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
396 * Add write_tree_diff(). (Jelmer Vernooij)
398 * Add `serve_command` function for git server commands as executables.
401 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
402 (Dave Borowitz, #568493)
406 * Correct short-circuiting operation for no-op fetches in the server.
409 * Support parsing git mbox patches without a version tail, as generated by
410 Mercurial. (Jelmer Vernooij)
412 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
414 * Zero-padded file modes in Tree objects no longer trigger an exception but
415 the check code warns about them. (Augie Fackler, #581064)
417 * Repo.init() now honors the mkdir flag. (#671159)
419 * The ref format is now checked when setting a ref rather than when reading it back.
420 (Dave Borowitz, #653527)
422 * Make sure pack files are closed correctly. (Tay Ray Chuan)
426 * Run the tutorial inside the test suite. (Jelmer Vernooij)
428 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
436 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
438 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
440 * ThinPackData.from_file now works with resolve_ext_ref callback.
443 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
445 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
449 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
451 * Web server supports streaming progress/pack output. (Dave Borowitz)
453 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
455 * Distinguish between missing files and read errors in HTTP server.
458 * Initial work on support for fastimport using python-fastimport.
461 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
463 * Delegate SHA peeling to the object store. (Dave Borowitz)
467 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
469 * New tests in test_web with better coverage and fewer ad-hoc mocks.
472 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
474 * Fix use when testtools is installed. (Jelmer Vernooij)
476 * Add trivial test for write_pack_header. (Jelmer Vernooij)
478 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
480 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
482 * Use real in-memory objects rather than stubs for server tests.
485 * Clean up MissingObjectFinder. (Dave Borowitz)
489 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
490 order. (Dave Borowitz)
492 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
495 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
497 * Change server capabilities methods to classmethods. (Dave Borowitz)
499 * Tweak server handler injection. (Dave Borowitz)
501 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
502 itself a subclass of PackIndex. (Jelmer Vernooij)
506 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
508 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
510 * Explicitly specify allowed protocol commands to
511 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
513 * Add utility functions to DictRefsContainer. (Dave Borowitz)
520 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
522 * Use correct path separators for named repo files. (Dave Borowitz)
524 * python > 2.7 and testtools-based test runners will now also pick up skipped
525 tests correctly. (Jelmer Vernooij)
529 * Move named file initilization to BaseRepo. (Dave Borowitz)
531 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
533 * The GitClient interface has been cleaned up and instances are now reusable.
536 * Allow overriding paths to executables in GitSSHClient.
537 (Ross Light, Jelmer Vernooij, #585204)
539 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
543 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
545 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
547 * Quiet logging output from web tests. (Dave Borowitz)
549 * More flexible version checking for compat tests. (Dave Borowitz)
551 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
555 * Clean up file headers. (Dave Borowitz)
559 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
563 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
564 rather than a filename. (Jelmer Vernooij)
566 * Make dul-daemon/dul-web trivial wrappers around server functionality.
569 * Move reference WSGI handler to web.py. (Dave Borowitz)
571 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
573 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
578 note: This list is most likely incomplete for 0.6.0.
582 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
585 * Deal with capabilities required by the client, even if they
586 can not be disabled in the server. (Dave Borowitz)
588 * Fix trailing newlines in generated patch files.
591 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
593 * Cope with \r in ref files on Windows. (
594 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
596 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
598 * Support packed ref deletion with no peeled refs. (Augie Fackler)
600 * Fix send pack when there is nothing to fetch. (Augie Fackler)
602 * Fix fetch if no progress function is specified. (Augie Fackler)
604 * Allow double-staging of files that are deleted in the index.
607 * Fix RefsContainer.add_if_new to support dangling symrefs.
610 * Non-existant index files in non-bare repositories are now treated as
611 empty. (Dave Borowitz)
613 * Always update ShaFile.id when the contents of the object get changed.
616 * Various Python2.4-compatibility fixes. (Dave Borowitz)
618 * Fix thin pack handling. (Dave Borowitz)
622 * Add include-tag capability to server. (Dave Borowitz)
624 * New dulwich.fastexport module that can generate fastexport
625 streams. (Jelmer Vernooij)
627 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
629 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
631 * Overall improvements checking Git objects. (Dave Borowitz)
633 * Packs are now verified while they are received. (Dave Borowitz)
637 * Add framework for testing compatibility with C Git. (Dave Borowitz)
639 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
641 * Cope with diffstat not being available on all platforms.
642 (Tay Ray Chuan, Jelmer Vernooij)
644 * Add make_object and make_commit convenience functions to test utils.
649 * The 'committer' and 'message' arguments to Repo.do_commit() have
650 been swapped. 'committer' is now optional. (Jelmer Vernooij)
652 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
655 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
656 for clarity. (Jelmer Vernooij)
660 * The primary serialization APIs in dulwich.objects now work
661 with chunks of strings rather than with full-text strings.
668 * Support custom fields in commits (readonly). (Jelmer Vernooij)
670 * Improved ref handling. (Dave Borowitz)
672 * Rework server protocol to be smarter and interoperate with cgit client.
675 * Add a GitFile class that uses the same locking protocol for writes as
676 cgit. (Dave Borowitz)
678 * Cope with forward slashes correctly in the index on Windows.
679 (Jelmer Vernooij, #526793)
683 * --pure option to setup.py to allow building/installing without the C
684 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
686 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
688 * HTTP dumb and smart server. (Dave Borowitz)
690 * Add abstract baseclass for Repo that does not require file system
691 operations. (Dave Borowitz)
697 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
699 * Add Index.changes_from_tree(). (Jelmer Vernooij)
701 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
703 * Add functionality for writing patches in dulwich.patch.
714 * dulwich.object_store.tree_lookup_path will now return the mode and
715 sha of the object found rather than the object itself.
719 * Use binascii.hexlify / binascii.unhexlify for better performance.
721 * Cope with extra unknown data in index files by ignoring it (for now).
723 * Add proper error message when server unexpectedly hangs up. (#415843)
725 * Correctly write opcode for equal in create_delta.
731 * Implement ShaFile.__hash__().
733 * Implement Tree.__len__()
737 * Check for 'objects' and 'refs' directories
738 when looking for a Git repository. (#380818)
744 * Support the encoding field in Commits.
746 * Some Windows compatibility fixes.
748 * Fixed several issues in commit support.
752 * Basic support for handling submodules.
758 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
763 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
764 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
769 * Removed import of 'sha' module in objects.py, which was causing
770 deprecation warnings on Python 2.6.
776 * A new function 'commit_tree' has been added that can commit a tree
781 * The memory usage when generating indexes has been significantly reduced.
783 * A memory leak in the C implementation of parse_tree has been fixed.
785 * The send-pack smart server command now works. (Thanks Scott Chacon)
787 * The handling of short timestamps (less than 10 digits) has been fixed.
789 * The handling of timezones has been fixed.
795 * Fix compatibility with Python2.4.
801 * Support for activity reporting in smart protocol client.
803 * Optional C extensions for better performance in a couple of
804 places that are performance-critical.
810 * Fixed regression in Repo.find_missing_objects()
812 * Don't fetch ^{} objects from remote hosts, as requesting them
815 * Always write pack to disk completely before calculating checksum.
819 * Allow disabling thin packs when talking to remote hosts.