7 * Fix cwd for hooks. (Fabian Grünbichler)
9 * Fix setting of origin in config when non-standard origin is passed into
10 ``Repo.clone``. (Kenneth Lareau, #565)
12 * Prevent setting SSH arguments from SSH URLs when using SSH through a
13 subprocess. Note that Dulwich doesn't support cloning submodules.
14 (CVE 2017-1000117) (Jelmer Vernooij)
18 * Silently ignored directories in ``Repo.stage``.
19 (Jelmer Vernooij, #564)
23 * GitFile now raises ``FileLocked`` when encountering a lock
24 rather than OSError(EEXIST). (Jelmer Vernooij)
30 * Make default User-Agent start with "git/" because GitHub won't response to
31 HTTP smart server requests otherwise (and reply with a 404).
32 (Jelmer vernooij, #562)
38 * Read config during porcelain operations that involve remotes.
39 (Jelmer Vernooij, #545)
41 * Fix headers of empty chunks in unified diffs. (Taras Postument, #543)
43 * Properly follow redirects over HTTP. (Jelmer Vernooij, #117)
47 * Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439)
49 * ``GitClient.fetch_pack`` now returns symrefs.
50 (Jelmer Vernooij, #485)
52 * The server now supports providing symrefs.
53 (Jelmer Vernooij, #485)
55 * Add ``dulwich.object_store.commit_tree_changes`` to incrementally
56 commit changes to a tree structure. (Jelmer Vernooij)
58 * Add basic ``PackBasedObjectStore.repack`` method.
59 (Jelmer Vernooij, Earl Chew, #296, #549, #552)
65 * Use constant timestamp so tests pass in all timezones, not just BST.
72 * Fix syntax error in dulwich.contrib.test_swift_smoke.
79 * Fix remaining tests on Windows. (Jelmer Vernooij, #493)
81 * Fix build of C extensions with Python 3 on Windows.
84 * Pass 'mkdir' argument onto Repo.init_bare in Repo.clone.
85 (Jelmer Vernooij, #504)
87 * In ``dulwich.porcelain.add``, if no files are specified,
88 add from current working directory rather than repository root.
89 (Jelmer Vernooij, #521)
91 * Properly deal with submodules in 'porcelain.status'.
92 (Jelmer Vernooij, #517)
94 * ``dulwich.porcelain.remove`` now actually removes files from
95 disk, not just from the index. (Jelmer Vernooij, #488)
97 * Fix handling of "reset" command with markers and without
98 "from". (Antoine Pietri)
100 * Fix handling of "merge" command with markers. (Antoine Pietri)
102 * Support treeish argument to porcelain.reset(), rather than
103 requiring a ref/commit id. (Jelmer Vernooij)
105 * Handle race condition when mtime doesn't change between writes/reads.
106 (Jelmer Vernooij, #541)
108 * Fix ``dulwich.porcelain.show`` on commits with Python 3.
109 (Jelmer Vernooij, #532)
113 * Add basic support for reading ignore files in ``dulwich.ignore``.
114 ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
115 ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
117 * New ``dulwich.porcelain.check_ignore`` command.
120 * ``dulwich.porcelain.status`` now supports a ``ignored`` argument.
125 * Clarified docstrings for Client.{send_pack,fetch_pack} implementations.
126 (Jelmer Vernooij, #523)
132 * List Python 3.3 as supported. (Jelmer Vernooij, #513)
136 * Fix compatibility with pypy 3. (Jelmer Vernooij)
143 https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
144 fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner)
146 * Properly quote config values with a '#' character in them.
147 (Jelmer Vernooij, #511)
153 * Add basic 'dulwich pull' command. (Jelmer Vernooij)
157 * Cope with existing submodules during pull.
158 (Jelmer Vernooij, #505)
164 * Skip test that requires sync to synchronize filesystems if os.sync is
165 not available. (Koen Martens)
169 * Implement MemoryRepo.{set_description,get_description}.
172 * Raise exception in Repo.stage() when absolute paths are
173 passed in. Allow passing in relative paths to
174 porcelain.add().(Jelmer Vernooij)
178 * Handle multi-line quoted values in config files.
179 (Jelmer Vernooij, #495)
181 * Allow porcelain.clone of repository without HEAD.
182 (Jelmer Vernooij, #501)
184 * Support passing tag ids to Walker()'s include argument.
187 * Don't strip trailing newlines from extra headers.
190 * Set bufsize=0 for subprocess interaction with SSH client.
191 Fixes hangs on Python 3. (René Stern, #434)
193 * Don't drop first slash for SSH paths, except for those
194 starting with "~". (Jelmer Vernooij, René Stern, #463)
196 * Properly log off after retrieving just refs.
203 * Remove racy check that relies on clock time changing between writes.
208 * Add porcelain.remote_add. (Jelmer Vernooij)
214 * Fixed failing test-cases on windows.
219 * Repo is now a context manager, so that it can be easily
220 closed using a ``with`` statement. (Søren Løvborg)
224 * Only run worktree list compat tests against git 2.7.0,
225 when 'git worktree list' was introduced. (Jelmer Vernooij)
229 * Ignore filemode when building index when core.filemode
233 * Initialize core.filemode configuration setting by
234 probing the filesystem for trustable permissions.
237 * Fix ``porcelain.reset`` to respect the comittish argument.
240 * Fix dulwich.porcelain.ls_remote() on Python 3.
241 (#471, Jelmer Vernooij)
243 * Allow both unicode and byte strings for host paths
244 in dulwich.client. (#435, Jelmer Vernooij)
246 * Add remote from porcelain.clone. (#466, Jelmer Vernooij)
248 * Fix unquoting of credentials before passing to urllib2.
249 (#475, Volodymyr Holovko)
251 * Cope with submodules in `build_index_from_tree`.
252 (#477, Jelmer Vernooij)
254 * Handle deleted files in `get_unstaged_changes`.
255 (#483, Doug Hellmann)
257 * Don't overwrite files when they haven't changed in
258 `build_file_from_blob`.
259 (#479, Benoît HERVIER)
261 * Check for existence of index file before opening pack.
262 Fixes a race when new packs are being added.
269 * Fix python3 compatibility for dulwich.contrib.release_robot.
276 * Add support for worktrees. See `git-worktree(1)` and
277 `gitrepository-layout(5)`. (Laurent Rineau)
279 * Add support for `commondir` file in Git control
280 directories. (Laurent Rineau)
282 * Add support for passwords in HTTP URLs.
283 (Jon Bain, Mika Mäenpää)
285 * Add `release_robot` script to contrib,
286 allowing easy finding of current version based on Git tags.
289 * Add ``Blob.splitlines`` method.
294 * Fix handling of ``Commit.tree`` being set to an actual
295 tree object rather than a tree id. (Jelmer Vernooij)
297 * Return remote refs from LocalGitClient.fetch_pack(),
298 consistent with the documentation for that method.
299 (#461, Jelmer Vernooij)
301 * Fix handling of unknown URL schemes in get_transport_and_path.
302 (#465, Jelmer Vernooij)
308 * Allow missing trailing LF when reading service name from
309 HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442)
311 * Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451)
313 * Properly pull in tags during dulwich.porcelain.clone.
314 (Jelmer Vernooij, #408)
318 * Changed license from "GNU General Public License, version 2.0 or later"
319 to "Apache License, version 2.0 or later or GNU General Public License,
320 version 2.0 or later". (#153)
324 * Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij)
330 * Fix regression removing untouched refs when pushing over SSH.
331 (Jelmer Vernooij #441)
333 * Skip Python3 tests for SWIFT contrib module, as it has not yet
340 * Fix ShaFile.id after modification of a copied ShaFile.
341 (Félix Mattrat, Jelmer Vernooij)
343 * Support removing refs from porcelain.push.
344 (Jelmer Vernooij, #437)
346 * Stop magic protocol ref `capabilities^{}` from leaking out
347 to clients. (Jelmer Vernooij, #254)
351 * Add `dulwich.config.parse_submodules` function.
353 * Add `RefsContainer.follow` method. (#438)
359 * Support `ssh://` URLs in get_transport_and_path_from_url().
360 (Jelmer Vernooij, #402)
362 * Support missing empty line after headers in Git commits and tags.
363 (Nicolas Dandrimont, #413)
365 * Fix `dulwich.porcelain.status` when used in empty trees.
366 (Jelmer Vernooij, #415)
368 * Return copies of objects in MemoryObjectStore rather than
369 references, making the behaviour more consistent with that of
370 DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
372 * Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
376 * Drop support for Python 2.6.
378 * Fix python3 client web support. (Jelmer Vernooij)
382 * Fix hang on Gzip decompression. (Jonas Haag)
384 * Don't rely on working tell() and seek() methods
385 on wsgi.input. (Jonas Haag)
387 * Support fastexport/fastimport functionality on python3 with newer
388 versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat)
394 * Add a `dulwich.archive` module that can create tarballs.
395 Based on code from Jonas Haag in klaus.
397 * Add a `dulwich.reflog` module for reading and writing reflogs.
400 * Fix handling of ambiguous refs in `parse_ref` to make
401 it match the behaviour described in https://git-scm.com/docs/gitrevisions.
404 * Support Python3 in C modules. (Lele Gaifax)
408 * Simplify handling of SSH command invocation.
409 Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384)
411 * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)
413 * Add hack to support thin packs duing fetch(), albeit while requiring the
414 entire pack file to be loaded into memory. (jsbain)
418 * This will be the last release to support Python 2.6.
424 * Add support for agent= capability. (Jelmer Vernooij, #298)
426 * Add support for quiet capability. (Jelmer Vernooij)
430 * The ParamikoSSHVendor class has been moved to
431 * dulwich.contrib.paramiko_vendor, as it's currently untested.
432 (Jelmer Vernooij, #364)
436 Fix-up release to exclude broken blame.py file.
442 * Extended Python3 support to most of the codebase.
443 (Gary van der Merwe, Jelmer Vernooij)
444 * The `Repo` object has a new `close` method that can be called to close any
445 open resources. (Gary van der Merwe)
446 * Support 'git.bat' in SubprocessGitClient on Windows.
448 * Advertise 'ofs-delta' capability in receive-pack server side
449 capabilities. (Jelmer Vernooij)
450 * Switched `default_local_git_client_cls` to `LocalGitClient`.
452 * Add `porcelain.ls_remote` and `GitClient.get_refs`.
454 * Add `Repo.discover` method. (B. M. Corser)
455 * Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij)
456 * Add `porcelain.pack_objects` and `porcelain.repack`.
461 * Fix handling of 'done' in graph walker and implement the
462 'no-done' capability. (Tommy Yu, #88)
464 * Avoid recursion limit issues resolving deltas. (William Grant, #81)
466 * Allow arguments in local client binary path overrides.
469 * Fix handling of commands with arguments in paramiko SSH
470 client. (Andreas Klöckner, Jelmer Vernooij, #363)
472 * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305)
478 * Return `ApplyDeltaError` when encountering delta errors
479 in both C extensions and native delta application code.
480 (Jelmer Vernooij, #259)
486 * In dulwich.index.build_index_from_tree, by default
487 refuse to create entries that start with .git/.
489 * Fix running of testsuite when installed.
490 (Jelmer Vernooij, #223)
492 * Use a block cache in _find_content_rename_candidates(),
493 improving performance. (Mike Williams)
495 * Add support for ``core.protectNTFS`` setting.
498 * Fix TypeError when fetching empty updates.
501 * Resolve delta refs when pulling into a MemoryRepo.
502 (Max Shawabkeh, #256)
504 * Fix handling of tags of non-commits in missing object finder.
505 (Augie Fackler, #211)
507 * Explicitly disable mmap on plan9 where it doesn't work.
512 * New public method `Repo.reset_index`. (Jelmer Vernooij)
514 * Prevent duplicate parsing of loose files in objects
515 directory when reading. Thanks to David Keijser for the
516 report. (Jelmer Vernooij, #231)
522 * Fix buffer overflow in C implementation of pack apply_delta().
525 Thanks to Ivan Fratric of the Google Security Team for
526 reporting this issue.
533 * Various fixes to improve test suite running on Windows.
536 * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
538 * Strip newline from final ACKed SHA while fetching packs.
541 * Remove assignment to PyList_SIZE() that was causing segfaults on
542 pypy. (Jelmer Vernooij, #196)
546 * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
548 * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
550 * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
552 * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
555 * Add 'fetch' porcelain. (Jelmer Vernooij)
557 * Add 'tag_delete' porcelain. (Jelmer Vernooij)
559 * Add support for serializing/deserializing 'gpgsig' attributes in Commit.
564 * dul-web is now available as 'dulwich web-daemon'.
567 * dulwich.porcelain.tag has been renamed to tag_create.
568 dulwich.porcelain.list_tags has been renamed to tag_list.
573 * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe)
580 * Fix tests dependent on hash ordering. (Michael Edgar)
582 * Support staging symbolic links in Repo.stage.
585 * Ensure that all files object are closed when running the test suite.
588 * When writing OFS_DELTA pack entries, write correct offset.
591 * Fix handler of larger copy operations in packs. (Augie Fackler)
593 * Various fixes to improve test suite running on Windows.
596 * Fix logic for extra adds of identical files in rename detector.
601 * Add porcelain 'status'. (Ryan Faulkner)
603 * Add porcelain 'daemon'. (Jelmer Vernooij)
605 * Add `dulwich.greenthreads` module which provides support
606 for concurrency of some object store operations.
609 * Various changes to improve compatibility with Python 3.
610 (Gary van der Merwe, Hannu Valtonen, michael-k)
612 * Add OpenStack Swift backed repository implementation
613 in dulwich.contrib. See README.swift for details. (Fabien Boucher)
617 * An optional close function can be passed to the Protocol class. This will
618 be called by its close method. (Gary van der Merwe)
620 * All classes with close methods are now context managers, so that they can
621 be easily closed using a `with` statement. (Gary van der Merwe)
623 * Remove deprecated `num_objects` argument to `write_pack` methods.
628 * The 'dul-daemon' script has been removed. The same functionality
629 is now available as 'dulwich daemon'. (Jelmer Vernooij)
635 * Add support for recursive add in 'git add'.
636 (Ryan Faulkner, Jelmer Vernooij)
638 * Add porcelain 'list_tags'. (Ryan Faulkner)
640 * Add porcelain 'push'. (Ryan Faulkner)
642 * Add porcelain 'pull'. (Ryan Faulkner)
644 * Support 'http.proxy' in HttpGitClient.
645 (Jelmer Vernooij, #1096030)
647 * Support 'http.useragent' in HttpGitClient.
650 * In server, wait for clients to send empty list of
651 wants when talking to empty repository.
654 * Various changes to improve compatibility with
655 Python 3. (Gary van der Merwe)
659 * Support unseekable 'wsgi.input' streams.
662 * Raise TypeError when passing unicode() object
666 * Fix handling of `reset` command in dulwich.fastexport.
667 (Jelmer Vernooij, #1249029)
669 * In client, don't wait for server to close connection
670 first. Fixes hang when used against GitHub
671 server implementation. (Siddharth Agarwal)
673 * DeltaChainIterator: fix a corner case where an object is inflated as an
674 object already in the repository.
675 (Damien Tournoud, #135)
677 * Stop leaking file handles during pack reload. (Damien Tournoud)
679 * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
683 * Drop support for Python 2.6. (Jelmer Vernooij)
689 * Add porcelain 'tag'. (Ryan Faulkner)
691 * New module `dulwich.objectspec` for parsing strings referencing
692 objects and commit ranges. (Jelmer Vernooij)
694 * Add shallow branch support. (milki)
696 * Allow passing urllib2 `opener` into HttpGitClient.
697 (Dov Feldstern, #909037)
701 * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
705 * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
706 ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
708 * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
711 * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
715 * Raise KeyError rather than TypeError when passing in
716 unicode object of length 20 or 40 to Repo.__getitem__.
719 * Use 'rm' rather than 'unlink' in tests, since the latter
720 does not exist on OpenBSD and other platforms.
721 (Dmitrij D. Czarkoff)
727 * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
729 * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
731 * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
733 * Various performance improvements for object access.
736 * New function `get_transport_and_path_from_url`,
737 similar to `get_transport_and_path` but only
741 * Add support for file:// URLs in `get_transport_and_path_from_url`.
744 * Add LocalGitClient implementation.
749 * Support filesystems with 64bit inode and device numbers.
754 * Ref handling has been moved to dulwich.refs.
759 * Remove long deprecated RefsContainer.set_ref().
762 * Repo.ref() is now deprecated in favour of Repo.refs[].
767 * Add support for graftpoints. (milki)
773 * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
779 * Include stdint.h in MANIFEST.in (Mark Mikofski)
785 * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
787 * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
789 * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
792 * Fix capability negotiation when fetching packs over HTTP.
793 (#1072461, William Grant)
795 * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
797 * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
801 * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
804 * Add `Repo.get_description` method. (Jelmer Vernooij)
806 * Support thin packs in Pack.iterobjects() and Pack.get_raw().
809 * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
812 * Add paramiko-based SSH vendor. (Aaron O'Mullan)
814 * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
817 * Add ObjectStore.close(). (Jelmer Vernooij)
819 * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
824 * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
827 * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
828 abort() method that can be used to cancel the pack operation.
835 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
837 * Use indentation consistent with C Git in config files.
838 (#1031356, Curt Moore, Jelmer Vernooij)
840 * Recognize and skip binary files in diff function.
843 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
844 (Brian Visel, #1169368)
846 * Preserve ordering of entries in configuration.
849 * Support ~ expansion in SSH client paths. (milki, #1083439)
851 * Support relative paths in alternate paths.
852 (milki, Michel Lespinasse, #1175007)
854 * Log all error messages from wsgiref server to the logging module. This
855 makes the test suit quiet again. (Gary van der Merwe)
857 * Support passing None for empty tree in changes_from_tree.
860 * Support fetching empty repository in client. (milki, #1060462)
864 * Add optional honor_filemode flag to build_index_from_tree.
867 * Support core/filemode setting when building trees. (Jelmer Vernooij)
869 * Add chapter on tags in tutorial. (Ryan Faulkner)
873 * Add support for mergetags. (milki, #963525)
875 * Add support for posix shell hooks. (milki)
881 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
884 * Fix compatibility with Python 2.4. (David Carr)
890 * dulwich.__init__ no longer imports client, protocol, repo and
891 server modules. (Jelmer Vernooij)
895 * ConfigDict now behaves more like a dictionary.
896 (Adam 'Cezar' Jenkins, issue #58)
898 * HTTPGitApplication now takes an optional
899 `fallback_app` argument. (Jonas Haag, issue #67)
901 * Support for large pack index files. (Jameson Nash)
905 * Make index entry tests a little bit less strict, to cope with
906 slightly different behaviour on various platforms.
909 * ``setup.py test`` (available when setuptools is installed) now
910 runs all tests, not just the basic unit tests.
915 * Commit._deserialize now actually deserializes the current state rather than
916 the previous one. (Yifan Zhang, issue #59)
918 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
920 * Support cloning repositories without HEAD set.
921 (D-Key, Jelmer Vernooij, issue #69)
923 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
925 * In ``get_transport_and_path``, pass extra keyword arguments on to
926 HttpGitClient. (Jelmer Vernooij)
932 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
934 * Be a little bit strict about OS behaviour in index tests.
935 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
941 * Options on the same line as sections in config files are now supported.
942 (Jelmer Vernooij, #920553)
944 * Only negotiate capabilities that are also supported by the server.
945 (Rod Cloutier, Risto Kankkunen)
947 * Fix parsing of invalid timezone offsets with two minus signs.
948 (Jason R. Coombs, #697828)
950 * Reset environment variables during tests, to avoid
951 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
955 * $HOME is now explicitly specified for tests that use it to read
956 ``~/.gitconfig``, to prevent test isolation issues.
957 (Jelmer Vernooij, #920330)
961 * Additional arguments to get_transport_and_path are now passed
962 on to the constructor of the transport. (Sam Vilain)
964 * The WSGI server now transparently handles when a git client submits data
965 using Content-Encoding: gzip.
966 (David Blewett, Jelmer Vernooij)
968 * Add dulwich.index.build_index_from_tree(). (milki)
974 * The config parser now supports the git-config file format as
975 described in git-config(1) and can write git config files.
976 (Jelmer Vernooij, #531092, #768687)
978 * ``Repo.do_commit`` will now use the user identity from
979 .git/config or ~/.gitconfig if none was explicitly specified.
984 * Allow ``determine_wants`` methods to include the zero sha in their
985 return value. (Jelmer Vernooij)
991 * Cope with different zlib buffer sizes in sha1 file parser.
994 * Fix get_transport_and_path for HTTP/HTTPS URLs.
997 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
999 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
1001 * Properly abort connections when the determine_wants function
1002 raises an exception. (Jelmer Vernooij, #856769)
1004 * Tweak xcodebuild hack to deal with more error output.
1005 (Jelmer Vernooij, #903840)
1009 * Add support for retrieving tarballs from remote servers.
1010 (Jelmer Vernooij, #379087)
1012 * New method ``update_server_info`` which generates data
1013 for dumb server access. (Jelmer Vernooij, #731235)
1019 * Repo.do_commit has a new argument 'ref'.
1021 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
1023 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
1025 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
1027 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
1030 * ``HttpGitClient`` which supports the smart server protocol over
1031 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
1033 * Add basic support for alternates. (Jelmer Vernooij, #810429)
1037 * unittest2 or python >= 2.7 is now required for the testsuite.
1038 testtools is no longer supported. (Jelmer Vernooij, #830713)
1042 * Fix compilation with older versions of MSVC. (Martin gz)
1044 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
1046 * Smart protocol clients can now change refs even if they are
1047 not uploading new data. (Jelmer Vernooij, #855993)
1049 * Don't compile C extensions when running in pypy.
1050 (Ronny Pfannschmidt, #881546)
1052 * Use different name for strnlen replacement function to avoid clashing
1053 with system strnlen. (Jelmer Vernooij, #880362)
1057 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
1064 * New DeltaChainIterator abstract class for quickly iterating all objects in
1065 a pack, with implementations for pack indexing and inflation.
1068 * New walk module with a Walker class for customizable commit walking.
1071 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
1073 * Easy rename detection in RenameDetector even without find_copies_harder.
1078 * Avoid storing all objects in memory when writing pack.
1079 (Jelmer Vernooij, #813268)
1081 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
1083 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
1085 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
1087 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
1089 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
1091 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
1093 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
1094 left in the buffer. (Dave Borowitz)
1096 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
1098 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
1100 * ObjectStore.get_graph_walker() now no longer yields the same
1101 revision more than once. This has a significant improvement for
1102 performance when wide revision graphs are involved.
1103 (Jelmer Vernooij, #818168)
1105 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
1107 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
1109 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
1111 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
1113 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
1116 * Use correct MIME types in web server. (Dave Borowitz)
1120 * write_pack no longer takes the num_objects argument and requires an object
1121 to be passed in that is iterable (rather than an iterator) and that
1122 provides __len__. (Jelmer Vernooij)
1124 * write_pack_data has been renamed to write_pack_objects and no longer takes a
1125 num_objects argument. (Jelmer Vernooij)
1127 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
1128 PackStreamReader.read_objects now take an additional argument indicating a
1129 crc32 to compute. (Dave Borowitz)
1131 * PackObjectIterator was removed; its functionality is still exposed by
1132 PackData.iterobjects. (Dave Borowitz)
1134 * Add a sha arg to write_pack_object to incrementally compute a SHA.
1137 * Include offset in PackStreamReader results. (Dave Borowitz)
1139 * Move PackStreamReader from server to pack. (Dave Borowitz)
1141 * Extract a check_length_and_checksum, compute_file_sha, and
1142 pack_object_header pack helper functions. (Dave Borowitz)
1144 * Extract a compute_file_sha function. (Dave Borowitz)
1146 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
1147 the thin pack and moves it in in one step. Remove ThinPackData as well.
1150 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
1152 * New UnpackedObject data class that replaces ad-hoc tuples in the return
1153 value of unpack_object and various DeltaChainIterator methods.
1156 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
1158 * Optionally create RenameDetectors without passing in tree SHAs.
1161 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
1163 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
1165 * Optionally pass a request object through to server handlers. (Dave Borowitz)
1169 * If setuptools is installed, "python setup.py test" will now run the testsuite.
1172 * Add a new build_pack test utility for building packs from a simple spec.
1175 * Add a new build_commit_graph test utility for building commits from a
1176 simple spec. (Dave Borowitz)
1182 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
1184 * Fix the build on Windows. (Pascal Quantin)
1186 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
1187 (Max Bowsher, #707438)
1189 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
1192 * write_tree_diff() now supports submodules.
1195 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
1200 * Sphinxified documentation. (Lukasz Balcerzak)
1202 * Add Pack.keep.(Marc Brinkmann)
1206 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
1207 is now consistent with the rest of Dulwich. Existing code will still
1208 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
1210 * Tree.entries() is now deprecated in favour of Tree.items() and
1211 Tree.iteritems(). (Jelmer Vernooij)
1217 * New `dulwich.diff_tree` module for simple content-based rename detection.
1220 * Add Tree.items(). (Jelmer Vernooij)
1222 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
1224 * Add write_tree_diff(). (Jelmer Vernooij)
1226 * Add `serve_command` function for git server commands as executables.
1229 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
1230 (Dave Borowitz, #568493)
1234 * Correct short-circuiting operation for no-op fetches in the server.
1237 * Support parsing git mbox patches without a version tail, as generated by
1238 Mercurial. (Jelmer Vernooij)
1240 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
1242 * Zero-padded file modes in Tree objects no longer trigger an exception but
1243 the check code warns about them. (Augie Fackler, #581064)
1245 * Repo.init() now honors the mkdir flag. (#671159)
1247 * The ref format is now checked when setting a ref rather than when reading it back.
1248 (Dave Borowitz, #653527)
1250 * Make sure pack files are closed correctly. (Tay Ray Chuan)
1254 * Run the tutorial inside the test suite. (Jelmer Vernooij)
1256 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
1264 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
1266 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
1268 * ThinPackData.from_file now works with resolve_ext_ref callback.
1271 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
1273 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
1277 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
1279 * Web server supports streaming progress/pack output. (Dave Borowitz)
1281 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
1283 * Distinguish between missing files and read errors in HTTP server.
1286 * Initial work on support for fastimport using python-fastimport.
1289 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
1291 * Delegate SHA peeling to the object store. (Dave Borowitz)
1295 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1297 * New tests in test_web with better coverage and fewer ad-hoc mocks.
1300 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
1302 * Fix use when testtools is installed. (Jelmer Vernooij)
1304 * Add trivial test for write_pack_header. (Jelmer Vernooij)
1306 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
1308 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
1310 * Use real in-memory objects rather than stubs for server tests.
1313 * Clean up MissingObjectFinder. (Dave Borowitz)
1317 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
1318 order. (Dave Borowitz)
1320 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
1323 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
1325 * Change server capabilities methods to classmethods. (Dave Borowitz)
1327 * Tweak server handler injection. (Dave Borowitz)
1329 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
1330 itself a subclass of PackIndex. (Jelmer Vernooij)
1334 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
1336 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
1338 * Explicitly specify allowed protocol commands to
1339 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
1341 * Add utility functions to DictRefsContainer. (Dave Borowitz)
1348 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
1350 * Use correct path separators for named repo files. (Dave Borowitz)
1352 * python > 2.7 and testtools-based test runners will now also pick up skipped
1353 tests correctly. (Jelmer Vernooij)
1357 * Move named file initilization to BaseRepo. (Dave Borowitz)
1359 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
1361 * The GitClient interface has been cleaned up and instances are now reusable.
1364 * Allow overriding paths to executables in GitSSHClient.
1365 (Ross Light, Jelmer Vernooij, #585204)
1367 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
1371 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
1373 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
1375 * Quiet logging output from web tests. (Dave Borowitz)
1377 * More flexible version checking for compat tests. (Dave Borowitz)
1379 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
1383 * Clean up file headers. (Dave Borowitz)
1387 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1391 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
1392 rather than a filename. (Jelmer Vernooij)
1394 * Make dul-daemon/dul-web trivial wrappers around server functionality.
1397 * Move reference WSGI handler to web.py. (Dave Borowitz)
1399 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
1401 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
1406 note: This list is most likely incomplete for 0.6.0.
1410 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
1413 * Deal with capabilities required by the client, even if they
1414 can not be disabled in the server. (Dave Borowitz)
1416 * Fix trailing newlines in generated patch files.
1419 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
1421 * Cope with \r in ref files on Windows. (
1422 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
1424 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
1426 * Support packed ref deletion with no peeled refs. (Augie Fackler)
1428 * Fix send pack when there is nothing to fetch. (Augie Fackler)
1430 * Fix fetch if no progress function is specified. (Augie Fackler)
1432 * Allow double-staging of files that are deleted in the index.
1435 * Fix RefsContainer.add_if_new to support dangling symrefs.
1438 * Non-existant index files in non-bare repositories are now treated as
1439 empty. (Dave Borowitz)
1441 * Always update ShaFile.id when the contents of the object get changed.
1444 * Various Python2.4-compatibility fixes. (Dave Borowitz)
1446 * Fix thin pack handling. (Dave Borowitz)
1450 * Add include-tag capability to server. (Dave Borowitz)
1452 * New dulwich.fastexport module that can generate fastexport
1453 streams. (Jelmer Vernooij)
1455 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
1457 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
1459 * Overall improvements checking Git objects. (Dave Borowitz)
1461 * Packs are now verified while they are received. (Dave Borowitz)
1465 * Add framework for testing compatibility with C Git. (Dave Borowitz)
1467 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
1469 * Cope with diffstat not being available on all platforms.
1470 (Tay Ray Chuan, Jelmer Vernooij)
1472 * Add make_object and make_commit convenience functions to test utils.
1477 * The 'committer' and 'message' arguments to Repo.do_commit() have
1478 been swapped. 'committer' is now optional. (Jelmer Vernooij)
1480 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
1483 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
1484 for clarity. (Jelmer Vernooij)
1488 * The primary serialization APIs in dulwich.objects now work
1489 with chunks of strings rather than with full-text strings.
1496 * Support custom fields in commits (readonly). (Jelmer Vernooij)
1498 * Improved ref handling. (Dave Borowitz)
1500 * Rework server protocol to be smarter and interoperate with cgit client.
1503 * Add a GitFile class that uses the same locking protocol for writes as
1504 cgit. (Dave Borowitz)
1506 * Cope with forward slashes correctly in the index on Windows.
1507 (Jelmer Vernooij, #526793)
1511 * --pure option to setup.py to allow building/installing without the C
1512 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
1514 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
1516 * HTTP dumb and smart server. (Dave Borowitz)
1518 * Add abstract baseclass for Repo that does not require file system
1519 operations. (Dave Borowitz)
1525 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
1527 * Add Index.changes_from_tree(). (Jelmer Vernooij)
1529 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
1531 * Add functionality for writing patches in dulwich.patch.
1542 * dulwich.object_store.tree_lookup_path will now return the mode and
1543 sha of the object found rather than the object itself.
1547 * Use binascii.hexlify / binascii.unhexlify for better performance.
1549 * Cope with extra unknown data in index files by ignoring it (for now).
1551 * Add proper error message when server unexpectedly hangs up. (#415843)
1553 * Correctly write opcode for equal in create_delta.
1559 * Implement ShaFile.__hash__().
1561 * Implement Tree.__len__()
1565 * Check for 'objects' and 'refs' directories
1566 when looking for a Git repository. (#380818)
1572 * Support the encoding field in Commits.
1574 * Some Windows compatibility fixes.
1576 * Fixed several issues in commit support.
1580 * Basic support for handling submodules.
1586 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
1591 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
1592 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
1597 * Removed import of 'sha' module in objects.py, which was causing
1598 deprecation warnings on Python 2.6.
1604 * A new function 'commit_tree' has been added that can commit a tree
1609 * The memory usage when generating indexes has been significantly reduced.
1611 * A memory leak in the C implementation of parse_tree has been fixed.
1613 * The send-pack smart server command now works. (Thanks Scott Chacon)
1615 * The handling of short timestamps (less than 10 digits) has been fixed.
1617 * The handling of timezones has been fixed.
1623 * Fix compatibility with Python2.4.
1629 * Support for activity reporting in smart protocol client.
1631 * Optional C extensions for better performance in a couple of
1632 places that are performance-critical.
1638 * Fixed regression in Repo.find_missing_objects()
1640 * Don't fetch ^{} objects from remote hosts, as requesting them
1643 * Always write pack to disk completely before calculating checksum.
1647 * Allow disabling thin packs when talking to remote hosts.