wexample-helpers-git 6.2.0__tar.gz → 6.3.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.
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/PKG-INFO +4 -4
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/README.md +2 -2
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/pyproject.toml +2 -2
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/git.py +7 -1
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/__pycache__/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/const/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/const/common.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/__pycache__/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/git_retryable_callback_manager.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/repo.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/py.typed +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/tests/helpers/__init__.py +0 -0
- {wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/tests/helpers/test_helper_git.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-helpers-git
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
Summary: Some python basic helpers for git.
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Requires-Python: >=3.10
|
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
14
|
Requires-Dist: gitpython
|
|
15
|
-
Requires-Dist: wexample-helpers>=6.
|
|
15
|
+
Requires-Dist: wexample-helpers>=6.8.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: pytest; extra == "dev"
|
|
18
18
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -20,7 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
|
|
21
21
|
# helpers_git
|
|
22
22
|
|
|
23
|
-
Version: 6.
|
|
23
|
+
Version: 6.3.0
|
|
24
24
|
|
|
25
25
|
Some python basic helpers for git.
|
|
26
26
|
|
|
@@ -103,7 +103,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
103
103
|
- attrs: >=23.1.0
|
|
104
104
|
- cattrs: >=23.1.0
|
|
105
105
|
- gitpython:
|
|
106
|
-
- wexample-helpers: >=6.
|
|
106
|
+
- wexample-helpers: >=6.8.0
|
|
107
107
|
|
|
108
108
|
## Versioning & Compatibility Policy
|
|
109
109
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# helpers_git
|
|
2
2
|
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
|
|
5
5
|
Some python basic helpers for git.
|
|
6
6
|
|
|
@@ -83,7 +83,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
83
83
|
- attrs: >=23.1.0
|
|
84
84
|
- cattrs: >=23.1.0
|
|
85
85
|
- gitpython:
|
|
86
|
-
- wexample-helpers: >=6.
|
|
86
|
+
- wexample-helpers: >=6.8.0
|
|
87
87
|
|
|
88
88
|
## Versioning & Compatibility Policy
|
|
89
89
|
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-helpers-git"
|
|
9
|
-
version = "6.
|
|
9
|
+
version = "6.3.0"
|
|
10
10
|
description = "Some python basic helpers for git."
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
23
|
"gitpython",
|
|
24
|
-
"wexample-helpers>=6.
|
|
24
|
+
"wexample-helpers>=6.8.0",
|
|
25
25
|
]
|
|
26
26
|
|
|
27
27
|
[project.readme]
|
{wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/git.py
RENAMED
|
@@ -330,13 +330,19 @@ def git_push_tag(
|
|
|
330
330
|
*,
|
|
331
331
|
cwd: FileStringOrPath,
|
|
332
332
|
remote: str | None = None,
|
|
333
|
+
force: bool = False,
|
|
333
334
|
inherit_stdio: bool = True,
|
|
334
335
|
) -> ShellResult:
|
|
335
336
|
"""Push a specific tag to the remote."""
|
|
336
337
|
from wexample_helpers.helpers.file import file_resolve_path
|
|
337
338
|
|
|
339
|
+
cmd = ["push"]
|
|
340
|
+
if force:
|
|
341
|
+
cmd.append("--force")
|
|
342
|
+
cmd += [(remote or "origin"), tag]
|
|
343
|
+
|
|
338
344
|
return git_run(
|
|
339
|
-
|
|
345
|
+
cmd,
|
|
340
346
|
inherit_stdio=inherit_stdio,
|
|
341
347
|
cwd=file_resolve_path(cwd),
|
|
342
348
|
retries=3,
|
{wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/const/__init__.py
RENAMED
|
File without changes
|
{wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/const/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wexample_helpers_git-6.2.0 → wexample_helpers_git-6.3.0}/src/wexample_helpers_git/helpers/repo.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|