5 * Add `dulwich.porcelain.write_tree`.
8 * Support reading ``MERGE_HEADS`` in ``Repo.do_commit``.
11 * Import from ``collections.abc`` rather than ``collections`` where
12 applicable. Required for 3.8 compatibility.
15 * Support plain strings as refspec arguments to
16 ``dulwich.porcelain.push``. (Jelmer Vernooij)
18 * Add support for creating signed tags.
19 (Jelmer Vernooij, #542)
23 * Handle invalid ref that pretends to be a sub-folder under a valid ref.
30 * Avoid fetching ghosts in ``Repo.fetch``.
33 * Preserve port and username in parsed HTTP URLs.
36 * Add basic server side implementation of ``git-upload-archive``.
41 * Fix encoding when reading README file in setup.py.
42 (egor <egor@sourced.tech>, #668)
48 * Drop support for Python 3 < 3.4. This is because
49 pkg_resources (which get used by setuptools and mock)
50 no longer supports 3.3 and earlier. (Jelmer Vernooij)
54 * Support ``depth`` argument to ``GitClient.fetch_pack`` and support
55 fetching and updating shallow metadata. (Jelmer Vernooij, #240)
59 * Don't write to stdout and stderr when they are not available
60 (such as is the case for pythonw). (Sylvia van Os, #652)
62 * Fix compatibility with newer versions of git, which expect CONTENT_LENGTH
63 to be set to 0 for empty body requests. (Jelmer Vernooij, #657)
65 * Raise an exception client-side when a caller tries to request
66 SHAs that are not directly referenced the servers' refs.
69 * Raise more informative errors when unable to connect to repository
70 over SSH or subprocess. (Jelmer Vernooij)
72 * Handle commit identity fields with multiple ">" characters.
77 * ``dulwich.porcelain.get_object_by_path`` method for easily
78 accessing a path in another tree. (Jelmer Vernooij)
80 * Support the ``i18n.commitEncoding`` setting in config.
87 * Fix support for custom transport arguments in ``dulwich.porcelain.clone``.
90 * Fix compatibility with Python 3.8 (Jelmer Vernooij, Daniel M. Capella)
92 * Fix some corner cases in ``path_to_tree_path``. (Romain Keramitas)
94 * Support paths as bytestrings in various places in ``dulwich.index``
97 * Avoid setup.cfg for now, since it seems to break pypi metadata.
98 (Jelmer Vernooij, #658)
104 * Add ``porcelain.describe``. (Sylvia van Os)
108 * Fix regression in ``dulwich.porcelain.clone`` that prevented cloning
109 of remote repositories. (Jelmer Vernooij, #639)
111 * Don't leave around empty parent directories for removed refs.
112 (Damien Tournoud, #640)
118 * Add ``porcelain.ls_files``. (Jelmer Vernooij)
120 * Add ``Index.items``. (Jelmer Vernooij)
124 * Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg,
125 since setuptools doesn't deal well with them. See
126 https://github.com/pypa/setuptools/issues/1062. (Jelmer Vernooij, #637)
132 * Add really basic `dulwich.porcelain.fsck` implementation.
135 * When the `DULWICH_PDB` environment variable is set, make
136 SIGQUIT open pdb in the 'dulwich' command.
138 * Add `checkout` argument to `Repo.clone`.
139 (Jelmer Vernooij, #503)
141 * Add `Repo.get_shallow` method. (Jelmer Vernooij)
143 * Add basic `dulwich.stash` module. (Jelmer Vernooij)
145 * Support a `prefix` argument to `dulwich.archive.tar_stream`.
150 * Fix handling of encoding for tags. (Jelmer Vernooij, #608)
152 * Fix tutorial tests on Python 3. (Jelmer Vernooij, #573)
154 * Fix remote refs created by `porcelain.fetch`. (Daniel Andersson, #623)
156 * More robust pack creation on Windows. (Daniel Andersson)
158 * Fix recursive option for `porcelain.ls_tree`. (Romain Keramitas)
162 * Some improvements to paramiko tests. (Filipp Frizzy)
168 * Fix deprecated Index.iterblobs method.
175 * Add 'dulwich.mailmap' file for reading mailmap files.
178 * Dulwich no longer depends on urllib3[secure]. Instead,
179 "dulwich[https]" can be used to pull in the necessary
180 dependencies for HTTPS support. (Jelmer Vernooij, #616)
182 * Support the `http.sslVerify` and `http.sslCAInfo`
183 configuration options. (Jelmer Vernooij)
185 * Factor out `dulwich.client.parse_rsync_url` function.
188 * Fix repeat HTTP requests using the same smart HTTP client.
191 * New 'client.PLinkSSHVendor' for creating connections using PuTTY's plink.exe.
192 (Adam Bradley, Filipp Frizzy)
194 * Only pass in `key_filename` and `password` to SSHVendor
195 implementations if those parameters are set.
196 (This helps with older SSHVendor implementations)
201 * Index.iterblobs has been renamed to Index.iterobjects.
208 * Make `dulwich.archive` set the gzip header file modification time so that
209 archives created from the same Git tree are always identical.
212 * Allow comment characters (#, ;) within configuration file strings
213 (Daniel Andersson, #579)
215 * Raise exception when passing in invalid author/committer values
216 to Repo.do_commit(). (Jelmer Vernooij, #602)
220 * Add a fastimport ``extra``. (Jelmer Vernooij)
222 * Start writing reflog entries. (Jelmer Vernooij)
224 * Add ability to use password and keyfile ssh options with SSHVendor. (Filipp Kucheryavy)
226 * Add ``change_type_same`` flag to ``tree_changes``.
231 * ``GitClient.send_pack`` now accepts a ``generate_pack_data``
232 rather than a ``generate_pack_contents`` function for
233 performance reasons. (Jelmer Vernooij)
235 * Dulwich now uses urllib3 internally for HTTP requests.
236 The `opener` argument to `dulwich.client.HttpGitClient` that took a
237 `urllib2` opener instance has been replaced by a `pool_manager` argument
238 that takes a `urllib3` pool manager instance.
245 * Fix handling of empty repositories in ``porcelain.clone``.
246 (#570, Jelmer Vernooij)
248 * Raise an error when attempting to add paths that are not under the
249 repository. (Jelmer Vernooij)
251 * Fix error message for missing trailing ]. (Daniel Andersson)
253 * Raise EmptyFileException when corruption (in the form of an empty
254 file) is detected. (Antoine R. Dumont, #582)
258 * Enforce date field parsing consistency. This also add checks on
259 those date fields for potential overflow.
260 (Antoine R. Dumont, #567)
266 * Fix cwd for hooks. (Fabian Grünbichler)
268 * Fix setting of origin in config when non-standard origin is passed into
269 ``Repo.clone``. (Kenneth Lareau, #565)
271 * Prevent setting SSH arguments from SSH URLs when using SSH through a
272 subprocess. Note that Dulwich doesn't support cloning submodules.
273 (CVE-2017-16228) (Jelmer Vernooij)
277 * Silently ignored directories in ``Repo.stage``.
278 (Jelmer Vernooij, #564)
282 * GitFile now raises ``FileLocked`` when encountering a lock
283 rather than OSError(EEXIST). (Jelmer Vernooij)
289 * Make default User-Agent start with "git/" because GitHub won't response to
290 HTTP smart server requests otherwise (and reply with a 404).
291 (Jelmer vernooij, #562)
297 * Read config during porcelain operations that involve remotes.
298 (Jelmer Vernooij, #545)
300 * Fix headers of empty chunks in unified diffs. (Taras Postument, #543)
302 * Properly follow redirects over HTTP. (Jelmer Vernooij, #117)
306 * Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439)
308 * ``GitClient.fetch_pack`` now returns symrefs.
309 (Jelmer Vernooij, #485)
311 * The server now supports providing symrefs.
312 (Jelmer Vernooij, #485)
314 * Add ``dulwich.object_store.commit_tree_changes`` to incrementally
315 commit changes to a tree structure. (Jelmer Vernooij)
317 * Add basic ``PackBasedObjectStore.repack`` method.
318 (Jelmer Vernooij, Earl Chew, #296, #549, #552)
324 * Use constant timestamp so tests pass in all timezones, not just BST.
331 * Fix syntax error in dulwich.contrib.test_swift_smoke.
338 * Fix remaining tests on Windows. (Jelmer Vernooij, #493)
340 * Fix build of C extensions with Python 3 on Windows.
343 * Pass 'mkdir' argument onto Repo.init_bare in Repo.clone.
344 (Jelmer Vernooij, #504)
346 * In ``dulwich.porcelain.add``, if no files are specified,
347 add from current working directory rather than repository root.
348 (Jelmer Vernooij, #521)
350 * Properly deal with submodules in 'porcelain.status'.
351 (Jelmer Vernooij, #517)
353 * ``dulwich.porcelain.remove`` now actually removes files from
354 disk, not just from the index. (Jelmer Vernooij, #488)
356 * Fix handling of "reset" command with markers and without
357 "from". (Antoine Pietri)
359 * Fix handling of "merge" command with markers. (Antoine Pietri)
361 * Support treeish argument to porcelain.reset(), rather than
362 requiring a ref/commit id. (Jelmer Vernooij)
364 * Handle race condition when mtime doesn't change between writes/reads.
365 (Jelmer Vernooij, #541)
367 * Fix ``dulwich.porcelain.show`` on commits with Python 3.
368 (Jelmer Vernooij, #532)
372 * Add basic support for reading ignore files in ``dulwich.ignore``.
373 ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
374 ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
376 * New ``dulwich.porcelain.check_ignore`` command.
379 * ``dulwich.porcelain.status`` now supports a ``ignored`` argument.
384 * Clarified docstrings for Client.{send_pack,fetch_pack} implementations.
385 (Jelmer Vernooij, #523)
391 * List Python 3.3 as supported. (Jelmer Vernooij, #513)
395 * Fix compatibility with pypy 3. (Jelmer Vernooij)
402 https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
403 fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner)
405 * Properly quote config values with a '#' character in them.
406 (Jelmer Vernooij, #511)
412 * Add basic 'dulwich pull' command. (Jelmer Vernooij)
416 * Cope with existing submodules during pull.
417 (Jelmer Vernooij, #505)
423 * Skip test that requires sync to synchronize filesystems if os.sync is
424 not available. (Koen Martens)
428 * Implement MemoryRepo.{set_description,get_description}.
431 * Raise exception in Repo.stage() when absolute paths are
432 passed in. Allow passing in relative paths to
433 porcelain.add().(Jelmer Vernooij)
437 * Handle multi-line quoted values in config files.
438 (Jelmer Vernooij, #495)
440 * Allow porcelain.clone of repository without HEAD.
441 (Jelmer Vernooij, #501)
443 * Support passing tag ids to Walker()'s include argument.
446 * Don't strip trailing newlines from extra headers.
449 * Set bufsize=0 for subprocess interaction with SSH client.
450 Fixes hangs on Python 3. (René Stern, #434)
452 * Don't drop first slash for SSH paths, except for those
453 starting with "~". (Jelmer Vernooij, René Stern, #463)
455 * Properly log off after retrieving just refs.
462 * Remove racy check that relies on clock time changing between writes.
467 * Add porcelain.remote_add. (Jelmer Vernooij)
473 * Fixed failing test-cases on windows.
478 * Repo is now a context manager, so that it can be easily
479 closed using a ``with`` statement. (Søren Løvborg)
483 * Only run worktree list compat tests against git 2.7.0,
484 when 'git worktree list' was introduced. (Jelmer Vernooij)
488 * Ignore filemode when building index when core.filemode
492 * Initialize core.filemode configuration setting by
493 probing the filesystem for trustable permissions.
496 * Fix ``porcelain.reset`` to respect the comittish argument.
499 * Fix dulwich.porcelain.ls_remote() on Python 3.
500 (#471, Jelmer Vernooij)
502 * Allow both unicode and byte strings for host paths
503 in dulwich.client. (#435, Jelmer Vernooij)
505 * Add remote from porcelain.clone. (#466, Jelmer Vernooij)
507 * Fix unquoting of credentials before passing to urllib2.
508 (#475, Volodymyr Holovko)
510 * Cope with submodules in `build_index_from_tree`.
511 (#477, Jelmer Vernooij)
513 * Handle deleted files in `get_unstaged_changes`.
514 (#483, Doug Hellmann)
516 * Don't overwrite files when they haven't changed in
517 `build_file_from_blob`.
518 (#479, Benoît HERVIER)
520 * Check for existence of index file before opening pack.
521 Fixes a race when new packs are being added.
528 * Fix python3 compatibility for dulwich.contrib.release_robot.
535 * Add support for worktrees. See `git-worktree(1)` and
536 `gitrepository-layout(5)`. (Laurent Rineau)
538 * Add support for `commondir` file in Git control
539 directories. (Laurent Rineau)
541 * Add support for passwords in HTTP URLs.
542 (Jon Bain, Mika Mäenpää)
544 * Add `release_robot` script to contrib,
545 allowing easy finding of current version based on Git tags.
548 * Add ``Blob.splitlines`` method.
553 * Fix handling of ``Commit.tree`` being set to an actual
554 tree object rather than a tree id. (Jelmer Vernooij)
556 * Return remote refs from LocalGitClient.fetch_pack(),
557 consistent with the documentation for that method.
558 (#461, Jelmer Vernooij)
560 * Fix handling of unknown URL schemes in get_transport_and_path.
561 (#465, Jelmer Vernooij)
567 * Allow missing trailing LF when reading service name from
568 HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442)
570 * Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451)
572 * Properly pull in tags during dulwich.porcelain.clone.
573 (Jelmer Vernooij, #408)
577 * Changed license from "GNU General Public License, version 2.0 or later"
578 to "Apache License, version 2.0 or later or GNU General Public License,
579 version 2.0 or later". (#153)
583 * Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij)
589 * Fix regression removing untouched refs when pushing over SSH.
590 (Jelmer Vernooij #441)
592 * Skip Python3 tests for SWIFT contrib module, as it has not yet
599 * Fix ShaFile.id after modification of a copied ShaFile.
600 (Félix Mattrat, Jelmer Vernooij)
602 * Support removing refs from porcelain.push.
603 (Jelmer Vernooij, #437)
605 * Stop magic protocol ref `capabilities^{}` from leaking out
606 to clients. (Jelmer Vernooij, #254)
610 * Add `dulwich.config.parse_submodules` function.
612 * Add `RefsContainer.follow` method. (#438)
618 * Support `ssh://` URLs in get_transport_and_path_from_url().
619 (Jelmer Vernooij, #402)
621 * Support missing empty line after headers in Git commits and tags.
622 (Nicolas Dandrimont, #413)
624 * Fix `dulwich.porcelain.status` when used in empty trees.
625 (Jelmer Vernooij, #415)
627 * Return copies of objects in MemoryObjectStore rather than
628 references, making the behaviour more consistent with that of
629 DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
631 * Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
635 * Drop support for Python 2.6.
637 * Fix python3 client web support. (Jelmer Vernooij)
641 * Fix hang on Gzip decompression. (Jonas Haag)
643 * Don't rely on working tell() and seek() methods
644 on wsgi.input. (Jonas Haag)
646 * Support fastexport/fastimport functionality on python3 with newer
647 versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat)
653 * Add a `dulwich.archive` module that can create tarballs.
654 Based on code from Jonas Haag in klaus.
656 * Add a `dulwich.reflog` module for reading and writing reflogs.
659 * Fix handling of ambiguous refs in `parse_ref` to make
660 it match the behaviour described in https://git-scm.com/docs/gitrevisions.
663 * Support Python3 in C modules. (Lele Gaifax)
667 * Simplify handling of SSH command invocation.
668 Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384)
670 * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)
672 * Add hack to support thin packs duing fetch(), albeit while requiring the
673 entire pack file to be loaded into memory. (jsbain)
677 * This will be the last release to support Python 2.6.
683 * Add support for agent= capability. (Jelmer Vernooij, #298)
685 * Add support for quiet capability. (Jelmer Vernooij)
689 * The ParamikoSSHVendor class has been moved to
690 * dulwich.contrib.paramiko_vendor, as it's currently untested.
691 (Jelmer Vernooij, #364)
695 Fix-up release to exclude broken blame.py file.
701 * Extended Python3 support to most of the codebase.
702 (Gary van der Merwe, Jelmer Vernooij)
703 * The `Repo` object has a new `close` method that can be called to close any
704 open resources. (Gary van der Merwe)
705 * Support 'git.bat' in SubprocessGitClient on Windows.
707 * Advertise 'ofs-delta' capability in receive-pack server side
708 capabilities. (Jelmer Vernooij)
709 * Switched `default_local_git_client_cls` to `LocalGitClient`.
711 * Add `porcelain.ls_remote` and `GitClient.get_refs`.
713 * Add `Repo.discover` method. (B. M. Corser)
714 * Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij)
715 * Add `porcelain.pack_objects` and `porcelain.repack`.
720 * Fix handling of 'done' in graph walker and implement the
721 'no-done' capability. (Tommy Yu, #88)
723 * Avoid recursion limit issues resolving deltas. (William Grant, #81)
725 * Allow arguments in local client binary path overrides.
728 * Fix handling of commands with arguments in paramiko SSH
729 client. (Andreas Klöckner, Jelmer Vernooij, #363)
731 * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305)
737 * Return `ApplyDeltaError` when encountering delta errors
738 in both C extensions and native delta application code.
739 (Jelmer Vernooij, #259)
745 * In dulwich.index.build_index_from_tree, by default
746 refuse to create entries that start with .git/.
748 * Fix running of testsuite when installed.
749 (Jelmer Vernooij, #223)
751 * Use a block cache in _find_content_rename_candidates(),
752 improving performance. (Mike Williams)
754 * Add support for ``core.protectNTFS`` setting.
757 * Fix TypeError when fetching empty updates.
760 * Resolve delta refs when pulling into a MemoryRepo.
761 (Max Shawabkeh, #256)
763 * Fix handling of tags of non-commits in missing object finder.
764 (Augie Fackler, #211)
766 * Explicitly disable mmap on plan9 where it doesn't work.
771 * New public method `Repo.reset_index`. (Jelmer Vernooij)
773 * Prevent duplicate parsing of loose files in objects
774 directory when reading. Thanks to David Keijser for the
775 report. (Jelmer Vernooij, #231)
781 * Fix buffer overflow in C implementation of pack apply_delta().
784 Thanks to Ivan Fratric of the Google Security Team for
785 reporting this issue.
792 * Various fixes to improve test suite running on Windows.
795 * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
797 * Strip newline from final ACKed SHA while fetching packs.
800 * Remove assignment to PyList_SIZE() that was causing segfaults on
801 pypy. (Jelmer Vernooij, #196)
805 * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
807 * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
809 * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
811 * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
814 * Add 'fetch' porcelain. (Jelmer Vernooij)
816 * Add 'tag_delete' porcelain. (Jelmer Vernooij)
818 * Add support for serializing/deserializing 'gpgsig' attributes in Commit.
823 * dul-web is now available as 'dulwich web-daemon'.
826 * dulwich.porcelain.tag has been renamed to tag_create.
827 dulwich.porcelain.list_tags has been renamed to tag_list.
832 * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe)
839 * Fix tests dependent on hash ordering. (Michael Edgar)
841 * Support staging symbolic links in Repo.stage.
844 * Ensure that all files object are closed when running the test suite.
847 * When writing OFS_DELTA pack entries, write correct offset.
850 * Fix handler of larger copy operations in packs. (Augie Fackler)
852 * Various fixes to improve test suite running on Windows.
855 * Fix logic for extra adds of identical files in rename detector.
860 * Add porcelain 'status'. (Ryan Faulkner)
862 * Add porcelain 'daemon'. (Jelmer Vernooij)
864 * Add `dulwich.greenthreads` module which provides support
865 for concurrency of some object store operations.
868 * Various changes to improve compatibility with Python 3.
869 (Gary van der Merwe, Hannu Valtonen, michael-k)
871 * Add OpenStack Swift backed repository implementation
872 in dulwich.contrib. See README.swift for details. (Fabien Boucher)
876 * An optional close function can be passed to the Protocol class. This will
877 be called by its close method. (Gary van der Merwe)
879 * All classes with close methods are now context managers, so that they can
880 be easily closed using a `with` statement. (Gary van der Merwe)
882 * Remove deprecated `num_objects` argument to `write_pack` methods.
887 * The 'dul-daemon' script has been removed. The same functionality
888 is now available as 'dulwich daemon'. (Jelmer Vernooij)
894 * Add support for recursive add in 'git add'.
895 (Ryan Faulkner, Jelmer Vernooij)
897 * Add porcelain 'list_tags'. (Ryan Faulkner)
899 * Add porcelain 'push'. (Ryan Faulkner)
901 * Add porcelain 'pull'. (Ryan Faulkner)
903 * Support 'http.proxy' in HttpGitClient.
904 (Jelmer Vernooij, #1096030)
906 * Support 'http.useragent' in HttpGitClient.
909 * In server, wait for clients to send empty list of
910 wants when talking to empty repository.
913 * Various changes to improve compatibility with
914 Python 3. (Gary van der Merwe)
918 * Support unseekable 'wsgi.input' streams.
921 * Raise TypeError when passing unicode() object
925 * Fix handling of `reset` command in dulwich.fastexport.
926 (Jelmer Vernooij, #1249029)
928 * In client, don't wait for server to close connection
929 first. Fixes hang when used against GitHub
930 server implementation. (Siddharth Agarwal)
932 * DeltaChainIterator: fix a corner case where an object is inflated as an
933 object already in the repository.
934 (Damien Tournoud, #135)
936 * Stop leaking file handles during pack reload. (Damien Tournoud)
938 * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
942 * Drop support for Python 2.6. (Jelmer Vernooij)
948 * Add porcelain 'tag'. (Ryan Faulkner)
950 * New module `dulwich.objectspec` for parsing strings referencing
951 objects and commit ranges. (Jelmer Vernooij)
953 * Add shallow branch support. (milki)
955 * Allow passing urllib2 `opener` into HttpGitClient.
956 (Dov Feldstern, #909037)
960 * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
964 * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
965 ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
967 * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
970 * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
974 * Raise KeyError rather than TypeError when passing in
975 unicode object of length 20 or 40 to Repo.__getitem__.
978 * Use 'rm' rather than 'unlink' in tests, since the latter
979 does not exist on OpenBSD and other platforms.
980 (Dmitrij D. Czarkoff)
986 * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
988 * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
990 * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
992 * Various performance improvements for object access.
995 * New function `get_transport_and_path_from_url`,
996 similar to `get_transport_and_path` but only
1000 * Add support for file:// URLs in `get_transport_and_path_from_url`.
1003 * Add LocalGitClient implementation.
1008 * Support filesystems with 64bit inode and device numbers.
1013 * Ref handling has been moved to dulwich.refs.
1018 * Remove long deprecated RefsContainer.set_ref().
1021 * Repo.ref() is now deprecated in favour of Repo.refs[].
1026 * Add support for graftpoints. (milki)
1032 * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
1038 * Include stdint.h in MANIFEST.in (Mark Mikofski)
1044 * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
1046 * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
1048 * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
1051 * Fix capability negotiation when fetching packs over HTTP.
1052 (#1072461, William Grant)
1054 * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
1056 * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
1060 * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions.
1063 * Add `Repo.get_description` method. (Jelmer Vernooij)
1065 * Support thin packs in Pack.iterobjects() and Pack.get_raw().
1068 * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
1071 * Add paramiko-based SSH vendor. (Aaron O'Mullan)
1073 * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
1076 * Add ObjectStore.close(). (Jelmer Vernooij)
1078 * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
1083 * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
1086 * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
1087 abort() method that can be used to cancel the pack operation.
1094 * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
1096 * Use indentation consistent with C Git in config files.
1097 (#1031356, Curt Moore, Jelmer Vernooij)
1099 * Recognize and skip binary files in diff function.
1102 * Fix handling of relative paths in dulwich.client.get_transport_and_path.
1103 (Brian Visel, #1169368)
1105 * Preserve ordering of entries in configuration.
1108 * Support ~ expansion in SSH client paths. (milki, #1083439)
1110 * Support relative paths in alternate paths.
1111 (milki, Michel Lespinasse, #1175007)
1113 * Log all error messages from wsgiref server to the logging module. This
1114 makes the test suit quiet again. (Gary van der Merwe)
1116 * Support passing None for empty tree in changes_from_tree.
1119 * Support fetching empty repository in client. (milki, #1060462)
1123 * Add optional honor_filemode flag to build_index_from_tree.
1126 * Support core/filemode setting when building trees. (Jelmer Vernooij)
1128 * Add chapter on tags in tutorial. (Ryan Faulkner)
1132 * Add support for mergetags. (milki, #963525)
1134 * Add support for posix shell hooks. (milki)
1140 * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
1143 * Fix compatibility with Python 2.4. (David Carr)
1149 * dulwich.__init__ no longer imports client, protocol, repo and
1150 server modules. (Jelmer Vernooij)
1154 * ConfigDict now behaves more like a dictionary.
1155 (Adam 'Cezar' Jenkins, issue #58)
1157 * HTTPGitApplication now takes an optional
1158 `fallback_app` argument. (Jonas Haag, issue #67)
1160 * Support for large pack index files. (Jameson Nash)
1164 * Make index entry tests a little bit less strict, to cope with
1165 slightly different behaviour on various platforms.
1168 * ``setup.py test`` (available when setuptools is installed) now
1169 runs all tests, not just the basic unit tests.
1174 * Commit._deserialize now actually deserializes the current state rather than
1175 the previous one. (Yifan Zhang, issue #59)
1177 * Handle None elements in lists of TreeChange objects. (Alex Holmes)
1179 * Support cloning repositories without HEAD set.
1180 (D-Key, Jelmer Vernooij, issue #69)
1182 * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
1184 * In ``get_transport_and_path``, pass extra keyword arguments on to
1185 HttpGitClient. (Jelmer Vernooij)
1191 * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
1193 * Be a little bit strict about OS behaviour in index tests.
1194 Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
1200 * Options on the same line as sections in config files are now supported.
1201 (Jelmer Vernooij, #920553)
1203 * Only negotiate capabilities that are also supported by the server.
1204 (Rod Cloutier, Risto Kankkunen)
1206 * Fix parsing of invalid timezone offsets with two minus signs.
1207 (Jason R. Coombs, #697828)
1209 * Reset environment variables during tests, to avoid
1210 test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
1214 * $HOME is now explicitly specified for tests that use it to read
1215 ``~/.gitconfig``, to prevent test isolation issues.
1216 (Jelmer Vernooij, #920330)
1220 * Additional arguments to get_transport_and_path are now passed
1221 on to the constructor of the transport. (Sam Vilain)
1223 * The WSGI server now transparently handles when a git client submits data
1224 using Content-Encoding: gzip.
1225 (David Blewett, Jelmer Vernooij)
1227 * Add dulwich.index.build_index_from_tree(). (milki)
1233 * The config parser now supports the git-config file format as
1234 described in git-config(1) and can write git config files.
1235 (Jelmer Vernooij, #531092, #768687)
1237 * ``Repo.do_commit`` will now use the user identity from
1238 .git/config or ~/.gitconfig if none was explicitly specified.
1243 * Allow ``determine_wants`` methods to include the zero sha in their
1244 return value. (Jelmer Vernooij)
1250 * Cope with different zlib buffer sizes in sha1 file parser.
1253 * Fix get_transport_and_path for HTTP/HTTPS URLs.
1256 * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
1258 * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
1260 * Properly abort connections when the determine_wants function
1261 raises an exception. (Jelmer Vernooij, #856769)
1263 * Tweak xcodebuild hack to deal with more error output.
1264 (Jelmer Vernooij, #903840)
1268 * Add support for retrieving tarballs from remote servers.
1269 (Jelmer Vernooij, #379087)
1271 * New method ``update_server_info`` which generates data
1272 for dumb server access. (Jelmer Vernooij, #731235)
1278 * Repo.do_commit has a new argument 'ref'.
1280 * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
1282 * New ``Repo.get_walker`` method. (Jelmer Vernooij)
1284 * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
1286 * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
1289 * ``HttpGitClient`` which supports the smart server protocol over
1290 HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
1292 * Add basic support for alternates. (Jelmer Vernooij, #810429)
1296 * unittest2 or python >= 2.7 is now required for the testsuite.
1297 testtools is no longer supported. (Jelmer Vernooij, #830713)
1301 * Fix compilation with older versions of MSVC. (Martin gz)
1303 * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
1305 * Smart protocol clients can now change refs even if they are
1306 not uploading new data. (Jelmer Vernooij, #855993)
1308 * Don't compile C extensions when running in pypy.
1309 (Ronny Pfannschmidt, #881546)
1311 * Use different name for strnlen replacement function to avoid clashing
1312 with system strnlen. (Jelmer Vernooij, #880362)
1316 * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
1323 * New DeltaChainIterator abstract class for quickly iterating all objects in
1324 a pack, with implementations for pack indexing and inflation.
1327 * New walk module with a Walker class for customizable commit walking.
1330 * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
1332 * Easy rename detection in RenameDetector even without find_copies_harder.
1337 * Avoid storing all objects in memory when writing pack.
1338 (Jelmer Vernooij, #813268)
1340 * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
1342 * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
1344 * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
1346 * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
1348 * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
1350 * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
1352 * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
1353 left in the buffer. (Dave Borowitz)
1355 * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
1357 * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
1359 * ObjectStore.get_graph_walker() now no longer yields the same
1360 revision more than once. This has a significant improvement for
1361 performance when wide revision graphs are involved.
1362 (Jelmer Vernooij, #818168)
1364 * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
1366 * Don't send a pack with duplicates of the same object. (Dave Borowitz)
1368 * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
1370 * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
1372 * Fix add/add and add/rename conflicts in tree_changes_for_merge.
1375 * Use correct MIME types in web server. (Dave Borowitz)
1379 * write_pack no longer takes the num_objects argument and requires an object
1380 to be passed in that is iterable (rather than an iterator) and that
1381 provides __len__. (Jelmer Vernooij)
1383 * write_pack_data has been renamed to write_pack_objects and no longer takes a
1384 num_objects argument. (Jelmer Vernooij)
1386 * take_msb_bytes, read_zlib_chunks, unpack_objects, and
1387 PackStreamReader.read_objects now take an additional argument indicating a
1388 crc32 to compute. (Dave Borowitz)
1390 * PackObjectIterator was removed; its functionality is still exposed by
1391 PackData.iterobjects. (Dave Borowitz)
1393 * Add a sha arg to write_pack_object to incrementally compute a SHA.
1396 * Include offset in PackStreamReader results. (Dave Borowitz)
1398 * Move PackStreamReader from server to pack. (Dave Borowitz)
1400 * Extract a check_length_and_checksum, compute_file_sha, and
1401 pack_object_header pack helper functions. (Dave Borowitz)
1403 * Extract a compute_file_sha function. (Dave Borowitz)
1405 * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
1406 the thin pack and moves it in in one step. Remove ThinPackData as well.
1409 * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
1411 * New UnpackedObject data class that replaces ad-hoc tuples in the return
1412 value of unpack_object and various DeltaChainIterator methods.
1415 * Add a lookup_path convenience method to Tree. (Dave Borowitz)
1417 * Optionally create RenameDetectors without passing in tree SHAs.
1420 * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
1422 * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
1424 * Optionally pass a request object through to server handlers. (Dave Borowitz)
1428 * If setuptools is installed, "python setup.py test" will now run the testsuite.
1431 * Add a new build_pack test utility for building packs from a simple spec.
1434 * Add a new build_commit_graph test utility for building commits from a
1435 simple spec. (Dave Borowitz)
1441 * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
1443 * Fix the build on Windows. (Pascal Quantin)
1445 * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
1446 (Max Bowsher, #707438)
1448 * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
1451 * write_tree_diff() now supports submodules.
1454 * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
1459 * Sphinxified documentation. (Lukasz Balcerzak)
1461 * Add Pack.keep.(Marc Brinkmann)
1465 * The order of the parameters to Tree.add(name, mode, sha) has changed, and
1466 is now consistent with the rest of Dulwich. Existing code will still
1467 work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
1469 * Tree.entries() is now deprecated in favour of Tree.items() and
1470 Tree.iteritems(). (Jelmer Vernooij)
1476 * New `dulwich.diff_tree` module for simple content-based rename detection.
1479 * Add Tree.items(). (Jelmer Vernooij)
1481 * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
1483 * Add write_tree_diff(). (Jelmer Vernooij)
1485 * Add `serve_command` function for git server commands as executables.
1488 * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
1489 (Dave Borowitz, #568493)
1493 * Correct short-circuiting operation for no-op fetches in the server.
1496 * Support parsing git mbox patches without a version tail, as generated by
1497 Mercurial. (Jelmer Vernooij)
1499 * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
1501 * Zero-padded file modes in Tree objects no longer trigger an exception but
1502 the check code warns about them. (Augie Fackler, #581064)
1504 * Repo.init() now honors the mkdir flag. (#671159)
1506 * The ref format is now checked when setting a ref rather than when reading it back.
1507 (Dave Borowitz, #653527)
1509 * Make sure pack files are closed correctly. (Tay Ray Chuan)
1513 * Run the tutorial inside the test suite. (Jelmer Vernooij)
1515 * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
1523 * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
1525 * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
1527 * ThinPackData.from_file now works with resolve_ext_ref callback.
1530 * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
1532 * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
1536 * Use slots for core objects to save up on memory. (Jelmer Vernooij)
1538 * Web server supports streaming progress/pack output. (Dave Borowitz)
1540 * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
1542 * Distinguish between missing files and read errors in HTTP server.
1545 * Initial work on support for fastimport using python-fastimport.
1548 * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
1550 * Delegate SHA peeling to the object store. (Dave Borowitz)
1554 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1556 * New tests in test_web with better coverage and fewer ad-hoc mocks.
1559 * Standardize quote delimiters in test_protocol. (Dave Borowitz)
1561 * Fix use when testtools is installed. (Jelmer Vernooij)
1563 * Add trivial test for write_pack_header. (Jelmer Vernooij)
1565 * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
1567 * Allow overwriting id property of objects in test utils. (Dave Borowitz)
1569 * Use real in-memory objects rather than stubs for server tests.
1572 * Clean up MissingObjectFinder. (Dave Borowitz)
1576 * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
1577 order. (Dave Borowitz)
1579 * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
1582 * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
1584 * Change server capabilities methods to classmethods. (Dave Borowitz)
1586 * Tweak server handler injection. (Dave Borowitz)
1588 * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
1589 itself a subclass of PackIndex. (Jelmer Vernooij)
1593 * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
1595 * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
1597 * Explicitly specify allowed protocol commands to
1598 ProtocolGraphWalker.read_proto_line. (Dave Borowitz)
1600 * Add utility functions to DictRefsContainer. (Dave Borowitz)
1607 * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
1609 * Use correct path separators for named repo files. (Dave Borowitz)
1611 * python > 2.7 and testtools-based test runners will now also pick up skipped
1612 tests correctly. (Jelmer Vernooij)
1616 * Move named file initilization to BaseRepo. (Dave Borowitz)
1618 * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
1620 * The GitClient interface has been cleaned up and instances are now reusable.
1623 * Allow overriding paths to executables in GitSSHClient.
1624 (Ross Light, Jelmer Vernooij, #585204)
1626 * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
1630 * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
1632 * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
1634 * Quiet logging output from web tests. (Dave Borowitz)
1636 * More flexible version checking for compat tests. (Dave Borowitz)
1638 * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
1642 * Clean up file headers. (Dave Borowitz)
1646 * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1650 * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
1651 rather than a filename. (Jelmer Vernooij)
1653 * Make dul-daemon/dul-web trivial wrappers around server functionality.
1656 * Move reference WSGI handler to web.py. (Dave Borowitz)
1658 * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
1660 * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
1665 note: This list is most likely incomplete for 0.6.0.
1669 * Fix ReceivePackHandler to disallow removing refs without delete-refs.
1672 * Deal with capabilities required by the client, even if they
1673 can not be disabled in the server. (Dave Borowitz)
1675 * Fix trailing newlines in generated patch files.
1678 * Implement RefsContainer.__contains__. (Jelmer Vernooij)
1680 * Cope with \r in ref files on Windows. (
1681 http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
1683 * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
1685 * Support packed ref deletion with no peeled refs. (Augie Fackler)
1687 * Fix send pack when there is nothing to fetch. (Augie Fackler)
1689 * Fix fetch if no progress function is specified. (Augie Fackler)
1691 * Allow double-staging of files that are deleted in the index.
1694 * Fix RefsContainer.add_if_new to support dangling symrefs.
1697 * Non-existant index files in non-bare repositories are now treated as
1698 empty. (Dave Borowitz)
1700 * Always update ShaFile.id when the contents of the object get changed.
1703 * Various Python2.4-compatibility fixes. (Dave Borowitz)
1705 * Fix thin pack handling. (Dave Borowitz)
1709 * Add include-tag capability to server. (Dave Borowitz)
1711 * New dulwich.fastexport module that can generate fastexport
1712 streams. (Jelmer Vernooij)
1714 * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
1716 * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
1718 * Overall improvements checking Git objects. (Dave Borowitz)
1720 * Packs are now verified while they are received. (Dave Borowitz)
1724 * Add framework for testing compatibility with C Git. (Dave Borowitz)
1726 * Add various tests for the use of non-bare repositories. (Dave Borowitz)
1728 * Cope with diffstat not being available on all platforms.
1729 (Tay Ray Chuan, Jelmer Vernooij)
1731 * Add make_object and make_commit convenience functions to test utils.
1736 * The 'committer' and 'message' arguments to Repo.do_commit() have
1737 been swapped. 'committer' is now optional. (Jelmer Vernooij)
1739 * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
1742 * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
1743 for clarity. (Jelmer Vernooij)
1747 * The primary serialization APIs in dulwich.objects now work
1748 with chunks of strings rather than with full-text strings.
1755 * Support custom fields in commits (readonly). (Jelmer Vernooij)
1757 * Improved ref handling. (Dave Borowitz)
1759 * Rework server protocol to be smarter and interoperate with cgit client.
1762 * Add a GitFile class that uses the same locking protocol for writes as
1763 cgit. (Dave Borowitz)
1765 * Cope with forward slashes correctly in the index on Windows.
1766 (Jelmer Vernooij, #526793)
1770 * --pure option to setup.py to allow building/installing without the C
1771 extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
1773 * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
1775 * HTTP dumb and smart server. (Dave Borowitz)
1777 * Add abstract baseclass for Repo that does not require file system
1778 operations. (Dave Borowitz)
1784 * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
1786 * Add Index.changes_from_tree(). (Jelmer Vernooij)
1788 * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
1790 * Add functionality for writing patches in dulwich.patch.
1801 * dulwich.object_store.tree_lookup_path will now return the mode and
1802 sha of the object found rather than the object itself.
1806 * Use binascii.hexlify / binascii.unhexlify for better performance.
1808 * Cope with extra unknown data in index files by ignoring it (for now).
1810 * Add proper error message when server unexpectedly hangs up. (#415843)
1812 * Correctly write opcode for equal in create_delta.
1818 * Implement ShaFile.__hash__().
1820 * Implement Tree.__len__()
1824 * Check for 'objects' and 'refs' directories
1825 when looking for a Git repository. (#380818)
1831 * Support the encoding field in Commits.
1833 * Some Windows compatibility fixes.
1835 * Fixed several issues in commit support.
1839 * Basic support for handling submodules.
1845 * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to
1850 * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and
1851 Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
1856 * Removed import of 'sha' module in objects.py, which was causing
1857 deprecation warnings on Python 2.6.
1863 * A new function 'commit_tree' has been added that can commit a tree
1868 * The memory usage when generating indexes has been significantly reduced.
1870 * A memory leak in the C implementation of parse_tree has been fixed.
1872 * The send-pack smart server command now works. (Thanks Scott Chacon)
1874 * The handling of short timestamps (less than 10 digits) has been fixed.
1876 * The handling of timezones has been fixed.
1882 * Fix compatibility with Python2.4.
1888 * Support for activity reporting in smart protocol client.
1890 * Optional C extensions for better performance in a couple of
1891 places that are performance-critical.
1897 * Fixed regression in Repo.find_missing_objects()
1899 * Don't fetch ^{} objects from remote hosts, as requesting them
1902 * Always write pack to disk completely before calculating checksum.
1906 * Allow disabling thin packs when talking to remote hosts.