pygit2 1.16.0__tar.gz → 1.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygit2-1.16.0 → pygit2-1.17.0}/AUTHORS.md +5 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/CHANGELOG.md +21 -0
- pygit2-1.17.0/Makefile +7 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/PKG-INFO +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/build.sh +4 -4
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/__init__.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/_build.py +2 -2
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/_run.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/blame.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/branches.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/callbacks.py +2 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/config.py +4 -7
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/credentials.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/blame.h +3 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/config.h +0 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/remote.h +1 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/enums.py +5 -5
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/errors.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/ffi.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/filter.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/index.py +3 -6
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/legacyenums.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/packbuilder.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/references.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/refspec.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/remotes.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/repository.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/settings.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/submodules.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/utils.py +3 -3
- {pygit2-1.16.0 → pygit2-1.17.0}/pyproject.toml +4 -3
- {pygit2-1.16.0 → pygit2-1.17.0}/setup.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/blob.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/branch.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/branch.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/commit.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/diff.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/diff.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/error.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/error.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/filter.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/filter.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/mailmap.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/mailmap.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/note.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/note.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/object.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/object.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/odb.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/odb.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/odb_backend.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/odb_backend.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/oid.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/oid.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/options.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/options.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/patch.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/patch.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/pygit2.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/refdb.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/refdb.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/refdb_backend.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/refdb_backend.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/reference.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/reference.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/repository.c +6 -4
- {pygit2-1.16.0 → pygit2-1.17.0}/src/repository.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/revspec.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/revspec.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/signature.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/signature.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/stash.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/tag.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/tree.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/tree.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/treebuilder.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/treebuilder.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/types.h +3 -3
- {pygit2-1.16.0 → pygit2-1.17.0}/src/utils.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/utils.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/walker.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/walker.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/worktree.c +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/src/worktree.h +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/__init__.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_apply_diff.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_archive.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_attributes.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_blame.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_blob.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_branch.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_branch_empty.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_cherrypick.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_commit.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_commit_gpg.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_commit_trailer.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_config.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_credentials.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_describe.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_diff.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_diff_binary.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_index.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_mailmap.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_merge.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_note.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_object.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_odb.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_odb_backend.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_oid.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_options.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_packbuilder.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_patch.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_patch_encoding.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_refdb_backend.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_refs.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_remote.py +31 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_remote_prune.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_remote_utf8.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_repository.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_repository_bare.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_repository_custom.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_repository_empty.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_revparse.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_revwalk.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_signature.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_status.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_submodule.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_tag.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_tree.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_treebuilder.py +1 -1
- {pygit2-1.16.0 → pygit2-1.17.0}/test/utils.py +1 -1
- pygit2-1.16.0/Makefile +0 -7
- {pygit2-1.16.0 → pygit2-1.17.0}/COPYING +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/README.md +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/SPONSORS.md +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/build_tag.py +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/mypy-stubtest.ini +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/_pygit2.pyi +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/blob.py +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/attr.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/buffer.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/callbacks.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/checkout.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/clone.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/commit.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/common.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/describe.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/diff.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/errors.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/graph.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/index.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/indexer.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/merge.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/net.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/oid.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/pack.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/proxy.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/refspec.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/repository.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/revert.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/stash.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/strarray.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/submodule.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/transport.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/decl/types.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pygit2/py.typed +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/pytest.ini +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/requirements-test.txt +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/requirements.txt +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/setup.cfg +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/src/wildmatch.c +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/src/wildmatch.h +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/conftest.py +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/barerepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/binaryfilerepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/blameflagsrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/dirtyrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/emptyrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/encoding.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/gpgsigned.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/submodulerepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/testrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/testrepoformerging.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/testrepopacked.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/trailerrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/data/utf8branchrepo.zip +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/keys/pygit2_empty +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/keys/pygit2_empty.pub +0 -0
- {pygit2-1.16.0 → pygit2-1.17.0}/test/test_filter.py +0 -0
|
@@ -111,6 +111,7 @@ Authors:
|
|
|
111
111
|
Kaarel Kitsemets
|
|
112
112
|
Ken Dreyer
|
|
113
113
|
Kevin KIN-FOO
|
|
114
|
+
Kyle Gottfried
|
|
114
115
|
Marcel Waldvogel
|
|
115
116
|
Masud Rahman
|
|
116
117
|
Mathieu Parent
|
|
@@ -174,10 +175,12 @@ Authors:
|
|
|
174
175
|
Jasper Lievisse Adriaanse
|
|
175
176
|
Jimisola Laursen
|
|
176
177
|
Jiri Benc
|
|
178
|
+
Johann Miller
|
|
177
179
|
Jonathan Robson
|
|
178
180
|
Josh Bleecher Snyder
|
|
179
181
|
Julia Evans
|
|
180
182
|
Justin Clift
|
|
183
|
+
Kevin Valk
|
|
181
184
|
Konstantinos Smanis
|
|
182
185
|
Kyriakos Oikonomakos
|
|
183
186
|
Lance Eftink
|
|
@@ -187,6 +190,7 @@ Authors:
|
|
|
187
190
|
Mathieu Bridon
|
|
188
191
|
Mathieu Pillard
|
|
189
192
|
Matthaus Woolard
|
|
193
|
+
Matěj Cepl
|
|
190
194
|
Maxwell G
|
|
191
195
|
Michał Górny
|
|
192
196
|
Na'aman Hirschfeld
|
|
@@ -208,6 +212,7 @@ Authors:
|
|
|
208
212
|
Rodrigo Bistolfi
|
|
209
213
|
Ross Nicoll
|
|
210
214
|
Rui Abreu Ferreira
|
|
215
|
+
Rui Chen
|
|
211
216
|
Sandro Jäckel
|
|
212
217
|
Saul Pwanson
|
|
213
218
|
Shane Turner
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# 1.17.0 (2025-01-08)
|
|
2
|
+
|
|
3
|
+
- Upgrade to libgit2 1.9
|
|
4
|
+
|
|
5
|
+
- Add `certificate_check` callback to `Remote.ls_remotes(...)`
|
|
6
|
+
[#1326](https://github.com/libgit2/pygit2/pull/1326)
|
|
7
|
+
|
|
8
|
+
- Fix build with GCC 14
|
|
9
|
+
[#1324](https://github.com/libgit2/pygit2/pull/1324)
|
|
10
|
+
|
|
11
|
+
- Release wheels for PyPy
|
|
12
|
+
[#1336](https://github.com/libgit2/pygit2/pull/1336)
|
|
13
|
+
[#1339](https://github.com/libgit2/pygit2/pull/1339)
|
|
14
|
+
|
|
15
|
+
- CI: update tests for macOS to use OpenSSL 3
|
|
16
|
+
[#1335](https://github.com/libgit2/pygit2/pull/1335)
|
|
17
|
+
|
|
18
|
+
- Documentation: fix typo in `Repository.status(...)` docstring
|
|
19
|
+
[#1327](https://github.com/libgit2/pygit2/pull/1327)
|
|
20
|
+
|
|
21
|
+
|
|
1
22
|
# 1.16.0 (2024-10-11)
|
|
2
23
|
|
|
3
24
|
- Add support for Python 3.13
|
pygit2-1.17.0/Makefile
ADDED
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
#
|
|
23
23
|
# sh build.sh
|
|
24
24
|
#
|
|
25
|
-
# Build libgit2 1.
|
|
25
|
+
# Build libgit2 1.9.0 (will use libssh2 if available), then build pygit2
|
|
26
26
|
# inplace:
|
|
27
27
|
#
|
|
28
|
-
# LIBGIT2_VERSION=1.
|
|
28
|
+
# LIBGIT2_VERSION=1.9.0 sh build.sh
|
|
29
29
|
#
|
|
30
|
-
# Build libssh2 1.11.
|
|
30
|
+
# Build libssh2 1.11.1 and libgit2 1.9.0, then build pygit2 inplace:
|
|
31
31
|
#
|
|
32
|
-
# LIBSSH2_VERSION=1.11.
|
|
32
|
+
# LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 sh build.sh
|
|
33
33
|
#
|
|
34
34
|
# Build inplace and run the tests:
|
|
35
35
|
#
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -34,7 +34,7 @@ from pathlib import Path
|
|
|
34
34
|
#
|
|
35
35
|
# The version number of pygit2
|
|
36
36
|
#
|
|
37
|
-
__version__ = '1.
|
|
37
|
+
__version__ = '1.17.0'
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
#
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -391,6 +391,7 @@ def git_remote_callbacks(payload):
|
|
|
391
391
|
# Plug callbacks
|
|
392
392
|
cdata.credentials = C._credentials_cb
|
|
393
393
|
cdata.update_tips = C._update_tips_cb
|
|
394
|
+
cdata.certificate_check = C._certificate_check_cb
|
|
394
395
|
# Payload
|
|
395
396
|
handle = ffi.new_handle(payload)
|
|
396
397
|
cdata.payload = handle
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -52,6 +52,9 @@ class ConfigIterator:
|
|
|
52
52
|
def __iter__(self):
|
|
53
53
|
return self
|
|
54
54
|
|
|
55
|
+
def __next__(self):
|
|
56
|
+
return self._next_entry()
|
|
57
|
+
|
|
55
58
|
def _next_entry(self):
|
|
56
59
|
centry = ffi.new('git_config_entry **')
|
|
57
60
|
err = C.git_config_next(centry, self._iter)
|
|
@@ -59,12 +62,6 @@ class ConfigIterator:
|
|
|
59
62
|
|
|
60
63
|
return ConfigEntry._from_c(centry[0], self)
|
|
61
64
|
|
|
62
|
-
def next(self):
|
|
63
|
-
return self.__next__()
|
|
64
|
-
|
|
65
|
-
def __next__(self):
|
|
66
|
-
return self._next_entry()
|
|
67
|
-
|
|
68
65
|
|
|
69
66
|
class ConfigMultivarIterator(ConfigIterator):
|
|
70
67
|
def __next__(self):
|
|
@@ -18,12 +18,15 @@ typedef struct git_blame_hunk {
|
|
|
18
18
|
git_oid final_commit_id;
|
|
19
19
|
size_t final_start_line_number;
|
|
20
20
|
git_signature *final_signature;
|
|
21
|
+
git_signature *final_committer;
|
|
21
22
|
|
|
22
23
|
git_oid orig_commit_id;
|
|
23
24
|
const char *orig_path;
|
|
24
25
|
size_t orig_start_line_number;
|
|
25
26
|
git_signature *orig_signature;
|
|
27
|
+
git_signature *orig_committer;
|
|
26
28
|
|
|
29
|
+
const char *summary;
|
|
27
30
|
char boundary;
|
|
28
31
|
} git_blame_hunk;
|
|
29
32
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -65,16 +65,16 @@ class BlameFlag(IntFlag):
|
|
|
65
65
|
'Normal blame, the default'
|
|
66
66
|
|
|
67
67
|
TRACK_COPIES_SAME_FILE = _pygit2.GIT_BLAME_TRACK_COPIES_SAME_FILE
|
|
68
|
-
'Not yet implemented and reserved for future use (as of libgit2 1.
|
|
68
|
+
'Not yet implemented and reserved for future use (as of libgit2 1.9.0).'
|
|
69
69
|
|
|
70
70
|
TRACK_COPIES_SAME_COMMIT_MOVES = _pygit2.GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES
|
|
71
|
-
'Not yet implemented and reserved for future use (as of libgit2 1.
|
|
71
|
+
'Not yet implemented and reserved for future use (as of libgit2 1.9.0).'
|
|
72
72
|
|
|
73
73
|
TRACK_COPIES_SAME_COMMIT_COPIES = _pygit2.GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES
|
|
74
|
-
'Not yet implemented and reserved for future use (as of libgit2 1.
|
|
74
|
+
'Not yet implemented and reserved for future use (as of libgit2 1.9.0).'
|
|
75
75
|
|
|
76
76
|
TRACK_COPIES_ANY_COMMIT_COPIES = _pygit2.GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES
|
|
77
|
-
'Not yet implemented and reserved for future use (as of libgit2 1.
|
|
77
|
+
'Not yet implemented and reserved for future use (as of libgit2 1.9.0).'
|
|
78
78
|
|
|
79
79
|
FIRST_PARENT = _pygit2.GIT_BLAME_FIRST_PARENT
|
|
80
80
|
'Restrict the search of commits to those reachable following only the first parents.'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -467,8 +467,8 @@ class ConflictIterator:
|
|
|
467
467
|
def __del__(self):
|
|
468
468
|
C.git_index_conflict_iterator_free(self._iter)
|
|
469
469
|
|
|
470
|
-
def
|
|
471
|
-
return self
|
|
470
|
+
def __iter__(self):
|
|
471
|
+
return self
|
|
472
472
|
|
|
473
473
|
def __next__(self):
|
|
474
474
|
cancestor = ffi.new('git_index_entry **')
|
|
@@ -486,6 +486,3 @@ class ConflictIterator:
|
|
|
486
486
|
theirs = IndexEntry._from_c(ctheirs[0])
|
|
487
487
|
|
|
488
488
|
return ancestor, ours, theirs
|
|
489
|
-
|
|
490
|
-
def __iter__(self):
|
|
491
|
-
return self
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2010-
|
|
1
|
+
# Copyright 2010-2025 The pygit2 contributors
|
|
2
2
|
#
|
|
3
3
|
# This file is free software; you can redistribute it and/or modify
|
|
4
4
|
# it under the terms of the GNU General Public License, version 2,
|
|
@@ -165,8 +165,8 @@ class GenericIterator:
|
|
|
165
165
|
self.length = len(container)
|
|
166
166
|
self.idx = 0
|
|
167
167
|
|
|
168
|
-
def
|
|
169
|
-
return self
|
|
168
|
+
def __iter__(self):
|
|
169
|
+
return self
|
|
170
170
|
|
|
171
171
|
def __next__(self):
|
|
172
172
|
idx = self.idx
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
requires = ["setuptools", "wheel"]
|
|
3
3
|
|
|
4
4
|
[tool.cibuildwheel]
|
|
5
|
-
|
|
5
|
+
enable = ["pypy"]
|
|
6
|
+
skip = "*musllinux_aarch64 *musllinux_ppc64le"
|
|
6
7
|
|
|
7
8
|
archs = ["auto"]
|
|
8
9
|
build-frontend = "default"
|
|
9
10
|
dependency-versions = "pinned"
|
|
10
|
-
environment = {LIBGIT2_VERSION="1.
|
|
11
|
+
environment = {LIBGIT2_VERSION="1.9.0", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/project/ci"}
|
|
11
12
|
|
|
12
13
|
before-all = "sh build.sh"
|
|
13
14
|
|
|
@@ -21,7 +22,7 @@ repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {de
|
|
|
21
22
|
|
|
22
23
|
[tool.cibuildwheel.macos]
|
|
23
24
|
archs = ["universal2"]
|
|
24
|
-
environment = {LIBGIT2_VERSION="1.
|
|
25
|
+
environment = {LIBGIT2_VERSION="1.9.0", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"}
|
|
25
26
|
repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
|
|
26
27
|
|
|
27
28
|
[tool.ruff]
|