Dulwich

Latest version: v0.22.1

Safety actively analyzes 630223 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 20 of 22

0.7.120110412

BUG FIXES

* Fix double decref in _diff_tree.c. (Ted Horst, 715528)

* Fix the build on Windows. (Pascal Quantin)

* Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
(Max Bowsher, 707438)

* BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
(Jelmer Vernooij)

* write_tree_diff() now supports submodules.
(Jelmer Vernooij)

* Fix compilation for XCode 4 and older versions of distutils.sysconfig.
(Daniele Sluijters)

IMPROVEMENTS

* Sphinxified documentation. (Lukasz Balcerzak)

* Add Pack.keep.(Marc Brinkmann)

API CHANGES

* The order of the parameters to Tree.add(name, mode, sha) has changed, and
is now consistent with the rest of Dulwich. Existing code will still
work but print a DeprecationWarning. (Jelmer Vernooij, 663550)

* Tree.entries() is now deprecated in favour of Tree.items() and
Tree.iteritems(). (Jelmer Vernooij)

0.7.020110121

FEATURES

* New `dulwich.diff_tree` module for simple content-based rename detection.
(Dave Borowitz)

* Add Tree.items(). (Jelmer Vernooij)

* Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)

* Add write_tree_diff(). (Jelmer Vernooij)

* Add `serve_command` function for git server commands as executables.
(Jelmer Vernooij)

* dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
(Dave Borowitz, 568493)

BUG FIXES

* Correct short-circuiting operation for no-op fetches in the server.
(Dave Borowitz)

* Support parsing git mbox patches without a version tail, as generated by
Mercurial. (Jelmer Vernooij)

* Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)

* Zero-padded file modes in Tree objects no longer trigger an exception but
the check code warns about them. (Augie Fackler, 581064)

* Repo.init() now honors the mkdir flag. (671159)

* The ref format is now checked when setting a ref rather than when reading it back.
(Dave Borowitz, 653527)

* Make sure pack files are closed correctly. (Tay Ray Chuan)

DOCUMENTATION

* Run the tutorial inside the test suite. (Jelmer Vernooij)

* Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, 610550,
610540)

0.6.220101016

BUG FIXES

* HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)

* Don't error when creating GitFiles with the default mode. (Dave Borowitz)

* ThinPackData.from_file now works with resolve_ext_ref callback.
(Dave Borowitz)

* Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)

* Set bare=true in the configuration for bare repositories. (Dirk Neumann)

FEATURES

* Use slots for core objects to save up on memory. (Jelmer Vernooij)

* Web server supports streaming progress/pack output. (Dave Borowitz)

* New public function dulwich.pack.write_pack_header. (Dave Borowitz)

* Distinguish between missing files and read errors in HTTP server.
(Dave Borowitz)

* Initial work on support for fastimport using python-fastimport.
(Jelmer Vernooij)

* New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)

* Delegate SHA peeling to the object store. (Dave Borowitz)

TESTS

* Use GitFile when modifying packed-refs in tests. (Dave Borowitz)

* New tests in test_web with better coverage and fewer ad-hoc mocks.
(Dave Borowitz)

* Standardize quote delimiters in test_protocol. (Dave Borowitz)

* Fix use when testtools is installed. (Jelmer Vernooij)

* Add trivial test for write_pack_header. (Jelmer Vernooij)

* Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)

* Allow overwriting id property of objects in test utils. (Dave Borowitz)

* Use real in-memory objects rather than stubs for server tests.
(Dave Borowitz)

* Clean up MissingObjectFinder. (Dave Borowitz)

API CHANGES

* ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
order. (Dave Borowitz)

* ObjectStore.iter_tree_contents can optionally yield tree objects as well.
(Dave Borowitz).

* Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)

* Change server capabilities methods to classmethods. (Dave Borowitz)

* Tweak server handler injection. (Dave Borowitz)

* PackIndex1 and PackIndex2 now subclass FilePackIndex, which is
itself a subclass of PackIndex. (Jelmer Vernooij)

DOCUMENTATION

* Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)

* Clean up docstrings in dulwich.protocol. (Dave Borowitz)

* Explicitly specify allowed protocol commands to
ProtocolGraphWalker.read_proto_line. (Dave Borowitz)

* Add utility functions to DictRefsContainer. (Dave Borowitz)

0.6.120100722

BUG FIXES

* Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)

* Use correct path separators for named repo files. (Dave Borowitz)

* python > 2.7 and testtools-based test runners will now also pick up skipped
tests correctly. (Jelmer Vernooij)

FEATURES

