GitPython 3.1.54__tar.gz → 3.1.56__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.
- {gitpython-3.1.54 → gitpython-3.1.56/GitPython.egg-info}/PKG-INFO +4 -1
- {gitpython-3.1.54/GitPython.egg-info → gitpython-3.1.56}/PKG-INFO +4 -1
- gitpython-3.1.56/VERSION +1 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/changes.rst +27 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/git/__init__.py +1 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/commit.py +14 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/submodule/base.py +1 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/git/remote.py +1 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/setup.py +3 -0
- gitpython-3.1.54/VERSION +0 -1
- {gitpython-3.1.54 → gitpython-3.1.56}/AUTHORS +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/CHANGES +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/CONTRIBUTING.md +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/GitPython.egg-info/SOURCES.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/GitPython.egg-info/dependency_links.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/GitPython.egg-info/not-zip-safe +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/GitPython.egg-info/requires.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/GitPython.egg-info/top_level.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/LICENSE +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/MANIFEST.in +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/README.md +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/.gitignore +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/Makefile +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/requirements.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/conf.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/index.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/intro.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/quickstart.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/reference.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/roadmap.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/doc/source/tutorial.rst +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/cmd.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/compat.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/config.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/db.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/diff.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/exc.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/index/__init__.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/index/base.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/index/fun.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/index/typ.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/index/util.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/__init__.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/base.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/blob.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/fun.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/submodule/__init__.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/submodule/root.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/submodule/util.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/tag.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/tree.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/objects/util.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/py.typed +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/__init__.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/head.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/log.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/reference.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/remote.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/symbolic.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/refs/tag.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/repo/__init__.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/repo/base.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/repo/fun.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/types.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/git/util.py +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/pyproject.toml +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/requirements.txt +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/setup.cfg +0 -0
- {gitpython-3.1.54 → gitpython-3.1.56}/test-requirements.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GitPython
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.56
|
|
4
4
|
Summary: GitPython is a Python library used to interact with Git repositories
|
|
5
5
|
Home-page: https://github.com/gitpython-developers/GitPython
|
|
6
6
|
Author: Sebastian Thiel, Michael Trier
|
|
@@ -22,6 +22,9 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
25
28
|
Requires-Python: >=3.7
|
|
26
29
|
Description-Content-Type: text/markdown
|
|
27
30
|
License-File: LICENSE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GitPython
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.56
|
|
4
4
|
Summary: GitPython is a Python library used to interact with Git repositories
|
|
5
5
|
Home-page: https://github.com/gitpython-developers/GitPython
|
|
6
6
|
Author: Sebastian Thiel, Michael Trier
|
|
@@ -22,6 +22,9 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
25
28
|
Requires-Python: >=3.7
|
|
26
29
|
Description-Content-Type: text/markdown
|
|
27
30
|
License-File: LICENSE
|
gitpython-3.1.56/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.56
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
3.1.56
|
|
6
|
+
======
|
|
7
|
+
|
|
8
|
+
A security fix for
|
|
9
|
+
|
|
10
|
+
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-p538-c434-8v24
|
|
11
|
+
|
|
12
|
+
If you can, also try and provide feedback on the upcoming v4 branch
|
|
13
|
+
https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
|
|
14
|
+
|
|
15
|
+
See the following for all changes.
|
|
16
|
+
https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55
|
|
17
|
+
|
|
18
|
+
3.1.55
|
|
19
|
+
======
|
|
20
|
+
|
|
21
|
+
A security fix for
|
|
22
|
+
|
|
23
|
+
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-94p4-4cq8-9g67
|
|
24
|
+
|
|
25
|
+
If you can, also try and provide feedback on the upcoming v4 branch
|
|
26
|
+
https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
|
|
27
|
+
|
|
28
|
+
See the following for all changes.
|
|
29
|
+
https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55
|
|
30
|
+
|
|
5
31
|
3.1.54
|
|
6
32
|
======
|
|
7
33
|
|
|
@@ -9,7 +35,7 @@ A security fix for
|
|
|
9
35
|
|
|
10
36
|
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3
|
|
11
37
|
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf
|
|
12
|
-
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc
|
|
38
|
+
* https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc
|
|
13
39
|
|
|
14
40
|
If you can, also try and provide feedback on the upcoming v4 branch
|
|
15
41
|
https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
|
|
@@ -269,13 +269,21 @@ class Commit(base.Object, TraversableIterableObj, Diffable, Serializable):
|
|
|
269
269
|
else:
|
|
270
270
|
return self.message.split(b"\n", 1)[0]
|
|
271
271
|
|
|
272
|
-
def count(
|
|
272
|
+
def count(
|
|
273
|
+
self,
|
|
274
|
+
paths: Union[PathLike, Sequence[PathLike]] = "",
|
|
275
|
+
allow_unsafe_options: bool = False,
|
|
276
|
+
**kwargs: Any,
|
|
277
|
+
) -> int:
|
|
273
278
|
"""Count the number of commits reachable from this commit.
|
|
274
279
|
|
|
275
280
|
:param paths:
|
|
276
281
|
An optional path or a list of paths restricting the return value to commits
|
|
277
282
|
actually containing the paths.
|
|
278
283
|
|
|
284
|
+
:param allow_unsafe_options:
|
|
285
|
+
Allow unsafe options, like ``--output``.
|
|
286
|
+
|
|
279
287
|
:param kwargs:
|
|
280
288
|
Additional options to be passed to :manpage:`git-rev-list(1)`. They must not
|
|
281
289
|
alter the output style of the command, or parsing will yield incorrect
|
|
@@ -284,6 +292,11 @@ class Commit(base.Object, TraversableIterableObj, Diffable, Serializable):
|
|
|
284
292
|
:return:
|
|
285
293
|
An int defining the number of reachable commits
|
|
286
294
|
"""
|
|
295
|
+
if not allow_unsafe_options:
|
|
296
|
+
Git.check_unsafe_options(
|
|
297
|
+
options=Git._option_candidates([], kwargs), unsafe_options=self.unsafe_git_rev_options
|
|
298
|
+
)
|
|
299
|
+
|
|
287
300
|
# Yes, it makes a difference whether empty paths are given or not in our case as
|
|
288
301
|
# the empty paths version will ignore merge commits for some reason.
|
|
289
302
|
if paths:
|
|
@@ -608,7 +608,7 @@ class Submodule(IndexObject, TraversableIterableObj):
|
|
|
608
608
|
# END verify url
|
|
609
609
|
|
|
610
610
|
## See #525 for ensuring git URLs in config-files are valid under Windows.
|
|
611
|
-
url = Git.polish_url(url)
|
|
611
|
+
url = Git.polish_url(url, expand_vars=False)
|
|
612
612
|
|
|
613
613
|
# It's important to add the URL to the parent config, to let `git submodule` know.
|
|
614
614
|
# Otherwise there is a '-' character in front of the submodule listing:
|
|
@@ -808,7 +808,7 @@ class Remote(LazyMixin, IterableObj):
|
|
|
808
808
|
"""
|
|
809
809
|
scmd = "add"
|
|
810
810
|
kwargs["insert_kwargs_after"] = scmd
|
|
811
|
-
url = Git.polish_url(url)
|
|
811
|
+
url = Git.polish_url(url, expand_vars=False)
|
|
812
812
|
if not allow_unsafe_protocols:
|
|
813
813
|
Git.check_unsafe_protocols(url)
|
|
814
814
|
repo.git.remote(scmd, "--", name, url, **kwargs)
|
|
@@ -108,5 +108,8 @@ setup(
|
|
|
108
108
|
"Programming Language :: Python :: 3.10",
|
|
109
109
|
"Programming Language :: Python :: 3.11",
|
|
110
110
|
"Programming Language :: Python :: 3.12",
|
|
111
|
+
"Programming Language :: Python :: 3.13",
|
|
112
|
+
"Programming Language :: Python :: 3.14",
|
|
113
|
+
"Programming Language :: Python :: 3.15",
|
|
111
114
|
],
|
|
112
115
|
)
|
gitpython-3.1.54/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.1.54
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|