- 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
- Update to version 0.8.6:
+ dulwich.__init__ no longer imports client, protocol, repo and
server modules. (Jelmer Vernooij)
+ ConfigDict now behaves more like a dictionary.
(Adam 'Cezar' Jenkins, issue #58)
+ HTTPGitApplication now takes an optional
fallback_app argument. (Jonas Haag, issue #67)
+ Support for large pack index files. (Jameson Nash)
+ Make index entry tests a little bit less strict, to cope with
slightly different behaviour on various platforms.
(Jelmer Vernooij)
+ setup.py test (available when setuptools is installed) now
runs all tests, not just the basic unit tests.
(Jelmer Vernooij)
+ Commit._deserialize now actually deserializes the current state rather than
the previous one. (Yifan Zhang, issue #59)
+ Handle None elements in lists of TreeChange objects. (Alex Holmes)
+ Support cloning repositories without HEAD set.
(D-Key, Jelmer Vernooij, issue #69)
+ Support MemoryRepo.get_config. (Jelmer Vernooij)
+ In get_transport_and_path, pass extra keyword arguments on to
HttpGitClient. (Jelmer Vernooij)
- Changes from version 0.8.5:
+ 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)
- See NEWS file for more changes
OBS-URL: https://build.opensuse.org/request/show/142565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dulwich?expand=0&rev=9