* Move named file initialization to BaseRepo. (Dave Borowitz)

* Add logging utilities and git/HTTP server logging. (Dave Borowitz)

* The GitClient interface has been cleaned up and instances are now reusable.
(Augie Fackler)

* Allow overriding paths to executables in GitSSHClient.
(Ross Light, Jelmer Vernooij, 585204)

* Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)

TESTS

* Add tests for sorted_tree_items and C implementation. (Dave Borowitz)

* Add a MemoryRepo that stores everything in memory. (Dave Borowitz)

* Quiet logging output from web tests. (Dave Borowitz)

* More flexible version checking for compat tests. (Dave Borowitz)

* Compat tests for servers with and without side-band-64k. (Dave Borowitz)

CLEANUP

* Clean up file headers. (Dave Borowitz)

TESTS

* Use GitFile when modifying packed-refs in tests. (Dave Borowitz)

API CHANGES

* dulwich.pack.write_pack_index_v{1,2} now take a file-like object
rather than a filename. (Jelmer Vernooij)

* Make dul-daemon/dul-web trivial wrappers around server functionality.
(Dave Borowitz)

* Move reference WSGI handler to web.py. (Dave Borowitz)

* Factor out _report_status in ReceivePackHandler. (Dave Borowitz)

* Factor out a function to convert a line to a pkt-line. (Dave Borowitz)

0.6.020100522

note: This list is most likely incomplete for 0.6.0.

BUG FIXES

* Fix ReceivePackHandler to disallow removing refs without delete-refs.
(Dave Borowitz)

* Deal with capabilities required by the client, even if they
can not be disabled in the server. (Dave Borowitz)

* Fix trailing newlines in generated patch files.
(Jelmer Vernooij)

* Implement RefsContainer.__contains__. (Jelmer Vernooij)

* Cope with \r in ref files on Windows. (
http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)

* Fix GitFile breakage on Windows. (Anatoly Techtonik, 557585)

* Support packed ref deletion with no peeled refs. (Augie Fackler)

* Fix send pack when there is nothing to fetch. (Augie Fackler)

* Fix fetch if no progress function is specified. (Augie Fackler)

* Allow double-staging of files that are deleted in the index.
(Dave Borowitz)

* Fix RefsContainer.add_if_new to support dangling symrefs.
(Dave Borowitz)

* Non-existent index files in non-bare repositories are now treated as
empty. (Dave Borowitz)

* Always update ShaFile.id when the contents of the object get changed.
(Jelmer Vernooij)

* Various Python2.4-compatibility fixes. (Dave Borowitz)

* Fix thin pack handling. (Dave Borowitz)

FEATURES

* Add include-tag capability to server. (Dave Borowitz)

* New dulwich.fastexport module that can generate fastexport
streams. (Jelmer Vernooij)

* Implemented BaseRepo.__contains__. (Jelmer Vernooij)

* Add __setitem__ to DictRefsContainer. (Dave Borowitz)

* Overall improvements checking Git objects. (Dave Borowitz)

* Packs are now verified while they are received. (Dave Borowitz)

TESTS

* Add framework for testing compatibility with C Git. (Dave Borowitz)

* Add various tests for the use of non-bare repositories. (Dave Borowitz)

* Cope with diffstat not being available on all platforms.
(Tay Ray Chuan, Jelmer Vernooij)

* Add make_object and make_commit convenience functions to test utils.
(Dave Borowitz)

API BREAKAGES

* The 'committer' and 'message' arguments to Repo.do_commit() have
been swapped. 'committer' is now optional. (Jelmer Vernooij)

* Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
(Jelmer Vernooij)

* RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
for clarity. (Jelmer Vernooij)

API CHANGES

* The primary serialization APIs in dulwich.objects now work
with chunks of strings rather than with full-text strings.
(Jelmer Vernooij)

0.5.020100303

BUG FIXES

* Support custom fields in commits (readonly). (Jelmer Vernooij)

* Improved ref handling. (Dave Borowitz)

* Rework server protocol to be smarter and interoperate with cgit client.
(Dave Borowitz)

* Add a GitFile class that uses the same locking protocol for writes as
cgit. (Dave Borowitz)

* Cope with forward slashes correctly in the index on Windows.
(Jelmer Vernooij, 526793)

FEATURES

* --pure option to setup.py to allow building/installing without the C
extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, 434326)

* Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)

* HTTP dumb and smart server. (Dave Borowitz)

* Add abstract baseclass for Repo that does not require file system
operations. (Dave Borowitz)

Page 20 of 22

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.