Skip to content

Commit

Permalink
Merge branch other/next-release into main
Browse files Browse the repository at this point in the history
  • Loading branch information
anionDev committed Dec 28, 2024
2 parents 609a601 + d823bcb commit bb5e9e3
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Other/Resources/Changelog/v3.5.41.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release notes

## Changes

- Fix.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Version;SupportBegin;SupportEnd
3.5.39;2024-12-26T09:47:38;2025-12-11T09:47:38
3.5.40;2024-12-26T10:05:12;2025-12-11T10:05:12
3.5.40;2024-12-26T10:05:12;2025-12-11T10:05:12
3.5.41;2024-12-28T15:51:59;2027-01-28T15:51:59
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<coverage version="1.0" date="2024-12-28_23-11-40" tag="v3.5.41">
<assembly name="ScriptCollection">
<class name="Executables.py" coveredlines="0" coverablelines="285" totallines="389" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="GeneralUtilities.py" coveredlines="480" coverablelines="752" totallines="891" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="ProcessesRunner.py" coveredlines="0" coverablelines="31" totallines="41" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="ProgramRunnerBase.py" coveredlines="22" coverablelines="28" totallines="47" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="ProgramRunnerEpew.py" coveredlines="40" coverablelines="103" totallines="122" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="ProgramRunnerPopen.py" coveredlines="23" coverablelines="38" totallines="51" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="RPStream.py" coveredlines="0" coverablelines="32" totallines="42" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="ScriptCollectionCore.py" coveredlines="570" coverablelines="1429" totallines="1916" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="TasksForCommonProjectStructure.py" coveredlines="483" coverablelines="2313" totallines="2978" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
<class name="UpdateCertificates.py" coveredlines="0" coverablelines="105" totallines="126" coveredbranches="0" totalbranches="0" coveredcodeelements="0" totalcodeelements="0" />
</assembly>
</coverage>
2 changes: 1 addition & 1 deletion ScriptCollection/ScriptCollection.codeunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<cps:codeunit xmlns:cps="https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/tree/main/Conventions/RepositoryStructure/CommonProjectStructure" codeunitspecificationversion="2.9.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/raw/v2.9.4/Conventions/RepositoryStructure/CommonProjectStructure/codeunit.xsd" enabled="true">
<cps:name>ScriptCollection</cps:name>
<cps:version>3.5.40</cps:version>
<cps:version>3.5.41</cps:version>
<cps:codeunitownername>Marius Göcke</cps:codeunitownername>
<cps:codeunitowneremailaddress>[email protected]</cps:codeunitowneremailaddress>
<cps:properties codeunithastestablesourcecode="true" codeunithasupdatabledependencies="true" throwexceptionifcodeunitfilecannotbevalidated="true" developmentstate="Active development" description="ScriptCollection is the place for reusable scripts.">
Expand Down
2 changes: 1 addition & 1 deletion ScriptCollection/ScriptCollection/ScriptCollectionCore.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from .ProgramRunnerPopen import ProgramRunnerPopen
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument

version = "3.5.40"
version = "3.5.41"
__version__ = version


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ def push_docker_build_artifact(self, push_artifacts_file: str, registry: str, ve
sc.run_program("docker", f"push {image_latest}", verbosity=verbosity)
sc.run_program("docker", f"push {image_version}", verbosity=verbosity)
if push_readme:
sc.run_program("docker", f"pushrm {repo}", codeunit_folder, verbosity=verbosity)
sc.run_program("docker-pushrm", f"{repo}", codeunit_folder, verbosity=verbosity)

@GeneralUtilities.check_arguments
def get_dependent_code_units(self, codeunit_file: str) -> set[str]:
Expand Down Expand Up @@ -2194,7 +2194,7 @@ def update_dependencies_of_typical_node_codeunit(self, update_script_file: str,
GeneralUtilities.write_message_to_stderr("Update dependencies resulted in an error.")

@GeneralUtilities.check_arguments
def generate_tasksfile_from_workspace_file(self, repository_folder: str) -> None:
def generate_tasksfile_from_workspace_file(self, repository_folder: str, append_cli_args_at_end: bool = False) -> None:
sc: ScriptCollectionCore = ScriptCollectionCore()
workspace_file: str = sc.find_file_by_extension(repository_folder, "code-workspace")
task_file: str = os.path.join(repository_folder, "Taskfile.yml")
Expand Down Expand Up @@ -2226,11 +2226,13 @@ def generate_tasksfile_from_workspace_file(self, repository_folder: str) -> None
if len(args) > 1:
command_with_args = f"{command_with_args} {' '.join(args)}"

if append_cli_args_at_end:
command_with_args = f"{command_with_args} {{{{.CLI_ARGS}}}}"
lines.append(f" {name}:")
lines.append(f' desc: "{description}"')
lines.append(f' dir: "{cwd}"')
lines.append(" cmds:")
lines.append(f" - {command_with_args} {{{{.CLI_ARGS}}}}")
lines.append(f" - {command_with_args}")
lines.append(' aliases:')
lines.append(f' - {name.lower()}')
if "aliases" in task:
Expand Down
2 changes: 1 addition & 1 deletion ScriptCollection/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ScriptCollection
version = 3.5.40
version = 3.5.41
author = Marius Göcke
author_email = [email protected]
description = The ScriptCollection is the place for reusable scripts.
Expand Down

0 comments on commit bb5e9e3

Please sign in to comment.