* Fix NameError when encountering errors during HTTP operation.
* Raise exception when default identity can't be found.
* Add a dedicated exception class for unresolved
deltas.
* Support credentials in proxy URL. (Jelmer Vernooij, #1227)
* Add ``dulwich.porcelain.for_each_ref``. (Daniele Trifirò)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=31
- update to 0.21.6:
* index: Handle different stages of conflicted paths.
* Improve LCA finding performance. (Kevin Hendricks)
* client: Handle Content-Type with encoding set.
* Only import _hashlib for type checking.
* Update docs regarding building dulwich without c bindings
* objects: Define a stricter return type for _parse_message
* Raise GitProtocolError when encountering HTTP Errors in
* HTTPGitClient.
* tests: Ignore errors when deleting GNUPG
* Fix some stash functions on Python 3.
+ Add workaround for
https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
+ Properly quote config values with a ‘#’ character in them.
+ Skip test that requires sync to synchronize filesystems if os.sync is not
+ Raise exception in Repo.stage() when absolute paths are passed in. Allow
+ Set bufsize=0 for subprocess interaction with SSH client. Fixes hangs on
+ Don’t drop first slash for SSH paths, except for those starting with “~”.
than a list of revisions.
OBS-URL: https://build.opensuse.org/request/show/1112077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=61
* index: Handle different stages of conflicted paths.
* Improve LCA finding performance. (Kevin Hendricks)
* client: Handle Content-Type with encoding set.
* Only import _hashlib for type checking.
* Update docs regarding building dulwich without c bindings
* objects: Define a stricter return type for _parse_message
* Raise GitProtocolError when encountering HTTP Errors in
* HTTPGitClient.
* tests: Ignore errors when deleting GNUPG
* Fix some stash functions on Python 3.
+ Add workaround for
https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
+ Properly quote config values with a ‘#’ character in them.
+ Skip test that requires sync to synchronize filesystems if os.sync is not
+ Raise exception in Repo.stage() when absolute paths are passed in. Allow
+ Set bufsize=0 for subprocess interaction with SSH client. Fixes hangs on
+ Don’t drop first slash for SSH paths, except for those starting with “~”.
than a list of revisions.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=29
* Be more tolerant to non-3-length tuple versions.
* Support ``core.symlinks=false``.
* Deprecate ``dulwich.objects.parse_commit``.
* Fix fetching into MemoryRepo.
* Support ``init.defaultBranch`` config.
* Fix ``ObjectStore.iterobjects_subset()`` when
hex shas are passed for objects that live in packs.
* client: Handle absolute path as redirect location in HTTP
client.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=26
* Add support for ``worktreeconfig`` extension.
* Deprecate ``Commit.extra``; the Git project specifically
discourages adding custom lines, and the contents of
``Commit.extra`` are unpredictable as contents
may be different between different versions of Dulwich
with support for different headers.
``Commit._extra`` still exists.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=24
- Update to version 0.21.2.
* Fix early file close bug in dulwich.pack.extend_pack. (@jelmer)
- Update to version 0.21.1.
* Factor out dulwich.pack.extend_pack. (@jelmer)
- Update to version 0.21.0.
* Pack internals have been significantly refactored, including significant low-level API changes.
As a consequence of this, Dulwich now reuses pack deltas when
communicating with remote servers, which brings a big boost to network performance. (@jelmer)
* Add 'pack-refs' command. (@danchr)
* Handle more errors when trying to read a ref (@danchr)
* Allow for reuse of existing deltas while creating pack files (@stspdotname)
* cli: fix argument parsing for pack-objects --stdout (@stspdotname)
* cli: open pack-objects output files in binary mode to avoid write() error (@stspdotname)
* Bump minimum python version to 3.7. (@jelmer)
* honor no_proxy environment variable (#1098, @afaul)
* In HTTP Git Client, allow missing Content-Type. (@jelmer)
* Fix --pure builds (@jelmer, #1093)
* Allow passing abbrev to describe (#1084, @nanonyme)
OBS-URL: https://build.opensuse.org/request/show/1059604
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=20
- Update to version 0.20.50.
* Fix Repo.reset_index. Previously, it instead took the union with the given tree. (Christian Sattler, #1072)
* Add -b argument to dulwich clone. (Jelmer Vernooij)
* On Windows, provide a hint about developer mode when creating symlinks fails due to a permission error. (Jelmer Vernooij, #1005)
* Add new ObjectID type in dulwich.objects, currently just an alias for bytes. (Jelmer Vernooij)
* Support repository format version 1. (Jelmer Vernooij, #1056)
* Support \r\n line endings with continuations when parsing configuration files. (Jelmer Vernooij)
* Fix handling of SymrefLoop in RefsContainer.setitem. (Dominic Davis-Foster, Jelmer Vernooij)
OBS-URL: https://build.opensuse.org/request/show/1037168
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=18
- update to 0.20.46:
* Apply insteadOf to rsync-style location strings
* Drop use of certifi, instead relying on urllib3's default
code to find system CAs.
* Implement timezone parsing in porcelain.
* Drop support for running without setuptools.
* Ensure configuration is loaded when
running "dulwich clone".
* Build 32 bit wheels for Windows.
* tests: Ignore errors when deleting GNUPG
home directory. Fixes spurious errors racing
gnupg-agent. Thanks, Matěj Cepl. Fixes#1000
* config: Support closing brackets in quotes in section
names. (Jelmer Vernooij, #10124)
* Various and formatting fixes. (Kian-Meng Ang)
* Document basic authentication in dulwich.porcelain.clone.
* Flush before calling fsync, ensuring buffers
are filled. (wernha)
* Support GPG commit signing. (springheeledjack0)
* Add python 3.11 support. (Saugat Pachhai)
* Allow missing GPG during tests. (Jakub Kulík)
* status: return posix-style untracked paths instead of nt-style paths on
win32 (Daniele Trifirò)
* Honour PATH environment when running C Git for testing.
* Split out exception for symbolic reference loops.
* Move various long-deprecated methods.
- drop rmtree-ignore-errors.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/1003048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=55
* Apply insteadOf to rsync-style location strings
* Drop use of certifi, instead relying on urllib3's default
code to find system CAs.
* Implement timezone parsing in porcelain.
* Drop support for running without setuptools.
* Ensure configuration is loaded when
running "dulwich clone".
* Build 32 bit wheels for Windows.
* tests: Ignore errors when deleting GNUPG
home directory. Fixes spurious errors racing
gnupg-agent. Thanks, Matěj Cepl. Fixes#1000
* config: Support closing brackets in quotes in section
names. (Jelmer Vernooij, #10124)
* Various and formatting fixes. (Kian-Meng Ang)
* Document basic authentication in dulwich.porcelain.clone.
* Flush before calling fsync, ensuring buffers
are filled. (wernha)
* Support GPG commit signing. (springheeledjack0)
* Add python 3.11 support. (Saugat Pachhai)
* Allow missing GPG during tests. (Jakub Kulík)
* status: return posix-style untracked paths instead of nt-style paths on
win32 (Daniele Trifirò)
* Honour PATH environment when running C Git for testing.
* Split out exception for symbolic reference loops.
* Move various long-deprecated methods.
- drop rmtree-ignore-errors.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=16
- update to 0.20.30:
* Support staging submodules.
* Drop deprecated Index.iterblobs and iter_fresh_blobs.
* Unify clone behaviour of ``Repo.clone`` and
``porcelain.clone``, and add branch parameter for
clone.
* Fix hook test on Mac OSX / Linux when dulwich is
not installed system-wide.
* Cope with gecos being unset.
* Allow adding files to repository in pre-commit hook.
* Raise SubmoduleEncountered in ``tree_lookup_path``.
OBS-URL: https://build.opensuse.org/request/show/945421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=44
- update to 0.20.23:
* Fix installation of GPG during package publishing.
* Prevent removal of refs directory when the last ref is
deleted.
* Fix filename: MERGE_HEADS => MERGE_HEAD.
* For ignored directories, porcelain.add and porcelain.status now only return
the path to directory itself in the list of ignored paths. Previously, paths
for all files within the directory would also be included in the list.
* Provide depth argument to ``determine_wants``.
* Various tag signature handling improvements.
* Add separate Tag.verify(). (Peter Rowlands)
* Add support for version 3 index files. (Jelmer Vernooij)
* Fix autocrlf=input handling. (Peter Rowlands, Boris Feld)
* Attempt to find C Git global config on Windows.
* The APIs for writing and reading individual index entries have changed
to handle lists of (name, entry) tuples rather than tuples.
* Add basic support for a GcsObjectStore that stores
pack files in gcs.
* In porcelain.push, default to local active branch.
* Support fetching symrefs.
OBS-URL: https://build.opensuse.org/request/show/897849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=40
- update to 0.20.20:
* Support untracked symlinks to paths outside the
repository.
* Fix handling of negative matches in nested gitignores.
* Fix formatting in setup.py. (Jelmer Vernooij)
* Add release configuration. (Jelmer Vernooij)
* credentials: ignore end-of-line character. (Georges Racinet)
* Fix failure in get_untracked_paths when the repository contains symlinks.
* docs: Clarify that Git objects are created on `git add`.
* Add flag to only attempt to fetch ignored untracked files when specifically requested.
OBS-URL: https://build.opensuse.org/request/show/887882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=38
- update to 0.20.5:
* Print a clearer exception when setup.py is executed on Python < 3.5.
* Send an empty pack to clients if they requested objects, even if they
already have those objects. Thanks to Martijn Pieters for
the detailed bug report.
* porcelain.pull: Don't ask for objects that we already have.
* Add LCA implementation. (Kevin Hendricks)
* Add functionality for finding the merge base. (Kevin Hendricks)
* Check for diverged branches during push.
* Check for fast-forward during pull. (Jelmer Vernooij, #666)
* Return a SendPackResult object from
GitClient.send_pack(). (Jelmer Vernooij)
* ``GitClient.send_pack`` now sets the ``ref_status`` attribute
on its return value to a dictionary mapping ref names
to error messages. Previously, it raised UpdateRefsError
if any of the refs failed to update.
(Jelmer Vernooij, #780)
* Add a ``porcelain.Error`` object that most errors in porcelain
derive from. (Jelmer Vernooij)
* Fix argument parsing in dulwich command-line app.
(Jelmer Vernooij, #784)
* Add support for remembering remote refs after push/pull.
(Jelmer Vernooij, #752)
* Support passing tree and output encoding to
dulwich.patch.unified_diff. (Jelmer Vernooij, #763)
* Fix pushing of new refs over HTTP(S) when there are
no new objects to be sent.
(Jelmer Vernooij, #739)
* Raise new error HTTPUnauthorized when the server sends
back a 401. The client can then retry with credentials.
OBS-URL: https://build.opensuse.org/request/show/819989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=32
- update to 0.20.2:
* Brown bag release to fix uploads of Windows wheels.
* Publish binary wheels for: Windows, Linux, Mac OS X.
(Jelmer Vernooij, #711, #710, #629)
* Drop support for Python 2. (Jelmer Vernooij)
* Only return files from the loose store that look like git objects.
* Ignore agent= capability if sent by client.
* Don't break when encountering block devices.
* Decode URL paths in HttpGitClient using utf-8 rather than file system
* Fix pushing from a shallow clone.
* Don't send "deepen None" to server if graph walker
supports shallow. (Jelmer Vernooij, #747)
* Support tweaking the compression level for
loose objects through the "core.looseCompression" and
"core.compression" settings. (Jelmer Vernooij)
* Support tweaking the compression level for
pack objects through the "core.packCompression" and
"core.compression" settings. (Jelmer Vernooij)
* Add a "dulwich.contrib.diffstat" module.
(Kevin Hendricks)
OBS-URL: https://build.opensuse.org/request/show/813452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=31