pygit2 1.17.0__tar.gz → 1.18.1__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.17.0 → pygit2-1.18.1}/AUTHORS.md +12 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/CHANGELOG.md +99 -5
- pygit2-1.18.1/Makefile +7 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/PKG-INFO +15 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/build.sh +11 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/build_tag.py +2 -1
- pygit2-1.18.1/pygit2/__init__.py +664 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/_build.py +2 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/_pygit2.pyi +383 -25
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/_run.py +3 -3
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/blob.py +2 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/callbacks.py +92 -20
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/config.py +3 -3
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/credentials.py +31 -11
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/callbacks.h +6 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/commit.h +5 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/index.h +6 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/repository.h +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/errors.py +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/ffi.py +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/index.py +82 -8
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/refspec.py +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/remotes.py +51 -37
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/repository.py +96 -48
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/submodules.py +7 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/utils.py +7 -7
- {pygit2-1.17.0 → pygit2-1.18.1}/pyproject.toml +11 -11
- {pygit2-1.17.0 → pygit2-1.18.1}/requirements-test.txt +1 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/blob.c +20 -12
- {pygit2-1.17.0 → pygit2-1.18.1}/src/odb_backend.c +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/src/oid.c +49 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/src/pygit2.c +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/src/reference.c +10 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/src/repository.c +2 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/src/signature.c +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/src/tree.c +7 -6
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_branch.py +14 -13
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_commit.py +2 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_credentials.py +0 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_diff.py +77 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_index.py +38 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_merge.py +59 -32
- pygit2-1.18.1/test/test_nonunicode.py +58 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_object.py +2 -2
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_odb.py +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_oid.py +7 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_refs.py +23 -23
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_remote.py +147 -54
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_repository.py +166 -4
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_repository_bare.py +9 -9
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_tree.py +1 -1
- {pygit2-1.17.0 → pygit2-1.18.1}/test/utils.py +5 -6
- pygit2-1.17.0/Makefile +0 -7
- pygit2-1.17.0/pygit2/__init__.py +0 -225
- {pygit2-1.17.0 → pygit2-1.18.1}/COPYING +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/README.md +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/SPONSORS.md +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/mypy-stubtest.ini +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/blame.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/branches.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/attr.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/blame.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/buffer.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/checkout.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/clone.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/common.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/config.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/describe.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/diff.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/errors.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/graph.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/indexer.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/merge.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/net.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/oid.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/pack.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/proxy.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/refspec.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/remote.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/revert.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/stash.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/strarray.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/submodule.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/transport.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/decl/types.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/enums.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/filter.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/legacyenums.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/packbuilder.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/py.typed +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/references.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pygit2/settings.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/pytest.ini +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/requirements.txt +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/setup.cfg +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/setup.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/branch.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/branch.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/commit.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/diff.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/diff.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/error.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/error.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/filter.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/filter.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/mailmap.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/mailmap.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/note.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/note.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/object.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/object.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/odb.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/odb.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/odb_backend.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/oid.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/options.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/options.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/patch.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/patch.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/refdb.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/refdb.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/refdb_backend.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/refdb_backend.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/reference.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/repository.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/revspec.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/revspec.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/signature.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/stash.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/tag.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/tree.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/treebuilder.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/treebuilder.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/types.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/utils.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/utils.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/walker.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/walker.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/wildmatch.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/wildmatch.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/worktree.c +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/src/worktree.h +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/__init__.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/conftest.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/barerepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/binaryfilerepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/blameflagsrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/dirtyrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/emptyrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/encoding.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/gpgsigned.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/submodulerepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/testrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/testrepoformerging.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/testrepopacked.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/trailerrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/data/utf8branchrepo.zip +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/keys/pygit2_empty +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/keys/pygit2_empty.pub +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_apply_diff.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_archive.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_attributes.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_blame.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_blob.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_branch_empty.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_cherrypick.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_commit_gpg.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_commit_trailer.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_config.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_describe.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_diff_binary.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_filter.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_mailmap.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_note.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_odb_backend.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_options.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_packbuilder.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_patch.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_patch_encoding.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_refdb_backend.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_remote_prune.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_remote_utf8.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_repository_custom.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_repository_empty.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_revparse.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_revwalk.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_signature.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_status.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_submodule.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_tag.py +0 -0
- {pygit2-1.17.0 → pygit2-1.18.1}/test/test_treebuilder.py +0 -0
|
@@ -16,6 +16,7 @@ Authors:
|
|
|
16
16
|
Richo Healey
|
|
17
17
|
Christian Boos
|
|
18
18
|
Julien Miotte
|
|
19
|
+
Benedikt Seidl
|
|
19
20
|
Nick Hynes
|
|
20
21
|
Richard Möhn
|
|
21
22
|
Xu Tao
|
|
@@ -34,6 +35,7 @@ Authors:
|
|
|
34
35
|
Xavier Delannoy
|
|
35
36
|
Michael Jones
|
|
36
37
|
Saugat Pachhai
|
|
38
|
+
Andrej730
|
|
37
39
|
Bernardo Heynemann
|
|
38
40
|
John Szakmeister
|
|
39
41
|
Nabijacz Leweli
|
|
@@ -43,14 +45,16 @@ Authors:
|
|
|
43
45
|
Chad Dombrova
|
|
44
46
|
Lukas Fleischer
|
|
45
47
|
Mathias Leppich
|
|
48
|
+
Mathieu Parent
|
|
49
|
+
Michał Kępień
|
|
46
50
|
Nicolas Dandrimont
|
|
47
51
|
Raphael Medaer (Escaux)
|
|
52
|
+
Yaroslav Halchenko
|
|
48
53
|
Anatoly Techtonik
|
|
49
54
|
Andrew Olsen
|
|
50
55
|
Dan Sully
|
|
51
56
|
David Versmisse
|
|
52
57
|
Grégory Herrero
|
|
53
|
-
Michał Kępień
|
|
54
58
|
Mikhail Yushkovskiy
|
|
55
59
|
Robin Stocker
|
|
56
60
|
Rohit Sanjay
|
|
@@ -64,6 +68,7 @@ Authors:
|
|
|
64
68
|
Assaf Nativ
|
|
65
69
|
Bob Carroll
|
|
66
70
|
Christian Häggström
|
|
71
|
+
Edmundo Carmona Antoranz
|
|
67
72
|
Erik Johnson
|
|
68
73
|
Filip Rindler
|
|
69
74
|
Fraser Tweedale
|
|
@@ -89,6 +94,7 @@ Authors:
|
|
|
89
94
|
Andrey Devyatkin
|
|
90
95
|
Arno van Lumig
|
|
91
96
|
Ben Davis
|
|
97
|
+
CJ Steiner
|
|
92
98
|
Colin Watson
|
|
93
99
|
Dan Yeaw
|
|
94
100
|
Dustin Raimondi
|
|
@@ -114,7 +120,6 @@ Authors:
|
|
|
114
120
|
Kyle Gottfried
|
|
115
121
|
Marcel Waldvogel
|
|
116
122
|
Masud Rahman
|
|
117
|
-
Mathieu Parent
|
|
118
123
|
Michael Sondergaard
|
|
119
124
|
Natanael Arndt
|
|
120
125
|
Ondřej Nový
|
|
@@ -127,9 +132,11 @@ Authors:
|
|
|
127
132
|
nikitalita
|
|
128
133
|
Adam Gausmann
|
|
129
134
|
Adam Spiers
|
|
135
|
+
Adrien Nader
|
|
130
136
|
Albin Söderström
|
|
131
137
|
Alexandru Fikl
|
|
132
138
|
Andrew Chin
|
|
139
|
+
Andrew McNulty
|
|
133
140
|
Andrey Trubachev
|
|
134
141
|
András Veres-Szentkirályi
|
|
135
142
|
Ash Berlin
|
|
@@ -180,6 +187,7 @@ Authors:
|
|
|
180
187
|
Josh Bleecher Snyder
|
|
181
188
|
Julia Evans
|
|
182
189
|
Justin Clift
|
|
190
|
+
Karl Malmros
|
|
183
191
|
Kevin Valk
|
|
184
192
|
Konstantinos Smanis
|
|
185
193
|
Kyriakos Oikonomakos
|
|
@@ -215,6 +223,7 @@ Authors:
|
|
|
215
223
|
Rui Chen
|
|
216
224
|
Sandro Jäckel
|
|
217
225
|
Saul Pwanson
|
|
226
|
+
Sebastian Hamann
|
|
218
227
|
Shane Turner
|
|
219
228
|
Sheeo
|
|
220
229
|
Simone Mosciatti
|
|
@@ -224,6 +233,7 @@ Authors:
|
|
|
224
233
|
Timo Röhling
|
|
225
234
|
Victor Florea
|
|
226
235
|
Vladimir Rutsky
|
|
236
|
+
William Schueller
|
|
227
237
|
Wim Jeantine-Glenn
|
|
228
238
|
Yu Jianjian
|
|
229
239
|
buhl
|
|
@@ -1,3 +1,97 @@
|
|
|
1
|
+
# 1.18.1 (2025-07-26)
|
|
2
|
+
|
|
3
|
+
- Update wheels to libgit2 1.9.1 and OpenSSL 3.3
|
|
4
|
+
|
|
5
|
+
- New `Index.remove_directory(...)`
|
|
6
|
+
[#1377](https://github.com/libgit2/pygit2/pull/1377)
|
|
7
|
+
|
|
8
|
+
- New `Index.add_conflict(...)`
|
|
9
|
+
[#1382](https://github.com/libgit2/pygit2/pull/1382)
|
|
10
|
+
|
|
11
|
+
- Now `Repository.merge_file_from_index(...)` returns a `MergeFileResult` object when
|
|
12
|
+
called with `use_deprecated=False`
|
|
13
|
+
[#1376](https://github.com/libgit2/pygit2/pull/1376)
|
|
14
|
+
|
|
15
|
+
- Typing improvements
|
|
16
|
+
[#1369](https://github.com/libgit2/pygit2/pull/1369)
|
|
17
|
+
[#1370](https://github.com/libgit2/pygit2/pull/1370)
|
|
18
|
+
[#1371](https://github.com/libgit2/pygit2/pull/1371)
|
|
19
|
+
[#1373](https://github.com/libgit2/pygit2/pull/1373)
|
|
20
|
+
[#1384](https://github.com/libgit2/pygit2/pull/1384)
|
|
21
|
+
[#1386](https://github.com/libgit2/pygit2/pull/1386)
|
|
22
|
+
|
|
23
|
+
Deprecations:
|
|
24
|
+
|
|
25
|
+
- Update your code:
|
|
26
|
+
|
|
27
|
+
# Before
|
|
28
|
+
contents = Repository.merge_file_from_index(...)
|
|
29
|
+
|
|
30
|
+
# Now
|
|
31
|
+
result = Repository.merge_file_from_index(..., use_deprecated=False)
|
|
32
|
+
contents = result.contents
|
|
33
|
+
|
|
34
|
+
At some point in the future `use_deprecated=False` will be the default.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# 1.18.0 (2025-04-24)
|
|
38
|
+
|
|
39
|
+
- Upgrade Linux Glibc wheels to `manylinux_2_28`
|
|
40
|
+
|
|
41
|
+
- Add `RemoteCallbacks.push_transfer_progress(...)` callback
|
|
42
|
+
[#1345](https://github.com/libgit2/pygit2/pull/1345)
|
|
43
|
+
|
|
44
|
+
- New `bool(oid)`
|
|
45
|
+
[#1347](https://github.com/libgit2/pygit2/pull/1347)
|
|
46
|
+
|
|
47
|
+
- Now `Repository.merge(...)` accepts a commit or reference object
|
|
48
|
+
[#1348](https://github.com/libgit2/pygit2/pull/1348)
|
|
49
|
+
|
|
50
|
+
- New `threads` optional argument in `Remote.push(...)`
|
|
51
|
+
[#1352](https://github.com/libgit2/pygit2/pull/1352)
|
|
52
|
+
|
|
53
|
+
- New `proxy` optional argument in `clone_repository(...)`
|
|
54
|
+
[#1354](https://github.com/libgit2/pygit2/pull/1354)
|
|
55
|
+
|
|
56
|
+
- New optional arguments `context_lines` and `interhunk_lines` in `Blob.diff(...)` ; and
|
|
57
|
+
now `Repository.diff(...)` honors these two arguments when the objects diffed are blobs.
|
|
58
|
+
[#1360](https://github.com/libgit2/pygit2/pull/1360)
|
|
59
|
+
|
|
60
|
+
- Now `Tree.diff_to_workdir(...)` accepts keyword arguments, not just positional.
|
|
61
|
+
|
|
62
|
+
- Fix when a reference name has non UTF-8 chars
|
|
63
|
+
[#1329](https://github.com/libgit2/pygit2/pull/1329)
|
|
64
|
+
|
|
65
|
+
- Fix condition check in `Repository.remotes.rename(...)`
|
|
66
|
+
[#1342](https://github.com/libgit2/pygit2/pull/1342)
|
|
67
|
+
|
|
68
|
+
- Add codespell workflow, fix a number of typos
|
|
69
|
+
[#1344](https://github.com/libgit2/pygit2/pull/1344)
|
|
70
|
+
|
|
71
|
+
- Documentation and typing
|
|
72
|
+
[#1343](https://github.com/libgit2/pygit2/pull/1343)
|
|
73
|
+
[#1347](https://github.com/libgit2/pygit2/pull/1347)
|
|
74
|
+
[#1356](https://github.com/libgit2/pygit2/pull/1356)
|
|
75
|
+
|
|
76
|
+
- CI: Use ARM runner for tests and wheels
|
|
77
|
+
[#1346](https://github.com/libgit2/pygit2/pull/1346)
|
|
78
|
+
|
|
79
|
+
- Build and CI updates
|
|
80
|
+
[#1363](https://github.com/libgit2/pygit2/pull/1363)
|
|
81
|
+
[#1365](https://github.com/libgit2/pygit2/pull/1365)
|
|
82
|
+
|
|
83
|
+
Deprecations:
|
|
84
|
+
|
|
85
|
+
- Passing str to `Repository.merge(...)` is deprecated,
|
|
86
|
+
instead pass an oid object (or a commit, or a reference)
|
|
87
|
+
[#1349](https://github.com/libgit2/pygit2/pull/1349)
|
|
88
|
+
|
|
89
|
+
Breaking changes:
|
|
90
|
+
|
|
91
|
+
- Keyword argument `flag` has been renamed to `flags` in `Blob.diff(...)` and
|
|
92
|
+
`Blob.diff_to_buffer(...)`
|
|
93
|
+
|
|
94
|
+
|
|
1
95
|
# 1.17.0 (2025-01-08)
|
|
2
96
|
|
|
3
97
|
- Upgrade to libgit2 1.9
|
|
@@ -259,7 +353,7 @@ Deprecations:
|
|
|
259
353
|
- New `keep_all` and `paths` optional arguments for
|
|
260
354
|
`Repository.stash(...)`
|
|
261
355
|
[#1202](https://github.com/libgit2/pygit2/pull/1202)
|
|
262
|
-
- New `
|
|
356
|
+
- New `Repository.state()`
|
|
263
357
|
[#1204](https://github.com/libgit2/pygit2/pull/1204)
|
|
264
358
|
- Improve `Repository.write_archive(...)` performance
|
|
265
359
|
[#1183](https://github.com/libgit2/pygit2/pull/1183)
|
|
@@ -439,7 +533,7 @@ Breaking changes:
|
|
|
439
533
|
|
|
440
534
|
Breaking changes:
|
|
441
535
|
|
|
442
|
-
- Remove deprecated `GIT_CREDTYPE_XXX`
|
|
536
|
+
- Remove deprecated `GIT_CREDTYPE_XXX` constants, use
|
|
443
537
|
`GIT_CREDENTIAL_XXX` instead.
|
|
444
538
|
- Remove deprecated `Patch.patch` getter, use `Patch.text` instead.
|
|
445
539
|
|
|
@@ -536,7 +630,7 @@ Deprecations:
|
|
|
536
630
|
|
|
537
631
|
- Deprecate `Repository.create_remote(...)`, use instead
|
|
538
632
|
`Repository.remotes.create(...)`
|
|
539
|
-
- Deprecate `GIT_CREDTYPE_XXX`
|
|
633
|
+
- Deprecate `GIT_CREDTYPE_XXX` constants, use `GIT_CREDENTIAL_XXX`
|
|
540
634
|
instead.
|
|
541
635
|
|
|
542
636
|
# 1.2.0 (2020-04-05)
|
|
@@ -657,7 +751,7 @@ Breaking changes:
|
|
|
657
751
|
|
|
658
752
|
Breaking changes:
|
|
659
753
|
|
|
660
|
-
- Now the Repository has a new
|
|
754
|
+
- Now the Repository has a new attribute `odb` for object database:
|
|
661
755
|
|
|
662
756
|
# Before
|
|
663
757
|
repository.read(...)
|
|
@@ -862,7 +956,7 @@ Other changes:
|
|
|
862
956
|
[#610](https://github.com/libgit2/pygit2/issues/610)
|
|
863
957
|
- Fix tests failing in some cases
|
|
864
958
|
[#795](https://github.com/libgit2/pygit2/issues/795)
|
|
865
|
-
-
|
|
959
|
+
- Automate wheels upload to pypi
|
|
866
960
|
[#563](https://github.com/libgit2/pygit2/issues/563)
|
|
867
961
|
|
|
868
962
|
# 0.27.0 (2018-03-30)
|
pygit2-1.18.1/Makefile
ADDED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pygit2
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.18.1
|
|
4
4
|
Summary: Python bindings for libgit2.
|
|
5
5
|
Home-page: https://github.com/libgit2/pygit2
|
|
6
6
|
Maintainer: J. David Ibáñez
|
|
@@ -27,6 +27,19 @@ Description-Content-Type: text/markdown
|
|
|
27
27
|
License-File: COPYING
|
|
28
28
|
License-File: AUTHORS.md
|
|
29
29
|
Requires-Dist: cffi>=1.17.0
|
|
30
|
+
Dynamic: classifier
|
|
31
|
+
Dynamic: description
|
|
32
|
+
Dynamic: description-content-type
|
|
33
|
+
Dynamic: home-page
|
|
34
|
+
Dynamic: keywords
|
|
35
|
+
Dynamic: license
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
Dynamic: maintainer
|
|
38
|
+
Dynamic: maintainer-email
|
|
39
|
+
Dynamic: project-url
|
|
40
|
+
Dynamic: requires-dist
|
|
41
|
+
Dynamic: requires-python
|
|
42
|
+
Dynamic: summary
|
|
30
43
|
|
|
31
44
|
# pygit2 - libgit2 bindings in Python
|
|
32
45
|
|
|
@@ -69,6 +69,7 @@ if [ "$CIBUILDWHEEL" = "1" ]; then
|
|
|
69
69
|
yum install openssl-devel -y
|
|
70
70
|
else
|
|
71
71
|
yum install perl-IPC-Cmd -y
|
|
72
|
+
yum install perl-Pod-Html -y
|
|
72
73
|
fi
|
|
73
74
|
elif [ -f /sbin/apk ]; then
|
|
74
75
|
apk add wget
|
|
@@ -261,6 +262,16 @@ if [ "$1" = "test" ]; then
|
|
|
261
262
|
$PREFIX/bin/pytest --cov=pygit2
|
|
262
263
|
fi
|
|
263
264
|
|
|
265
|
+
# Type checking
|
|
266
|
+
if [ "$1" = "mypy" ]; then
|
|
267
|
+
shift
|
|
268
|
+
if [ -n "$WHEELDIR" ]; then
|
|
269
|
+
$PREFIX/bin/pip install $WHEELDIR/pygit2*-$PYTHON_TAG-*.whl
|
|
270
|
+
fi
|
|
271
|
+
$PREFIX/bin/pip install -r requirements-test.txt
|
|
272
|
+
$PREFIX/bin/mypy pygit2
|
|
273
|
+
fi
|
|
274
|
+
|
|
264
275
|
# Test .pyi stub file
|
|
265
276
|
if [ "$1" = "stubtest" ]; then
|
|
266
277
|
shift
|