ScriptCollection 3.5.19__py3-none-any.whl → 3.5.21__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 +8 -5
- ScriptCollection/TasksForCommonProjectStructure.py +2 -2
- {ScriptCollection-3.5.19.dist-info → ScriptCollection-3.5.21.dist-info}/METADATA +1 -1
- {ScriptCollection-3.5.19.dist-info → ScriptCollection-3.5.21.dist-info}/RECORD +7 -7
- {ScriptCollection-3.5.19.dist-info → ScriptCollection-3.5.21.dist-info}/WHEEL +0 -0
- {ScriptCollection-3.5.19.dist-info → ScriptCollection-3.5.21.dist-info}/entry_points.txt +0 -0
- {ScriptCollection-3.5.19.dist-info → ScriptCollection-3.5.21.dist-info}/top_level.txt +0 -0
|
@@ -30,7 +30,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
|
|
|
30
30
|
from .ProgramRunnerPopen import ProgramRunnerPopen
|
|
31
31
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
|
32
32
|
|
|
33
|
-
version = "3.5.
|
|
33
|
+
version = "3.5.21"
|
|
34
34
|
__version__ = version
|
|
35
35
|
|
|
36
36
|
|
|
@@ -261,8 +261,11 @@ class ScriptCollectionCore:
|
|
|
261
261
|
return result[1].replace('\r', '').replace('\n', '')
|
|
262
262
|
|
|
263
263
|
@GeneralUtilities.check_arguments
|
|
264
|
-
def git_pull(self, folder: str, remote: str, localbranchname: str, remotebranchname: str) -> None:
|
|
265
|
-
|
|
264
|
+
def git_pull(self, folder: str, remote: str, localbranchname: str, remotebranchname: str, force: bool = False) -> None:
|
|
265
|
+
argument = f"pull {remote} {remotebranchname}:{localbranchname}"
|
|
266
|
+
if force:
|
|
267
|
+
argument = f"{argument} --force"
|
|
268
|
+
self.run_program("git", argument, folder, throw_exception_if_exitcode_is_not_zero=True, verbosity=0)
|
|
266
269
|
|
|
267
270
|
@GeneralUtilities.check_arguments
|
|
268
271
|
def git_list_remote_branches(self, folder: str, remote: str, fetch: bool) -> list[str]:
|
|
@@ -414,8 +417,8 @@ class ScriptCollectionCore:
|
|
|
414
417
|
args.append("-m")
|
|
415
418
|
args.append(commit_message)
|
|
416
419
|
args.append(sourcebranch)
|
|
417
|
-
self.run_program_argsasarray(
|
|
418
|
-
|
|
420
|
+
self.run_program_argsasarray("git", args, directory, throw_exception_if_exitcode_is_not_zero=True, verbosity=0)
|
|
421
|
+
self.run_program_argsasarray("git", ["submodule", "update"], directory, throw_exception_if_exitcode_is_not_zero=True, verbosity=0)
|
|
419
422
|
return self.git_get_commit_id(directory)
|
|
420
423
|
|
|
421
424
|
@GeneralUtilities.check_arguments
|
|
@@ -1391,7 +1391,7 @@ class TasksForCommonProjectStructure:
|
|
|
1391
1391
|
|
|
1392
1392
|
# Check codeunit-conformity
|
|
1393
1393
|
# TODO check if foldername=="<codeunitname>[.codeunit.xml]" == <codeunitname> in file
|
|
1394
|
-
supported_codeunitspecificationversion = "2.9.
|
|
1394
|
+
supported_codeunitspecificationversion = "2.9.4" # should always be the latest version of the ProjectTemplates-repository
|
|
1395
1395
|
codeunit_file = os.path.join(codeunit_folder, f"{codeunit_name}.codeunit.xml")
|
|
1396
1396
|
if not os.path.isfile(codeunit_file):
|
|
1397
1397
|
raise ValueError(f'Codeunitfile "{codeunit_file}" does not exist.')
|
|
@@ -1493,7 +1493,7 @@ class TasksForCommonProjectStructure:
|
|
|
1493
1493
|
shutil.copy(changelog_file, target_folder)
|
|
1494
1494
|
|
|
1495
1495
|
# Hints-file
|
|
1496
|
-
hints_file = os.path.join(codeunit_folder, "Other", "Hints.md")
|
|
1496
|
+
hints_file = os.path.join(codeunit_folder, "Other", "Reference", "ReferenceContent", "Hints.md")
|
|
1497
1497
|
if not os.path.isfile(hints_file):
|
|
1498
1498
|
raise ValueError(f"Hints-file '{hints_file}' does not exist.")
|
|
1499
1499
|
|
|
@@ -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=kqV46fmxYIpD7YgI-qNaRKHICwAIj3rFLTlwoUa6Xlw,100364
|
|
9
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=U9OldjgT1BIyvrMkc-TtvswHdRjtkGU2JVZSN7odbJg,190621
|
|
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.21.dist-info/METADATA,sha256=jpt0hQnIPc51QjYhbbABwhCys1ZS7g6Q6OlyDzjNoUA,7678
|
|
13
|
+
ScriptCollection-3.5.21.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
14
|
+
ScriptCollection-3.5.21.dist-info/entry_points.txt,sha256=yASwR6hWZ_b5d4W49YeX1htD8ngfWbwgjpfQiJdtUAU,2322
|
|
15
|
+
ScriptCollection-3.5.21.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
16
|
+
ScriptCollection-3.5.21.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|