Dulwich

Latest version: v0.22.1

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

Scan your dependencies

Page 19 of 22

0.8.520120329

BUG FIXES

* Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)

* Be a little bit strict about OS behaviour in index tests.
Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)

0.8.420120328

BUG FIXES

* Options on the same line as sections in config files are now supported.
(Jelmer Vernooij, 920553)

* Only negotiate capabilities that are also supported by the server.
(Rod Cloutier, Risto Kankkunen)

* Fix parsing of invalid timezone offsets with two minus signs.
(Jason R. Coombs, 697828)

* Reset environment variables during tests, to avoid
test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)

TESTS

* $HOME is now explicitly specified for tests that use it to read
``~/.gitconfig``, to prevent test isolation issues.
(Jelmer Vernooij, 920330)

FEATURES

* Additional arguments to get_transport_and_path are now passed
on to the constructor of the transport. (Sam Vilain)

* The WSGI server now transparently handles when a git client submits data
using Content-Encoding: gzip.
(David Blewett, Jelmer Vernooij)

* Add dulwich.index.build_index_from_tree(). (milki)

0.8.320120121

FEATURES

* The config parser now supports the git-config file format as
described in git-config(1) and can write git config files.
(Jelmer Vernooij, 531092, 768687)

* ``Repo.do_commit`` will now use the user identity from
.git/config or ~/.gitconfig if none was explicitly specified.
(Jelmer Vernooij)

BUG FIXES

* Allow ``determine_wants`` methods to include the zero sha in their
return value. (Jelmer Vernooij)

0.8.220111218

BUG FIXES

* Cope with different zlib buffer sizes in sha1 file parser.
(Jelmer Vernooij)

* Fix get_transport_and_path for HTTP/HTTPS URLs.
(Bruno Renié)

* Avoid calling free_objects() on NULL in error cases. (Chris Eberle)

* Fix use --bare argument to 'dulwich init'. (Chris Eberle)

* Properly abort connections when the determine_wants function
raises an exception. (Jelmer Vernooij, 856769)

* Tweak xcodebuild hack to deal with more error output.
(Jelmer Vernooij, 903840)

FEATURES

* Add support for retrieving tarballs from remote servers.
(Jelmer Vernooij, 379087)

* New method ``update_server_info`` which generates data
for dumb server access. (Jelmer Vernooij, 731235)

0.8.120111031

FEATURES

* Repo.do_commit has a new argument 'ref'.

* Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)

* New ``Repo.get_walker`` method. (Jelmer Vernooij)

* New ``Repo.clone`` method. (Jelmer Vernooij, 725369)

* ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
(Jelmer Vernooij)

* ``HttpGitClient`` which supports the smart server protocol over
HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, 373688)

* Add basic support for alternates. (Jelmer Vernooij, 810429)

CHANGES

* unittest2 or python >= 2.7 is now required for the testsuite.
testtools is no longer supported. (Jelmer Vernooij, 830713)

BUG FIXES

* Fix compilation with older versions of MSVC. (Martin gz)

* Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, 695577)

* Smart protocol clients can now change refs even if they are
not uploading new data. (Jelmer Vernooij, 855993)

* Don't compile C extensions when running in pypy.
(Ronny Pfannschmidt, 881546)

* Use different name for strnlen replacement function to avoid clashing
with system strnlen. (Jelmer Vernooij, 880362)

API CHANGES

* ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
(Jelmer Vernooij)

0.8.020110807

FEATURES

* New DeltaChainIterator abstract class for quickly iterating all objects in
a pack, with implementations for pack indexing and inflation.
(Dave Borowitz)

* New walk module with a Walker class for customizable commit walking.
(Dave Borowitz)

* New tree_changes_for_merge function in diff_tree. (Dave Borowitz)

* Easy rename detection in RenameDetector even without find_copies_harder.
(Dave Borowitz)

BUG FIXES

* Avoid storing all objects in memory when writing pack.
(Jelmer Vernooij, 813268)

* Support IPv6 for git:// connections. (Jelmer Vernooij, 801543)

* Improve performance of Repo.revision_history(). (Timo Schmid, 535118)

* Fix use of SubprocessWrapper on Windows. (Paulo Madeira, 670035)

* Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, 794543)

* Prevent raising ValueError for correct refs in RefContainer.__delitem__.

* Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)

* Fix a bug in reading the pack checksum when there are fewer than 20 bytes
left in the buffer. (Dave Borowitz)

* Support ~ in git:// URL paths. (Jelmer Vernooij, 813555)

* Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)

* ObjectStore.get_graph_walker() now no longer yields the same
revision more than once. This has a significant improvement for
performance when wide revision graphs are involved.
(Jelmer Vernooij, 818168)

* Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)

* Don't send a pack with duplicates of the same object. (Dave Borowitz)

* Teach the server how to serve a clone of an empty repo. (Dave Borowitz)

* Correctly advertise capabilities during receive-pack. (Dave Borowitz)

* Fix add/add and add/rename conflicts in tree_changes_for_merge.
(Dave Borowitz)

* Use correct MIME types in web server. (Dave Borowitz)

API CHANGES

* write_pack no longer takes the num_objects argument and requires an object
to be passed in that is iterable (rather than an iterator) and that
provides __len__. (Jelmer Vernooij)

* write_pack_data has been renamed to write_pack_objects and no longer takes a
num_objects argument. (Jelmer Vernooij)

* take_msb_bytes, read_zlib_chunks, unpack_objects, and
PackStreamReader.read_objects now take an additional argument indicating a
crc32 to compute. (Dave Borowitz)

* PackObjectIterator was removed; its functionality is still exposed by
PackData.iterobjects. (Dave Borowitz)

* Add a sha arg to write_pack_object to incrementally compute a SHA.
(Dave Borowitz)

* Include offset in PackStreamReader results. (Dave Borowitz)

* Move PackStreamReader from server to pack. (Dave Borowitz)

* Extract a check_length_and_checksum, compute_file_sha, and
pack_object_header pack helper functions. (Dave Borowitz)

* Extract a compute_file_sha function. (Dave Borowitz)

* Remove move_in_thin_pack as a separate method; add_thin_pack now completes
the thin pack and moves it in in one step. Remove ThinPackData as well.
(Dave Borowitz)

* Custom buffer size in read_zlib_chunks. (Dave Borowitz)

* New UnpackedObject data class that replaces ad-hoc tuples in the return
value of unpack_object and various DeltaChainIterator methods.
(Dave Borowitz)

* Add a lookup_path convenience method to Tree. (Dave Borowitz)

* Optionally create RenameDetectors without passing in tree SHAs.
(Dave Borowitz)

* Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)

* Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)

* Optionally pass a request object through to server handlers. (Dave Borowitz)

TEST CHANGES

* If setuptools is installed, "python setup.py test" will now run the testsuite.
(Jelmer Vernooij)

* Add a new build_pack test utility for building packs from a simple spec.
(Dave Borowitz)

* Add a new build_commit_graph test utility for building commits from a
simple spec. (Dave Borowitz)

Page 19 of 22

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.