From d5a3887ee2a03068504e12e17fe85f1055a7b7f2 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 4 Jul 2024 16:05:04 +0200 Subject: [PATCH] added mqc workbook to the safeguard build helper --- work_helpers/sg_mbp_build.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/work_helpers/sg_mbp_build.py b/work_helpers/sg_mbp_build.py index a514e70..3208b15 100644 --- a/work_helpers/sg_mbp_build.py +++ b/work_helpers/sg_mbp_build.py @@ -17,12 +17,13 @@ TODAY = datetime.now().strftime("%y%m%d") CRLF = "\r\n" EXCEL_CHANGELOGS = { - "changes mbp {version} hyb.txt": "J1", - "changes mbp {version} hqc.txt": "J1", + "changes mbp {version} asqc.txt": "L1", "changes mbp {version} dry-1.txt": "L1", "changes mbp {version} dry-2.txt": "L1", + "changes mbp {version} hqc.txt": "J1", + "changes mbp {version} hyb.txt": "J1", + "changes mbp {version} mqc.txt": "J1", "changes mbp {version} reg.txt": "J1", - "changes mbp {version} asqc.txt": "L1", } EXCEL_CHANGELOG_HEADERS = [ @@ -32,12 +33,13 @@ EXCEL_CHANGELOG_HEADERS = [ ] WORKBOOKS_MAP = { - "MBP Hyb.xlsx": "MBP {version} Hyb.xlsx", - "MBP Reg.xlsx": "MBP {version} Reg.xlsx", - "MBP HQC.xlsx": "MBP {version} HQC.xlsx", + "MBP ASQC.xlsx": "MBP {version} ASQC.xlsx", "MBP Dry-1.xlsx": "MBP {version} Dry-1.xlsx", "MBP Dry-2.xlsx": "MBP {version} Dry-2.xlsx", - "MBP ASQC.xlsx": "MBP {version} ASQC.xlsx", + "MBP HQC.xlsx": "MBP {version} HQC.xlsx", + "MBP Hyb.xlsx": "MBP {version} Hyb.xlsx", + "MBP MQC.xlsx": "MBP {version} MQC.xlsx", + "MBP Reg.xlsx": "MBP {version} Reg.xlsx", } @@ -101,7 +103,7 @@ def create_changelog_entry(new_version, parent=PATH_ISSUES): if line.startswith("----"): content.append("") content.append(f"{new_version}, work in progress:") - content.append(" - The following Workbooks did not have any changes: ASQC, Dry-1, Dry-2, Hyb, HQC, Reg") + content.append(" - The following Workbooks did not have any changes: ASQC, Dry-1, Dry-2, Hyb, HQC, MQC, Reg") with changelog.open("w") as fh: fh.write(CRLF.join(content))