copier-python 0.25.0__py3-none-any.whl → 0.26.0__py3-none-any.whl
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.
- copier_python/update.py +2 -9
- {copier_python-0.25.0.dist-info → copier_python-0.26.0.dist-info}/METADATA +1 -1
- {copier_python-0.25.0.dist-info → copier_python-0.26.0.dist-info}/RECORD +6 -6
- {copier_python-0.25.0.dist-info → copier_python-0.26.0.dist-info}/WHEEL +0 -0
- {copier_python-0.25.0.dist-info → copier_python-0.26.0.dist-info}/entry_points.txt +0 -0
- {copier_python-0.25.0.dist-info → copier_python-0.26.0.dist-info}/licenses/LICENSE +0 -0
copier_python/update.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import json
|
|
4
|
-
import os
|
|
5
4
|
import subprocess
|
|
6
5
|
from contextlib import contextmanager
|
|
7
6
|
from dataclasses import dataclass, field
|
|
@@ -73,16 +72,10 @@ class UpdateAction:
|
|
|
73
72
|
with self._success_or_shell(repo, "Lint/test"):
|
|
74
73
|
repo.run_task("lt")
|
|
75
74
|
|
|
76
|
-
title = "Apply template updates"
|
|
75
|
+
title = f"Apply template updates from {start_ref} to {end_ref}"
|
|
77
76
|
body = ""
|
|
78
77
|
if start_ref and end_ref and start_ref != end_ref:
|
|
79
|
-
|
|
80
|
-
body = os.linesep.join(
|
|
81
|
-
(
|
|
82
|
-
f"Applied updates from template: {ref_range}",
|
|
83
|
-
f"{TEMPLATE_REPO_URL}/compare/{ref_range}",
|
|
84
|
-
)
|
|
85
|
-
)
|
|
78
|
+
body = f"{TEMPLATE_REPO_URL}/compare/{start_ref}...{end_ref}"
|
|
86
79
|
repo.run(["git", "add", "-A"])
|
|
87
80
|
repo.run(["git", "commit", "-m", f"{title}\n\n{body}".strip()])
|
|
88
81
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: copier-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.0
|
|
4
4
|
Summary: Copier template for Python projects with modern tooling
|
|
5
5
|
Project-URL: Homepage, https://smkent.github.io/copier-python
|
|
6
6
|
Project-URL: Repository, https://github.com/smkent/copier-python
|
|
@@ -2,9 +2,9 @@ copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
|
|
|
2
2
|
copier_python/__main__.py,sha256=6flPTGOnGiXIoqzXatib9uuGLymA70BPYKWm4psBL84,3716
|
|
3
3
|
copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
copier_python/repo.py,sha256=SMnF0l1CQGPb2bAy9V8--6lvwVpfu8Jg_heYQN1IRWI,5351
|
|
5
|
-
copier_python/update.py,sha256=
|
|
6
|
-
copier_python-0.
|
|
7
|
-
copier_python-0.
|
|
8
|
-
copier_python-0.
|
|
9
|
-
copier_python-0.
|
|
10
|
-
copier_python-0.
|
|
5
|
+
copier_python/update.py,sha256=sDK2BUTE2onufJr6_cP-4PsIdsmhNFhCtJckNPazwBo,2804
|
|
6
|
+
copier_python-0.26.0.dist-info/METADATA,sha256=PhNkortxjwUcJGVoBlGHzviHPy206S5MR2PKAIGiRRI,5423
|
|
7
|
+
copier_python-0.26.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
8
|
+
copier_python-0.26.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
|
|
9
|
+
copier_python-0.26.0.dist-info/licenses/LICENSE,sha256=lwNXeTMjiyUh8CtIKWnb2SOTeliVKCJfs_NZB6P23BE,1086
|
|
10
|
+
copier_python-0.26.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|