ScriptCollection 3.5.41__py3-none-any.whl → 3.5.42__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.
- ScriptCollection/ScriptCollectionCore.py +4 -3
- ScriptCollection/TasksForCommonProjectStructure.py +1 -1
- {ScriptCollection-3.5.41.dist-info → ScriptCollection-3.5.42.dist-info}/METADATA +2 -2
- {ScriptCollection-3.5.41.dist-info → ScriptCollection-3.5.42.dist-info}/RECORD +7 -7
- {ScriptCollection-3.5.41.dist-info → ScriptCollection-3.5.42.dist-info}/WHEEL +0 -0
- {ScriptCollection-3.5.41.dist-info → ScriptCollection-3.5.42.dist-info}/entry_points.txt +0 -0
- {ScriptCollection-3.5.41.dist-info → ScriptCollection-3.5.42.dist-info}/top_level.txt +0 -0
|
@@ -31,7 +31,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
|
|
|
31
31
|
from .ProgramRunnerPopen import ProgramRunnerPopen
|
|
32
32
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
|
33
33
|
|
|
34
|
-
version = "3.5.
|
|
34
|
+
version = "3.5.42"
|
|
35
35
|
__version__ = version
|
|
36
36
|
|
|
37
37
|
|
|
@@ -185,13 +185,14 @@ class ScriptCollectionCore:
|
|
|
185
185
|
|
|
186
186
|
@GeneralUtilities.check_arguments
|
|
187
187
|
def git_commit_is_ancestor(self, repository_folder: str, ancestor: str, descendant: str = "HEAD") -> bool:
|
|
188
|
-
|
|
188
|
+
result = self.run_program_argsasarray("git", ["merge-base", "--is-ancestor", ancestor, descendant], repository_folder, throw_exception_if_exitcode_is_not_zero=False)
|
|
189
|
+
exit_code = result[0]
|
|
189
190
|
if exit_code == 0:
|
|
190
191
|
return True
|
|
191
192
|
elif exit_code == 1:
|
|
192
193
|
return False
|
|
193
194
|
else:
|
|
194
|
-
raise ValueError(f
|
|
195
|
+
raise ValueError(f'Can not calculate if {ancestor} is an ancestor of {descendant} in repository {repository_folder}. Outout of "{repository_folder}> git merge-base --is-ancestor {ancestor} {descendant}": Exitcode: {exit_code}; StdOut: {result[1]}; StdErr: {result[2]}.')
|
|
195
196
|
|
|
196
197
|
@GeneralUtilities.check_arguments
|
|
197
198
|
def __git_changes_helper(self, repository_folder: str, arguments_as_array: list[str]) -> bool:
|
|
@@ -2403,7 +2403,7 @@ class TasksForCommonProjectStructure:
|
|
|
2403
2403
|
|
|
2404
2404
|
now = datetime.now()
|
|
2405
2405
|
if not self.__suport_information_exists(repository_folder, project_version):
|
|
2406
|
-
support_time = timedelta(days=365*2+
|
|
2406
|
+
support_time = timedelta(days=365*2+30*3) # TODO make this configurable
|
|
2407
2407
|
until = now + support_time
|
|
2408
2408
|
self.mark_current_version_as_supported(repository_folder, project_version, now, until)
|
|
2409
2409
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ScriptCollection
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.42
|
|
4
4
|
Summary: The ScriptCollection is the place for reusable scripts.
|
|
5
5
|
Home-page: https://github.com/anionDev/ScriptCollection
|
|
6
6
|
Author: Marius Göcke
|
|
@@ -23,7 +23,7 @@ Classifier: Topic :: Utilities
|
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
Requires-Dist: build>=1.2.2.post1
|
|
26
|
-
Requires-Dist: coverage>=7.6.
|
|
26
|
+
Requires-Dist: coverage>=7.6.10
|
|
27
27
|
Requires-Dist: cyclonedx-bom>=5.1.1
|
|
28
28
|
Requires-Dist: defusedxml>=0.7.1
|
|
29
29
|
Requires-Dist: keyboard>=0.13.5
|
|
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=7QAjoqOz6XPmJH19F2k-Z1fFQB_uZnPFvn-
|
|
|
5
5
|
ScriptCollection/ProgramRunnerEpew.py,sha256=C2Rs3YWOWWWJct7XmKphp5CF1tf0j4Fp-ljV2drLTfs,6349
|
|
6
6
|
ScriptCollection/ProgramRunnerPopen.py,sha256=G3LgQUVCfaq7XjBsGzalElH31Hbr0etttGR2_H87YzA,3512
|
|
7
7
|
ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
|
|
8
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
|
9
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
|
8
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=0Vc-GCZOCb4oBkCd9emMD8-c2f9UzRzPPNojaLCiuvw,103054
|
|
9
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=bOECB5Za31yN7avwZ00bDVgu4DPe7DYcnxfuW-5LoHM,207681
|
|
10
10
|
ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
|
|
11
11
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
ScriptCollection-3.5.
|
|
13
|
-
ScriptCollection-3.5.
|
|
14
|
-
ScriptCollection-3.5.
|
|
15
|
-
ScriptCollection-3.5.
|
|
16
|
-
ScriptCollection-3.5.
|
|
12
|
+
ScriptCollection-3.5.42.dist-info/METADATA,sha256=OlsqMMN_p7tmZn6pF8NMROX3FqK9_MMCAi92bIPTz2A,7665
|
|
13
|
+
ScriptCollection-3.5.42.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
14
|
+
ScriptCollection-3.5.42.dist-info/entry_points.txt,sha256=_O7BmQ81LdDfrj5uOhjshg9Xc-tABHQJIxDOyOGRzzI,2397
|
|
15
|
+
ScriptCollection-3.5.42.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
16
|
+
ScriptCollection-3.5.42.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|