* 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
* 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
* 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
- update to 0.19.15:
* Properly handle files that are just executable for the
current user. (Jelmer Vernooij, #734)
* Fix handling of stored encoding in
``dulwich.porcelain.get_object_by_path`` on Python 3.
(Jelmer Vernooij)
* Support the include_trees and rename_detector arguments
at the same time when diffing trees.
(Jelmer Vernooij)
* Strip superfluous <> around email. (monnerat)
* Stop checking for ref validity client-side. Users can
still call check_wants manually. (Jelmer Vernooij)
* Switch over to Google-style docstrings.
* Add a ``dulwich.porcelain.active_branch`` function.
* Cleanup new directory if clone fails. (Jelmer Vernooij, #733)
* Expand "~" in global exclude path. (Jelmer Vernooij)
OBS-URL: https://build.opensuse.org/request/show/780380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=29
- Update to 0.19.13:
* Don't trust modes if they can't be modified after a file has been created.
* Implement ``RefsContainer.__iter__``
* Mark ``.git`` directories as hidden on Windows.
* Return a 404 not found error when repository is not found.
* Add a basic ``porcelain.clean``.
* Update directory detection for `get_unstaged_changes` for Python 3.
* Avoid ``PermissionError``, since it is Python3-specific.
OBS-URL: https://build.opensuse.org/request/show/730633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=28
- update to 0.16.3:
IMPROVEMENTS
* Fixed failing test-cases on windows.
(Koen Martens)
* Add support for worktrees. See `git-worktree(1)` and
`gitrepository-layout(5)`. (Laurent Rineau)
* Add support for `commondir` file in Git control
directories. (Laurent Rineau)
* Add support for passwords in HTTP URLs.
(Jon Bain, Mika Mäenpää)
* Add `release_robot` script to contrib,
allowing easy finding of current version based on Git tags.
(Mark Mikofski)
* Add ``Blob.splitlines`` method.
(Jelmer Vernooij)
* Add `dulwich.config.parse_submodules` function.
* Add `RefsContainer.follow` method. (#438)
* Support `ssh://` URLs in get_transport_and_path_from_url().
(Jelmer Vernooij, #402)
* Support missing empty line after headers in Git commits and tags.
(Nicolas Dandrimont, #413)
* Fix `dulwich.porcelain.status` when used in empty trees.
(Jelmer Vernooij, #415)
* Return copies of objects in MemoryObjectStore rather than
references, making the behaviour more consistent with that of
DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
* Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
* Many bugfixes, see NEWS file for details
CHANGES
* Changed license from "GNU General Public License, version 2.0 or later"
OBS-URL: https://build.opensuse.org/request/show/451239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=19