From f4393fb5c2812527760e7a5fd8b317acf8169d772ffe62034ab5d7e4e8ccbadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=BCller?= Date: Sat, 23 Nov 2024 18:57:58 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.22.6:=20=20=20*=20``ObjectS?= =?UTF-8?q?tore.iter=5Fprefix``:=20fix=20handling=20of=20missing=20=20=20?= =?UTF-8?q?=20=20loose=20object=20directories.=20(Jelmer=20Vernoo=C4=B3)?= =?UTF-8?q?=20=20=20*=20Reject=20invalid=20refcontainer=20values=20(not=20?= =?UTF-8?q?40=20characters=20or=20=20=20=20=20symref).=20=20=20*=20Add=20t?= =?UTF-8?q?ype=20hints=20to=20various=20functions.=20(Castedo=20Ellerman)?= =?UTF-8?q?=20=20=20*=20Drop=20support=20for=20Python=203.8.=20(Jelmer=20V?= =?UTF-8?q?ernoo=C4=B3)=20=20=20*=20Fix=20refspec=20handling=20in=20porcel?= =?UTF-8?q?ain.pull.=20(Jelmer=20Vernoo=C4=B3)=20=20=20*=20Drop=20broken?= =?UTF-8?q?=20refspec=20support=20in=20porcelain.clone.=20=20=20*=20Provid?= =?UTF-8?q?e=20``ref=5Fprefix``=20functionality=20client-side=20=20=20=20?= =?UTF-8?q?=20if=20the=20server=20does=20not=20support=20it.=20=20=20*=20C?= =?UTF-8?q?onsistently=20honor=20``ref=5Fprefix``=20and=20``protocol=5Fver?= =?UTF-8?q?sion``=20=20=20=20=20arguments=20in=20client.=20(Jelmer=20Verno?= =?UTF-8?q?o=C4=B3)=20=20=20*=20Strip=20pkt-line=20when=20negotiating=20pr?= =?UTF-8?q?otocol=20v2.=20Fixes=20=20=20=20=20compatibility=20with=20gerri?= =?UTF-8?q?t.=20(R=C3=A9my=20Pecqueur,=20#1423)=20=20=20*=20Don't=20pull?= =?UTF-8?q?=20in=20``setuptools=5Frust``=20when=20building=20pure=20=20=20?= =?UTF-8?q?=20=20package.=20(Eli=20Schwartz)=20=20=20*=20Return=20peeled?= =?UTF-8?q?=20refs=20from=20``GitClient.get=5Frefs``=20if=20protocol-v2=20?= =?UTF-8?q?=20=20=20=20is=20used.=20(Stefan=20Sperling,=20#1410)=20=20=20*?= =?UTF-8?q?=20Drop=20outdated=20performance=20file.=20(Jelmer=20Vernoo?= =?UTF-8?q?=C4=B3,=20#1411)=20=20=20*=20Fix=20handling=20of=20symrefs=20wi?= =?UTF-8?q?th=20protocol=20v2.=20=20=20*=20Add=20``ObjectStore.iter=5Fpref?= =?UTF-8?q?ix``.=20=20(Jelmer=20Vernoo=C4=B3)=20=20=20*=20Revert=20back=20?= =?UTF-8?q?to=20version=203=20of=20``Cargo.lock``,=20to=20allow=20=20=20?= =?UTF-8?q?=20=20building=20with=20older=20Cargo=20versions.=20=20=20*=20U?= =?UTF-8?q?se=20a=20default=20ref-prefix=20when=20fetching=20with=20git=20?= =?UTF-8?q?protocol=20v2=20=20=20*=20Add=20`ObjectStore.iter=5Fprefix`.=20?= =?UTF-8?q?(Jelmer=20Vernoo=C4=B3)=20=20=20*=20Improve=20wheel=20building?= =?UTF-8?q?=20in=20CI,=20so=20we=20can=20upload=20wheels=20for=20the=20=20?= =?UTF-8?q?=20=20=20next=20release.=20=20=20*=20Ship=20``Cargo.lock``.=20(?= =?UTF-8?q?Jelmer=20Vernoo=C4=B3,=20#1287)=20=20=20*=20Ship=20``tests/``?= =?UTF-8?q?=20and=20``testdata/``=20in=20sdist.=20(Jelmer=20Vernoo=C4=B3,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=35 --- .gitattributes | 23 + .gitignore | 1 + dulwich-0.21.7.tar.gz | 3 + dulwich-0.22.1.tar.gz | 3 + dulwich-0.22.6.tar.gz | 3 + geventhttpclient-compat.patch | 35 ++ python-dulwich.changes | 1013 +++++++++++++++++++++++++++++++++ python-dulwich.spec | 110 ++++ 8 files changed, 1191 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 dulwich-0.21.7.tar.gz create mode 100644 dulwich-0.22.1.tar.gz create mode 100644 dulwich-0.22.6.tar.gz create mode 100644 geventhttpclient-compat.patch create mode 100644 python-dulwich.changes create mode 100644 python-dulwich.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dulwich-0.21.7.tar.gz b/dulwich-0.21.7.tar.gz new file mode 100644 index 0000000..ecfb3c8 --- /dev/null +++ b/dulwich-0.21.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9e9c66833cea580c3ac12927e4b9711985d76afca98da971405d414de60e968 +size 448028 diff --git a/dulwich-0.22.1.tar.gz b/dulwich-0.22.1.tar.gz new file mode 100644 index 0000000..19126de --- /dev/null +++ b/dulwich-0.22.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de781e7355d922c790ca7c5d6c8c2ad94c79e815401dee717785eb807a5174c6 +size 443403 diff --git a/dulwich-0.22.6.tar.gz b/dulwich-0.22.6.tar.gz new file mode 100644 index 0000000..bb987f1 --- /dev/null +++ b/dulwich-0.22.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fba783868d5abba7c8f89c93c0e58e58e558001fce5140fccdbbf0a6d986d12 +size 458214 diff --git a/geventhttpclient-compat.patch b/geventhttpclient-compat.patch new file mode 100644 index 0000000..d12c9f0 --- /dev/null +++ b/geventhttpclient-compat.patch @@ -0,0 +1,35 @@ +From 7064f5f0b8094877459f4b6ed2eff72627a19750 Mon Sep 17 00:00:00 2001 +From: PerchunPak +Date: Sun, 28 Apr 2024 17:42:10 +0200 +Subject: [PATCH] Keep up with changes in geventhttpclient + +--- + dulwich/contrib/swift.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: dulwich-dulwich-0.22.1/dulwich/contrib/swift.py +=================================================================== +--- dulwich-dulwich-0.22.1.orig/dulwich/contrib/swift.py ++++ dulwich-dulwich-0.22.1/dulwich/contrib/swift.py +@@ -257,7 +257,7 @@ class SwiftConnector: + if ret.status_code < 200 or ret.status_code >= 300: + raise SwiftException( + "AUTH v1.0 request failed on " +- + f"{str(auth_httpclient.get_base_url()) + path} with error code {ret.status_code} ({ret.items()!s})" ++ + f"{self.auth_url} with error code {ret.status_code} ({ret.items()!s})" + ) + storage_url = ret["X-Storage-Url"] + token = ret["X-Auth-Token"] +Index: dulwich-dulwich-0.22.1/tests/test_greenthreads.py +=================================================================== +--- dulwich-dulwich-0.22.1.orig/tests/test_greenthreads.py ++++ dulwich-dulwich-0.22.1/tests/test_greenthreads.py +@@ -35,7 +35,7 @@ except ImportError: + gevent_support = False + + if gevent_support: +- from ..greenthreads import GreenThreadsMissingObjectFinder ++ from dulwich.greenthreads import GreenThreadsMissingObjectFinder + + skipmsg = "Gevent library is not installed" + diff --git a/python-dulwich.changes b/python-dulwich.changes new file mode 100644 index 0000000..cc0ed63 --- /dev/null +++ b/python-dulwich.changes @@ -0,0 +1,1013 @@ +------------------------------------------------------------------- +Sat Nov 23 17:57:27 UTC 2024 - Dirk Müller + +- update to 0.22.6: + * ``ObjectStore.iter_prefix``: fix handling of missing + loose object directories. (Jelmer Vernooij) + * Reject invalid refcontainer values (not 40 characters or + symref). + * Add type hints to various functions. (Castedo Ellerman) + * Drop support for Python 3.8. (Jelmer Vernooij) + * Fix refspec handling in porcelain.pull. (Jelmer Vernooij) + * Drop broken refspec support in porcelain.clone. + * Provide ``ref_prefix`` functionality client-side + if the server does not support it. + * Consistently honor ``ref_prefix`` and ``protocol_version`` + arguments in client. (Jelmer Vernooij) + * Strip pkt-line when negotiating protocol v2. Fixes + compatibility with gerrit. (Rémy Pecqueur, #1423) + * Don't pull in ``setuptools_rust`` when building pure + package. (Eli Schwartz) + * Return peeled refs from ``GitClient.get_refs`` if protocol-v2 + is used. (Stefan Sperling, #1410) + * Drop outdated performance file. (Jelmer Vernooij, #1411) + * Fix handling of symrefs with protocol v2. + * Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij) + * Revert back to version 3 of ``Cargo.lock``, to allow + building with older Cargo versions. + * Use a default ref-prefix when fetching with git protocol v2 + * Add `ObjectStore.iter_prefix`. (Jelmer Vernooij) + * Improve wheel building in CI, so we can upload wheels for the + next release. + * Ship ``Cargo.lock``. (Jelmer Vernooij, #1287) + * Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij, + * Add initial integration with OSS-Fuzz for continuous fuzz + testing and first fuzzing test (David Lakin, #1302) + * Drop Python 3.7 support. (Jelmer Vernooij) + * Improve fuzzing coverage (David Lakin) + * Support Python 3.13. (Edgar Ramírez-Mondragón, #1352) + * Initial support for smart protocol v2. (Stefan Sperling) +- drop geventhttpclient-compat.patch (upstream) + +------------------------------------------------------------------- +Tue Oct 8 09:51:33 UTC 2024 - Daniel Garcia + +- Add patch geventhttpclient-compat.patch to make it compatible with + latest geventhttpclient. + (gh#jelmer/dulwich#1299, gh#jelmer/dulwich#1294) +- Update 0.22.1: + * Fix pypi deployments by @jelmer in #1284 + * Handle alternate case for worktreeconfig setting by @wshanks in #1286 + * Ship rust files. Fixes #1287 by @jelmer in #1290 +- update 0.22.0: + * Start on 0.21.8 by @jelmer in #1240 + * Install twine when uploading to pypi by @jelmer in #1241 + * Remove shebang from graph.py by @mtelka in #1242 + * Disable pypi uploads in disperse; this is now down by the GitHub actions workflow by @jelmer in #1243 + * tweak doc-strings in LocalGitClient for clarity by @stspdotname in #1245 + * Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #1249 + * Bump the github_actions group with 5 updates by @dependabot in #1250 + * Add Python 3.12 to the testing by @cclauss in #1251 + * pyproject.toml: Add trove classifier for Python 3.12 by @cclauss in #1252 + * Convert _objects.c to _objects.rs by @jelmer in #1204 + * Convert pack C helper to rust by @jelmer in #1255 + * Convert diff-tree C helper to rust by @jelmer in #1256 + * Revert "Bump the github_actions group with 5 updates" by @jelmer in #1257 + * Only expect a shallow update when requesting a depth by @abderrahim in #1259 + * Use f-strings by @jelmer in #1263 + * Wrap all urllib3 read ProtocolErrors as GitProtocolError by @nanonyme in #1261 + * Update cargo dependencies with dependabot by @jelmer in #1264 + * wheels: Don't build with nightly by @jelmer in #1273 + * Reformat with ruff by @jelmer in #1272 + * Use latest cibuildwheel by @jelmer in #1276 + * cibuildwheel: define options in pyproject.toml by @jelmer in #1275 + * Move tests to root. Fixes #1024 by @jelmer in #1277 + * Stop installing docs/ as part of package code by @jelmer in #1278 + * Bump pyo3 from 0.21.1 to 0.21.2 by @dependabot in #1280 + * Set correct version for rust modules by @jelmer in #1281 + * Fix installation of tests package by @jelmer in #1282 + +------------------------------------------------------------------- +Wed Dec 6 09:36:03 UTC 2023 - Dirk Müller + +- update to 0.21.7: + * 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ò) + +------------------------------------------------------------------- +Mon Sep 18 20:10:52 UTC 2023 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Mon May 8 06:49:41 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Sun May 7 18:52:16 UTC 2023 - Dirk Müller + +- update to 0.21.5: + * 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. + +------------------------------------------------------------------- +Thu Feb 23 14:08:40 UTC 2023 - Dirk Müller + +- update to 0.21.3: + * 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. + +------------------------------------------------------------------- +Wed Feb 1 20:31:19 UTC 2023 - Lukas Müller + +- Add dependency typing_extension for Python versions <3.8. + +------------------------------------------------------------------- +Thu Jan 19 12:02:56 UTC 2023 - Lukas Müller + +- 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) + +------------------------------------------------------------------- +Mon Nov 21 17:53:09 UTC 2022 - Lukas Müller + +- 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) + +------------------------------------------------------------------- +Mon Sep 12 20:10:46 UTC 2022 - Dirk Müller + +- 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) + +------------------------------------------------------------------- +Tue Sep 6 23:57:31 UTC 2022 - Lukas Müller + +- Disable tests on Leap. +- Remove gevent and geventhttpclient from Recommends since they are only required for tests. + +------------------------------------------------------------------- +Wed Aug 31 10:32:01 UTC 2022 - Matej Cepl + +- Adjust rmtree-ignore-errors patch according to upstream review. + +------------------------------------------------------------------- +Fri Aug 19 16:17:05 UTC 2022 - Matej Cepl + +- Add rmtree-ignore-errors.patch to make shutil.rmtree to be more + callous (gh#jelmer/dulwich#1000) and prevent thus the race + condition in cleaning up after the tests. + +------------------------------------------------------------------- +Mon Jul 25 20:57:16 UTC 2022 - Dirk Müller + +- update to 0.20.45: + * Add basic ``dulwich.porcelain.submodule_list`` and ``dulwich.porcelain.submodule_add`` + * Fix reading of chunks in server. (Jelmer Vernooij, #977) + * Support applying of URL rewriting using ``insteadOf`` / ``pushInsteadOf``. + +------------------------------------------------------------------- +Sun Jun 19 18:33:08 UTC 2022 - Dirk Müller + +- update to 2.0.43: + * Lazily import url2pathname. + * Drop caching of full HTTP response. Attempt #2. + +------------------------------------------------------------------- +Sun May 29 20:02:11 UTC 2022 - Dirk Müller + +- update to 0.20.42: + * Drop ``RefsContainer.watch`` that was always flaky. + * Fix wheel uploading, properly. (Ruslan Kuprieiev) + +------------------------------------------------------------------- +Sun May 22 12:09:13 UTC 2022 - Lukas Müller + +- Update to version 0.20.40. + Changelog: https://github.com/jelmer/dulwich/releases/tag/dulwich-0.20.40 + * Fix wheel uploading. + +------------------------------------------------------------------- +Sat Mar 26 21:24:27 UTC 2022 - Dirk Müller + +- update to 0.20.35: + * Document the ``path`` attribute for ``Repo``. + * Add support for multivars in configuration. + * Fix handling of escaped characters in ignore patterns. + * Add ``dulwich.contrib.requests_vendor``. (epopcon) + * Ensure git config is available in a linked working tree. + +------------------------------------------------------------------- +Fri Feb 4 22:04:02 UTC 2022 - Dirk Müller + +- update to 0.20.32: + * Properly close result repository during test. + +------------------------------------------------------------------- +Sun Jan 23 16:46:43 UTC 2022 - Dirk Müller + +- update to 0.20.31: + * Add GitClient.clone() + +------------------------------------------------------------------- +Mon Jan 10 22:22:13 UTC 2022 - Dirk Müller + +- 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``. + +------------------------------------------------------------------- +Sat Nov 13 20:25:50 UTC 2021 - Dirk Müller + +- update to 0.20.26: + * Support os.PathLike arguments to Repo.stage() + * Drop support for Python 3.5 + * Add ``dulwich.porcelain._reset_file`` + * Add ``Repo.unstage`` + +------------------------------------------------------------------- +Sat Oct 16 19:05:48 UTC 2021 - Dirk Müller + +- update to 0.20.25: + * Fix ``dulwich`` script when installed via setup.py. + * Make default file mask consistent + +------------------------------------------------------------------- +Thu Aug 19 15:45:44 UTC 2021 - Bernhard Wiedemann + +- update to 0.20.24 + * https://github.com/dulwich/dulwich/commits/0.20.24 + * fix build after 2023 (boo#1102840) + * config: disregard UTF-8 BOM when reading file + * Split out a AbstractHTTPGitClient class + * Set zip_safe=false + * Add separate HTTPProxyUnauthorized exception + +------------------------------------------------------------------- +Sun Jun 6 12:24:30 UTC 2021 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Tue May 18 21:55:33 UTC 2021 - Dirk Müller + +- update to 0.20.21: + * Add basic support for a GcsObjectStore that stores + pack files in gcs. + * In porcelain.push, default to local active branch. + * Support fetching symrefs. + +------------------------------------------------------------------- +Thu Apr 22 20:19:33 UTC 2021 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Tue Dec 29 13:32:51 UTC 2020 - Dirk Müller + +- update to 0.20.15: + * Add some functions for parsing and writing bundles. + * Add ``no_verify`` flag to ``porcelain.commit`` and ``Repo.do_commit``. + * Remove dependency on external mock module. +- drop remove_mock.patch (upstream) + +------------------------------------------------------------------- +Sun Dec 20 09:26:43 UTC 2020 - Dirk Müller + +- update to 0.20.14: + * Fix some stash functions on Python 3. + * Fix handling of relative paths in alternates files on Python 3. + * Add py.typed to allow type checking. + * Add tests demonstrating a bug in the walker code. + +------------------------------------------------------------------- +Mon Dec 14 00:50:05 UTC 2020 - Benjamin Greiner + +- Fix condition around BuildRequirement + +------------------------------------------------------------------- +Sun Dec 13 20:31:22 UTC 2020 - Matej Cepl + +- We don't need to break Python 2.7 + +------------------------------------------------------------------- +Fri Dec 11 21:52:35 UTC 2020 - Matej Cepl + +- Add remove_mock.patch to remove dependency on the external mock + package (gh#dulwich/dulwich#820). + +------------------------------------------------------------------- +Tue Nov 10 07:49:41 UTC 2020 - Dirk Mueller + +- update to 0.20.11: + * Fix wheels build on Linux. (Ruslan Kuprieiev) + * Enable wheels build for Python 3.9 on Linux. (Jelmer Vernooij) + * Check core.repositoryformatversion. (Jelmer Vernooij, #803) + * Fix ACK/NACK handling in archive command handling in dulwich.client. + +------------------------------------------------------------------- +Wed Sep 16 11:03:45 UTC 2020 - Dirk Mueller + +- update to 0.20.6: + * Add a ``RefsContainer.watch`` interface. + * Fix pushing of new branches from porcelain.push. + * Honor shallows when pushing from a shallow clone. + * Fix porcelain.path_to_tree_path for Python 3.5. + +------------------------------------------------------------------- +Fri Jul 10 12:24:52 UTC 2020 - Dirk Mueller + +- 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. + (Jelmer Vernooij, #691) + * Move the guts of bin/dulwich to dulwich.cli, so it is easier to + test or import. (Jelmer Vernooij) + * Install dulwich script from entry_points when setuptools is available, + making it slightly easier to use on Windows. (Jelmer Vernooij, #540) + * Set python_requires>=3.5 in setup.py. (Manuel Jacob) + +------------------------------------------------------------------- +Mon Jun 8 19:22:41 UTC 2020 - Dirk Mueller + +- 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) + +------------------------------------------------------------------- +Tue Mar 31 08:43:48 UTC 2020 - Tomáš Chvátal + +- Do not remove the tests from distdir as other pkgs can import + them + +------------------------------------------------------------------- +Fri Feb 28 21:30:20 UTC 2020 - Dirk Mueller + +- 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) + +------------------------------------------------------------------- +Fri Sep 13 08:37:00 UTC 2019 - Tomáš Chvátal + +- 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. + +------------------------------------------------------------------- +Fri Apr 26 06:06:16 UTC 2019 - Thomas Bechtold + +- Use Recommends for python-gpg and python-fastimport. Both are + optional requirements + +------------------------------------------------------------------- +Thu Mar 14 15:03:51 UTC 2019 - Tomáš Chvátal + +- Update to 0.19.11: + * too many changes to enumerate, see NEWS +- Drop docu subpackage as it needs many more sphinx modules + +------------------------------------------------------------------- +Mon Nov 6 22:05:31 UTC 2017 - rjschwei@suse.com + +- Update to version 0.18.5 (bsc#1066430) + + CVE-2017-16228 + + No detailed upstream release notes + + Commit history https://www.dulwich.io/code/dulwich/ + +------------------------------------------------------------------- +Sun Sep 17 19:51:41 UTC 2017 - bwiedemann@suse.com + +- Drop environment.pickle from doc to make build reproducible + +------------------------------------------------------------------- +Wed Aug 9 15:40:35 UTC 2017 - tbechtold@suse.com + +- switch to singlespec +- split documentation into extra package + +------------------------------------------------------------------- +Wed Aug 9 15:33:16 UTC 2017 - tbechtold@suse.com + +- update to 0.17.3: + * List Python 3.3 as supported. (Jelmer Vernooij, #513) +- Remove source validation (not working) + +------------------------------------------------------------------- +Mon May 1 07:49:02 UTC 2017 - develop7@develop7.info + +- update to 0.17.2 + * BUG FIXES + + Add workaround for + https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work, + fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner) + + Properly quote config values with a ‘#’ character in them. + (Jelmer Vernooij, #511) +- update to 0.17.1 + * IMPROVEMENTS + + Add basic ‘dulwich pull’ command. (Jelmer Vernooij) + * BUG FIXES + + Cope with existing submodules during pull. (Jelmer Vernooij, #505) +- update to 0.17.0 + * TEST FIXES + + Skip test that requires sync to synchronize filesystems if os.sync is not + available. (Koen Martens) + * IMPROVEMENTS + + Implement MemoryRepo.{set_description,get_description}. (Jelmer Vernooij) + + Raise exception in Repo.stage() when absolute paths are passed in. Allow + passing in relative paths to porcelain.add().(Jelmer Vernooij) + * BUG FIXES + + Handle multi-line quoted values in config files. (Jelmer Vernooij, #495) + + Allow porcelain.clone of repository without HEAD. (Jelmer Vernooij, #501) + + Support passing tag ids to Walker()’s include argument. (Jelmer Vernooij) + + Don’t strip trailing newlines from extra headers. (Nicolas Dandrimont) + + Set bufsize=0 for subprocess interaction with SSH client. Fixes hangs on + Python 3. (René Stern, #434) + + Don’t drop first slash for SSH paths, except for those starting with “~”. + (Jelmer Vernooij, René Stern, #463) + + Properly log off after retrieving just refs. (Jelmer Vernooij) +- source verfication added + +------------------------------------------------------------------- +Mon Jan 30 21:39:43 UTC 2017 - rjschwei@suse.com + +- Include in SLE 12 (bsc#1002895, FATE#321630) + +------------------------------------------------------------------- +Wed Jan 18 17:49:04 UTC 2017 - dmueller@suse.com + +- 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" + to "Apache License, version 2.0 or later or GNU General Public License, + version 2.0 or later". (#153) + +------------------------------------------------------------------- +Mon Aug 15 14:51:56 UTC 2016 - toddrme2178@gmail.com + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- +Thu Jan 14 10:19:50 UTC 2016 - toddrme2178@gmail.com + +- Update to 0.12.0 + + IMPROVEMENTS + * Add a `dulwich.archive` module that can create tarballs. + Based on code from Jonas Haag in klaus. + * Add a `dulwich.reflog` module for reading and writing reflogs. + (Jelmer Vernooij) + * Fix handling of ambiguous refs in `parse_ref` to make + it match the behaviour described in https://git-scm.com/docs/gitrevisions. + (Chris Bunney) + * Support Python3 in C modules. (Lele Gaifax) + + BUG FIXES + * Simplify handling of SSH command invocation. + Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384) + * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383) + * Add hack to support thin packs duing fetch(), albeit while requiring the + entire pack file to be loaded into memory. (jsbain) + + CHANGES + * This will be the last release to support Python 2.6. +- Implement update-alternatives + +------------------------------------------------------------------- +Sat Dec 5 23:29:21 UTC 2015 - termim@gmail.com + +- update to 0.11.2 + + IMPROVEMENTS + * Add support for agent= capability. (Jelmer Vernooij, #298) + * Add support for quiet capability. (Jelmer Vernooij) + + BUG FIXES + * The ParamikoSSHVendor class has been moved to + dulwich.contrib.paramiko_vendor, as it’s currently untested. + (Jelmer Vernooij, #364) + +- update to 0.11.1 2015-09-13 + * Fix-up release to exclude broken blame.py file. + +- update to 0.11.0 2015-09-13 + + IMPROVEMENTS + * Extended Python3 support to most of the codebase. (Gary van der + Merwe, Jelmer Vernooij) + * The Repo object has a new close method that can be called to close + any open resources. (Gary van der Merwe) + * Support ‘git.bat’ in SubprocessGitClient on Windows. (Stefan + Zimmermann) + * Advertise ‘ofs-delta’ capability in receive-pack server side + capabilities. (Jelmer Vernooij) + * Switched default_local_git_client_cls to LocalGitClient. (Gary van + der Merwe) + * Add porcelain.ls_remote and GitClient.get_refs. (Michael Edgar) + * Add Repo.discover method. (B. M. Corser) + * Add dulwich.objectspec.parse_refspec. (Jelmer Vernooij) + * Add porcelain.pack_objects and porcelain.repack. (Jelmer Vernooij) + + BUG FIXES + * Fix handling of ‘done’ in graph walker and implement the ‘no-done’ + capability. (Tommy Yu, #88) + * Avoid recursion limit issues resolving deltas. (William Grant, #81) + * Allow arguments in local client binary path overrides. (Jelmer + Vernooij) + * Fix handling of commands with arguments in paramiko SSH + client. (Andreas Klöckner, Jelmer Vernooij, #363) + * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305) + +------------------------------------------------------------------- +Tue May 12 15:37:15 UTC 2015 - termim@gmail.com + +- update to version 0.10.1 + + BUG FIXES + * Return `ApplyDeltaError` when encountering delta errors + in both C extensions and native delta application code. + (Jelmer Vernooij, #259) + +- update to version 0.10.0 + + BUG FIXES + * In dulwich.index.build_index_from_tree, by default + refuse to create entries that start with .git/. + * Fix running of testsuite when installed. + (Jelmer Vernooij, #223) + * Use a block cache in _find_content_rename_candidates(), + improving performance. (Mike Williams) + * Add support for ``core.protectNTFS`` setting. + (Jelmer Vernooij) + * Fix TypeError when fetching empty updates. + (Hwee Miin Koh) + * Resolve delta refs when pulling into a MemoryRepo. + (Max Shawabkeh, #256) + * Fix handling of tags of non-commits in missing object finder. + (Augie Fackler, #211) + * Explicitly disable mmap on plan9 where it doesn't work. + (Jeff Sickel) + + IMPROVEMENTS + * New public method `Repo.reset_index`. (Jelmer Vernooij) + * Prevent duplicate parsing of loose files in objects + directory when reading. Thanks to David Keijser for the + report. (Jelmer Vernooij, #231) + +- update to version 0.9.9 + + SECURITY BUG FIXES + * Fix buffer overflow in C implementation of pack apply_delta(). + (CVE-2015-0838) + Thanks to Ivan Fratric of the Google Security Team for + reporting this issue. + (Jelmer Vernooij) + +------------------------------------------------------------------- +Sun Feb 22 20:54:12 UTC 2015 - develop7@develop7.info + +- update to version 0.9.8 + + disabled tests + +- Changes from 0.9.7 + + BUG FIXES + * Various fixes to improve test suite running on Windows. + (Gary van der Merwe) + * Limit delta copy length to 64K in v2 pack files. (Robert Brown) + * Strip newline from final ACKed SHA while fetching packs. + (Michael Edgar) + * Remove assignment to PyList_SIZE() that was causing segfaults on + pypy. (Jelmer Vernooij, #196) + + IMPROVEMENTS + * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij) + * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij) + * Add 'status' support to bin/dulwich. (Jelmer Vernooij) + * Add 'branch_create', 'branch_list', 'branch_delete' porcelain. + (Jelmer Vernooij) + * Add 'fetch' porcelain. (Jelmer Vernooij) + * Add 'tag_delete' porcelain. (Jelmer Vernooij) + * Add support for serializing/deserializing 'gpgsig' attributes in Commit. + (Jelmer Vernooij) + + CHANGES + * dul-web is now available as 'dulwich web-daemon'. + (Jelmer Vernooij) + * dulwich.porcelain.tag has been renamed to tag_create. + dulwich.porcelain.list_tags has been renamed to tag_list. + (Jelmer Vernooij) + + API CHANGES + * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe) + +- Changes from 0.9.6 + + BUG FIXES + * Fix tests dependent on hash ordering. (Michael Edgar) + * Support staging symbolic links in Repo.stage. + (Robert Brown) + * Ensure that all files object are closed when running the test suite. + (Gary van der Merwe) + * When writing OFS_DELTA pack entries, write correct offset. + (Augie Fackler) + * Fix handler of larger copy operations in packs. (Augie Fackler) + * Various fixes to improve test suite running on Windows. + (Gary van der Merwe) + * Fix logic for extra adds of identical files in rename detector. + (Robert Brown) + + IMPROVEMENTS + * Add porcelain 'status'. (Ryan Faulkner) + * Add porcelain 'daemon'. (Jelmer Vernooij) + * Add `dulwich.greenthreads` module which provides support + for concurrency of some object store operations. + (Fabien Boucher) + * Various changes to improve compatibility with Python 3. + (Gary van der Merwe, Hannu Valtonen, michael-k) + * Add OpenStack Swift backed repository implementation + in dulwich.contrib. See README.swift for details. (Fabien Boucher) + + API CHANGES + * An optional close function can be passed to the Protocol class. This will + be called by its close method. (Gary van der Merwe) + * All classes with close methods are now context managers, so that they can + be easily closed using a `with` statement. (Gary van der Merwe) + * Remove deprecated `num_objects` argument to `write_pack` methods. + (Jelmer Vernooij) + + OTHER CHANGES + * The 'dul-daemon' script has been removed. The same functionality + is now available as 'dulwich daemon'. (Jelmer Vernooij) + +- Changes from 0.9.5 + + IMPROVEMENTS + * Add support for recursive add in 'git add'. + (Ryan Faulkner, Jelmer Vernooij) + * Add porcelain 'list_tags'. (Ryan Faulkner) + * Add porcelain 'push'. (Ryan Faulkner) + * Add porcelain 'pull'. (Ryan Faulkner) + * Support 'http.proxy' in HttpGitClient. + (Jelmer Vernooij, #1096030) + * Support 'http.useragent' in HttpGitClient. + (Jelmer Vernooij) + * In server, wait for clients to send empty list of + wants when talking to empty repository. + (Damien Tournoud) + * Various changes to improve compatibility with + Python 3. (Gary van der Merwe) + + BUG FIXES + * Support unseekable 'wsgi.input' streams. + (Jonas Haag) + * Raise TypeError when passing unicode() object + to Repo.__getitem__. + (Jonas Haag) + * Fix handling of `reset` command in dulwich.fastexport. + (Jelmer Vernooij, #1249029) + * In client, don't wait for server to close connection + first. Fixes hang when used against GitHub + server implementation. (Siddharth Agarwal) + * DeltaChainIterator: fix a corner case where an object is inflated as an + object already in the repository. + (Damien Tournoud, #135) + * Stop leaking file handles during pack reload. (Damien Tournoud) + * Avoid reopening packs during pack cache reload. (Jelmer Vernooij) + + API CHANGES + * Drop support for Python 2.6. (Jelmer Vernooij) + +- Changes from 0.9.4 + + IMPROVEMENTS + * Add porcelain 'tag'. (Ryan Faulkner) + * New module `dulwich.objectspec` for parsing strings referencing + objects and commit ranges. (Jelmer Vernooij) + * Add shallow branch support. (milki) + * Allow passing urllib2 `opener` into HttpGitClient. + (Dov Feldstern, #909037) + + CHANGES + * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij) + + API CHANGES + * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``, + ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij) + * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``. + (Jelmer Vernooij) + * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij) + + BUG FIXES + * Raise KeyError rather than TypeError when passing in + unicode object of length 20 or 40 to Repo.__getitem__. + (Jelmer Vernooij) + * Use 'rm' rather than 'unlink' in tests, since the latter + does not exist on OpenBSD and other platforms. + (Dmitrij D. Czarkoff) + +- Changes from 0.9.3 + + IMPROVEMENTS + * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki) + * Add Repo.set_description(). (Víðir Valberg Guðmundsson) + * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski) + * Various performance improvements for object access. + (Jelmer Vernooij) + * New function `get_transport_and_path_from_url`, + similar to `get_transport_and_path` but only + supports URLs. + (Jelmer Vernooij) + * Add support for file:// URLs in `get_transport_and_path_from_url`. + (Jelmer Vernooij) + * Add LocalGitClient implementation. + (Jelmer Vernooij) + + BUG FIXES + * Support filesystems with 64bit inode and device numbers. + (André Roth) + + CHANGES + * Ref handling has been moved to dulwich.refs. + (Jelmer Vernooij) + + API CHANGES + * Remove long deprecated RefsContainer.set_ref(). + (Jelmer Vernooij) + * Repo.ref() is now deprecated in favour of Repo.refs[]. + (Jelmer Vernooij) + + FEATURES + * Add support for graftpoints. (milki) + +------------------------------------------------------------------- +Fri Nov 1 12:04:05 UTC 2013 - p.drouand@gmail.com + +- Fix download Url + +------------------------------------------------------------------- +Fri Nov 1 11:32:29 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.9.3 + + * Fix path for stdint.h in MANIFEST.in. +- Changes from version 0.9.2 + + Include stdint.h in MANIFEST.in +- Changes from version 0.9.1 + + Support lookups of 40-character refs in BaseRepo.__getitem_ + + Fix fetching packs with side-band-64k capability disabled. + + Several fixes in send-pack protocol behaviour - handling of empty + pack files and deletes. #1063087 + + Fix capability negotiation when fetching packs over HTTP. + #1072461 + + Enforce determine_wants returning an empty list rather than None. + + In the server, support pushes just removing refs. + + Support passing a single revision to BaseRepo.get_walker() rather + than a list of revisions. + + Add `Repo.get_description` method. + + Support thin packs in Pack.iterobjects() and Pack.get_raw(). + + Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods. + + Add paramiko-based SSH vendor. + + Support running 'dulwich.server' and 'dulwich.web' using 'python -m'. + + Add ObjectStore.close(). + + Raise appropriate NotImplementedError when encountering dumb HTTP servers. + + SSHVendor.connect_ssh has been renamed to SSHVendor.run_command. + + ObjectStore.add_pack() now returns a 3-tuple. The last element will be an + abort() method that can be used to cancel the pack operation. +- Changes from version 0.9.0 + + Push efficiency - report missing objects only. #562676 + + Use indentation consistent with C Git in config files. + #1031356 + + Recognize and skip binary files in diff function. + + Fix handling of relative paths in dulwich.client.get_transport_and_path. + + Preserve ordering of entries in configuration. + + Support ~ expansion in SSH client paths. #1083439 + + Support relative paths in alternate paths. + #1175007 + + Log all error messages from wsgiref server to the logging module. This + makes the test suit quiet again. + + Support passing None for empty tree in changes_from_tree. + + Support fetching empty repository in client. #1060462 + + Add optional honor_filemode flag to build_index_from_tree. + + Support core/filemode setting when building trees. + + Add chapter on tags in tutorial + + Add support for mergetags. #963525 + + Add support for posix shell hooks. +- Changes from 0.8.7 + + Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}. + + Fix compatibility with Python 2.4. + +------------------------------------------------------------------- +Fri Nov 23 10:55:48 UTC 2012 - saschpe@suse.de + +- 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 + +------------------------------------------------------------------- +Tue Sep 20 13:16:45 UTC 2011 - saschpe@suse.de + +- Update to version 0.8.0: + * web: Use correct result MIME types. + * pack: Cache binary SHA of unpacked objects. + - See upstream git for more details... + +------------------------------------------------------------------- +Sun Jul 3 10:21:34 UTC 2011 - saschpe@gmx.de + +- Update to version 0.7.1: + * Documentation udated + * Tree.entries deprecated + +------------------------------------------------------------------- +Thu Mar 31 14:25:18 UTC 2011 - saschpe@suse.de + +- Removed *.egg-info from %%files section + +------------------------------------------------------------------- +Tue Jan 25 17:25:04 UTC 2011 - saschpe@gmx.de + +- Update to 0.7.0 +- Packaged documentation +- Added license header + +------------------------------------------------------------------- +Wed Sep 8 08:49:57 UTC 2010 - nix@opensuse.org + +- Update to 0.6.1 + diff --git a/python-dulwich.spec b/python-dulwich.spec new file mode 100644 index 0000000..9650c68 --- /dev/null +++ b/python-dulwich.spec @@ -0,0 +1,110 @@ +# +# spec file for package python-dulwich +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%if 0%{?suse_version} >= 1550 +%bcond_without test +%else +%bcond_with test +%endif + +%{?sle15_python_module_pythons} +%define oldpython python +Name: python-dulwich +Version: 0.22.6 +Release: 0 +Summary: Pure-Python Git Library +License: Apache-2.0 OR GPL-2.0-or-later +Group: Development/Languages/Python +URL: https://www.dulwich.io +Source0: https://github.com/jelmer/dulwich/archive/dulwich-%{version}.tar.gz#/dulwich-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 17.1} +BuildRequires: %{python_module setuptools-rust} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module fastimport} +BuildRequires: %{python_module geventhttpclient} +BuildRequires: %{python_module gevent} +BuildRequires: %{python_module gpg} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module typing_extensions if %python-base < 3.8} +BuildRequires: %{python_module urllib3 >= 1.24.1} +%if 0%{?suse_version} <= 1500 +BuildRequires: python-mock +%endif +%endif +Requires: python-urllib3 >= 1.24.1 +%if %{python_version_nodots} < 38 +Requires: python-typing_extensions +%endif +Requires(post): update-alternatives +Requires(preun): update-alternatives +Recommends: python-fastimport +Recommends: python-gpg +Obsoletes: %{oldpython}-dulwich-doc < 0.20.5 +%python_subpackages + +%description +Simple Pure-Python implementation of the Git file formats and protocols. Dulwich +is the place where Mr. and Mrs. Git live in one of the Monty Python sketches. + +%prep +%autosetup -p1 -n dulwich-dulwich-%{version} +sed -i '/usr\/bin\/env/d' dulwich/contrib/diffstat.py + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install + +%python_expand %fdupes %{buildroot}%{$python_sitearch} +%python_clone -a %{buildroot}%{_bindir}/dulwich +%python_clone -a %{buildroot}%{_bindir}/dul-receive-pack +%python_clone -a %{buildroot}%{_bindir}/dul-upload-pack + +%check +%if %{with test} +%python_expand $python -m unittest tests.test_suite +%endif + +%post +%python_install_alternative dulwich +%python_install_alternative dul-receive-pack +%python_install_alternative dul-upload-pack + +%postun +%python_uninstall_alternative dulwich +%python_uninstall_alternative dul-receive-pack +%python_uninstall_alternative dul-upload-pack + +%files %{python_files} +%license COPYING +%doc NEWS README.rst +%python_alternative dulwich +%python_alternative dul-receive-pack +%python_alternative dul-upload-pack +%{python_sitearch}/dulwich +%{python_sitearch}/dulwich-%{version}*-info + +%changelog