5 * dulwich.__init__ no longer imports client, protocol, repo and
6 server modules. (Jelmer Vernooij)
8 * ConfigDict now behaves more like a dictionary.
9 (Adam 'Cezar' Jenkins, issue #58)
13 * Make index entry tests a little bit less strict, to cope with
14 slightly different behaviour on various platforms.
19 * Commit._deserialize now actually deserializes the current state rather than
20 the previous one. (Yifan Zhang, issue #59)
26 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
28 * Be a little bit strict about OS behaviour in index tests.
29 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
35 * Options on the same line as sections in config files are now supported.
36 (Jelmer Vernooij, #920553)
38 * Only negotiate capabilities that are also supported by the server.
39 (Rod Cloutier, Risto Kankkunen)
41 * Fix parsing of invalid timezone offsets with two minus signs.
42 (Jason R. Coombs, #697828)
44 * Reset environment variables during tests, to avoid
45 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
49 * $HOME is now explicitly specified for tests that use it to read
50 ``~/.gitconfig``, to prevent test isolation issues.
51 (Jelmer Vernooij, #920330)
55 * Additional arguments to get_transport_and_path are now passed
56 on to the constructor of the transport. (Sam Vilain)
58 * The WSGI server now transparently handles when a git client submits data
59 using Content-Encoding: gzip.
60 (David Blewett, Jelmer Vernooij)
62 * Add dulwich.index.build_index_from_tree(). (milki)
68 * The config parser now supports the git-config file format as
69 described in git-config(1) and can write git config files.
70 (Jelmer Vernooij, #531092, #768687)
72 * ``Repo.do_commit`` will now use the user identity from
73 .git/config or ~/.gitconfig if none was explicitly specified.
78 * Allow ``determine_wants`` methods to include the zero sha in their
79 return value. (Jelmer Vernooij)
85 * Cope with different zlib buffer sizes in sha1 file parser.
88 * Fix get_transport_and_path for HTTP/HTTPS URLs.
91 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
93 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
95 * Properly abort connections when the determine_wants function
96 raises an exception. (Jelmer Vernooij, #856769)
98 * Tweak xcodebuild hack to deal with more error output.
99 (Jelmer Vernooij, #903840)
103 * Add support for retrieving tarballs from remote servers.
104 (Jelmer Vernooij, #379087)
106 * New method ``update_server_info`` which generates data
107 for dumb server access. (Jelmer Vernooij, #731235)
113 * Repo.do_commit has a new argument 'ref'.
115 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
117 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
119 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
121 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
124 * ``HttpGitClient`` which supports the smart server protocol over
125 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
127 * Add basic support for alternates. (Jelmer Vernooij, #810429)
131 * unittest2 or python >= 2.7 is now required for the testsuite.
132 testtools is no longer supported. (Jelmer Vernooij, #830713)
136 * Fix compilation with older versions of MSVC. (Martin gz)
138 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
140 * Smart protocol clients can now change refs even if they are
141 not uploading new data. (Jelmer Vernooij, #855993)
143 * Don't compile C extensions when running in pypy.
144 (Ronny Pfannschmidt, #881546)
146 * Use different name for strnlen replacement function to avoid clashing
147 with system strnlen. (Jelmer Vernooij, #880362)
151 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
158 * New DeltaChainIterator abstract class for quickly iterating all objects in
159 a pack, with implementations for pack indexing and inflation.
162 * New walk module with a Walker class for customizable commit walking.
165 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
167 * Easy rename detection in RenameDetector even without find_copies_harder.
172 * Avoid storing all objects in memory when writing pack.
173 (Jelmer Vernooij, #813268)
175 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
177 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
179 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
181 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
183 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
185 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
187 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
188 left in the buffer. (Dave Borowitz)
190 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
192 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
194 * ObjectStore.get_graph_walker() now no longer yields the same
195 revision more than once. This has a significant improvement for
196 performance when wide revision graphs are involved.
197 (Jelmer Vernooij, #818168)
199 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
201 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
203 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
205 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
207 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
210 * Use correct MIME types in web server. (Dave Borowitz)
214 * write_pack no longer takes the num_objects argument and requires an object
215 to be passed in that is iterable (rather than an iterator) and that
216 provides __len__. (Jelmer Vernooij)
218 * write_pack_data has been renamed to write_pack_objects and no longer takes a
219 num_objects argument. (Jelmer Vernooij)
221 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
222 PackStreamReader.read_objects now take an additional argument indicating a
223 crc32 to compute. (Dave Borowitz)
225 * PackObjectIterator was removed; its functionality is still exposed by
226 PackData.iterobjects. (Dave Borowitz)
228 * Add a sha arg to write_pack_object to incrementally compute a SHA.
231 * Include offset in PackStreamReader results. (Dave Borowitz)
233 * Move PackStreamReader from server to pack. (Dave Borowitz)
235 * Extract a check_length_and_checksum, compute_file_sha, and
236 pack_object_header pack helper functions. (Dave Borowitz)
238 * Extract a compute_file_sha function. (Dave Borowitz)
240 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
241 the thin pack and moves it in in one step. Remove ThinPackData as well.
244 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
246 * New UnpackedObject data class that replaces ad-hoc tuples in the return
247 value of unpack_object and various DeltaChainIterator methods.
250 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
252 * Optionally create RenameDetectors without passing in tree SHAs.
255 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
257 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
259 * Optionally pass a request object through to server handlers. (Dave Borowitz)
263 * If setuptools is installed, "python setup.py test" will now run the testsuite.
266 * Add a new build_pack test utility for building packs from a simple spec.
269 * Add a new build_commit_graph test utility for building commits from a
270 simple spec. (Dave Borowitz)
276 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
278 * Fix the build on Windows. (Pascal Quantin)
280 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
281 (Max Bowsher, #707438)
283 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
286 * write_tree_diff() now supports submodules.
289 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
294 * Sphinxified documentation. (Lukasz Balcerzak)
296 * Add Pack.keep.(Marc Brinkmann)
300 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
301 is now consistent with the rest of Dulwich. Existing code will still
302 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
304 * Tree.entries() is now deprecated in favour of Tree.items() and
305 Tree.iteritems(). (Jelmer Vernooij)
311 * New `dulwich.diff_tree` module for simple content-based rename detection.
314 * Add Tree.items(). (Jelmer Vernooij)
316 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
318 * Add write_tree_diff(). (Jelmer Vernooij)
320 * Add `serve_command` function for git server commands as executables.
323 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
324 (Dave Borowitz, #568493)
328 * Correct short-circuiting operation for no-op fetches in the server.
331 * Support parsing git mbox patches without a version tail, as generated by
332 Mercurial. (Jelmer Vernooij)
334 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
336 * Zero-padded file modes in Tree objects no longer trigger an exception but
337 the check code warns about them. (Augie Fackler, #581064)
339 * Repo.init() now honors the mkdir flag. (#671159)
341 * The ref format is now checked when setting a ref rather than when reading it back.
342 (Dave Borowitz, #653527)
344 * Make sure pack files are closed correctly. (Tay Ray Chuan)
348 * Run the tutorial inside the test suite. (Jelmer Vernooij)
350 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
358 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
360 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
362 * ThinPackData.from_file now works with resolve_ext_ref callback.
365 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
367 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
371 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
373 * Web server supports streaming progress/pack output. (Dave Borowitz)
375 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
377 * Distinguish between missing files and read errors in HTTP server.
380 * Initial work on support for fastimport using python-fastimport.
383 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
385 * Delegate SHA peeling to the object store. (Dave Borowitz)
389 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
391 * New tests in test_web with better coverage and fewer ad-hoc mocks.
394 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
396 * Fix use when testtools is installed. (Jelmer Vernooij)
398 * Add trivial test for write_pack_header. (Jelmer Vernooij)
400 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
402 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
404 * Use real in-memory objects rather than stubs for server tests.
407 * Clean up MissingObjectFinder. (Dave Borowitz)
411 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
412 order. (Dave Borowitz)
414 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
417 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
419 * Change server capabilities methods to classmethods. (Dave Borowitz)
421 * Tweak server handler injection. (Dave Borowitz)
423 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
424 itself a subclass of PackIndex. (Jelmer Vernooij)
428 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
430 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
432 * Explicitly specify allowed protocol commands to
433 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
435 * Add utility functions to DictRefsContainer. (Dave Borowitz)
442 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
444 * Use correct path separators for named repo files. (Dave Borowitz)
446 * python > 2.7 and testtools-based test runners will now also pick up skipped
447 tests correctly. (Jelmer Vernooij)
451 * Move named file initilization to BaseRepo. (Dave Borowitz)
453 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
455 * The GitClient interface has been cleaned up and instances are now reusable.
458 * Allow overriding paths to executables in GitSSHClient.
459 (Ross Light, Jelmer Vernooij, #585204)
461 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
465 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
467 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
469 * Quiet logging output from web tests. (Dave Borowitz)
471 * More flexible version checking for compat tests. (Dave Borowitz)
473 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
477 * Clean up file headers. (Dave Borowitz)
481 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
485 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
486 rather than a filename. (Jelmer Vernooij)
488 * Make dul-daemon/dul-web trivial wrappers around server functionality.
491 * Move reference WSGI handler to web.py. (Dave Borowitz)
493 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
495 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
500 note: This list is most likely incomplete for 0.6.0.
504 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
507 * Deal with capabilities required by the client, even if they
508 can not be disabled in the server. (Dave Borowitz)
510 * Fix trailing newlines in generated patch files.
513 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
515 * Cope with \r in ref files on Windows. (
516 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
518 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
520 * Support packed ref deletion with no peeled refs. (Augie Fackler)
522 * Fix send pack when there is nothing to fetch. (Augie Fackler)
524 * Fix fetch if no progress function is specified. (Augie Fackler)
526 * Allow double-staging of files that are deleted in the index.
529 * Fix RefsContainer.add_if_new to support dangling symrefs.
532 * Non-existant index files in non-bare repositories are now treated as
533 empty. (Dave Borowitz)
535 * Always update ShaFile.id when the contents of the object get changed.
538 * Various Python2.4-compatibility fixes. (Dave Borowitz)
540 * Fix thin pack handling. (Dave Borowitz)
544 * Add include-tag capability to server. (Dave Borowitz)
546 * New dulwich.fastexport module that can generate fastexport
547 streams. (Jelmer Vernooij)
549 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
551 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
553 * Overall improvements checking Git objects. (Dave Borowitz)
555 * Packs are now verified while they are received. (Dave Borowitz)
559 * Add framework for testing compatibility with C Git. (Dave Borowitz)
561 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
563 * Cope with diffstat not being available on all platforms.
564 (Tay Ray Chuan, Jelmer Vernooij)
566 * Add make_object and make_commit convenience functions to test utils.
571 * The 'committer' and 'message' arguments to Repo.do_commit() have
572 been swapped. 'committer' is now optional. (Jelmer Vernooij)
574 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
577 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
578 for clarity. (Jelmer Vernooij)
582 * The primary serialization APIs in dulwich.objects now work
583 with chunks of strings rather than with full-text strings.
590 * Support custom fields in commits (readonly). (Jelmer Vernooij)
592 * Improved ref handling. (Dave Borowitz)
594 * Rework server protocol to be smarter and interoperate with cgit client.
597 * Add a GitFile class that uses the same locking protocol for writes as
598 cgit. (Dave Borowitz)
600 * Cope with forward slashes correctly in the index on Windows.
601 (Jelmer Vernooij, #526793)
605 * --pure option to setup.py to allow building/installing without the C
606 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
608 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
610 * HTTP dumb and smart server. (Dave Borowitz)
612 * Add abstract baseclass for Repo that does not require file system
613 operations. (Dave Borowitz)
619 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
621 * Add Index.changes_from_tree(). (Jelmer Vernooij)
623 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
625 * Add functionality for writing patches in dulwich.patch.
636 * dulwich.object_store.tree_lookup_path will now return the mode and
637 sha of the object found rather than the object itself.
641 * Use binascii.hexlify / binascii.unhexlify for better performance.
643 * Cope with extra unknown data in index files by ignoring it (for now).
645 * Add proper error message when server unexpectedly hangs up. (#415843)
647 * Correctly write opcode for equal in create_delta.
653 * Implement ShaFile.__hash__().
655 * Implement Tree.__len__()
659 * Check for 'objects' and 'refs' directories
660 when looking for a Git repository. (#380818)
666 * Support the encoding field in Commits.
668 * Some Windows compatibility fixes.
670 * Fixed several issues in commit support.
674 * Basic support for handling submodules.
680 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
685 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
686 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
691 * Removed import of 'sha' module in objects.py, which was causing
692 deprecation warnings on Python 2.6.
698 * A new function 'commit_tree' has been added that can commit a tree
703 * The memory usage when generating indexes has been significantly reduced.
705 * A memory leak in the C implementation of parse_tree has been fixed.
707 * The send-pack smart server command now works. (Thanks Scott Chacon)
709 * The handling of short timestamps (less than 10 digits) has been fixed.
711 * The handling of timezones has been fixed.
717 * Fix compatibility with Python2.4.
723 * Support for activity reporting in smart protocol client.
725 * Optional C extensions for better performance in a couple of
726 places that are performance-critical.
732 * Fixed regression in Repo.find_missing_objects()
734 * Don't fetch ^{} objects from remote hosts, as requesting them
737 * Always write pack to disk completely before calculating checksum.
741 * Allow disabling thin packs when talking to remote hosts.