Loading generateChangemarks/changemarks.py +3 −3 Original line number Original line Diff line number Diff line Loading @@ -165,7 +165,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st changed_clause = Clause(empty,0,0,empty) changed_clause = Clause(empty,0,0,empty) for patched_file in mr.patch_set: for patched_file in mr.patch_set: if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): logging.debug(f"Looking at changes in {patched_file.source_file}") logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_added = 0 lines_removed = 0 lines_removed = 0 Loading Loading @@ -358,7 +358,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st for patched_file in mr.patch_set: for patched_file in mr.patch_set: index_source = 1 index_source = 1 if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): logging.debug(f"Looking at changes in {patched_file.source_file}") logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_added = 0 lines_removed = 0 lines_removed = 0 Loading Loading @@ -599,7 +599,7 @@ def main(args=None): mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) for patched_file in mr.patch_set: for patched_file in mr.patch_set: if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/GR") or patched_file.source_file.startswith("a/GS"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/GR") or patched_file.source_file.startswith("a/GS") or patched_file.source_file.startswith("a/WI"): filename = patched_file.source_file.split("/")[1] filename = patched_file.source_file.split("/")[1] process(filename, pargs.outDirectory, mr) process(filename, pargs.outDirectory, mr) else: else: Loading Loading
generateChangemarks/changemarks.py +3 −3 Original line number Original line Diff line number Diff line Loading @@ -165,7 +165,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st changed_clause = Clause(empty,0,0,empty) changed_clause = Clause(empty,0,0,empty) for patched_file in mr.patch_set: for patched_file in mr.patch_set: if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): logging.debug(f"Looking at changes in {patched_file.source_file}") logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_added = 0 lines_removed = 0 lines_removed = 0 Loading Loading @@ -358,7 +358,7 @@ https://forge.etsi.org/rep/cdm/pipeline-scripts/-/blob/main/common/Dockerfile.st for patched_file in mr.patch_set: for patched_file in mr.patch_set: index_source = 1 index_source = 1 if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): logging.debug(f"Looking at changes in {patched_file.source_file}") logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_added = 0 lines_removed = 0 lines_removed = 0 Loading Loading @@ -599,7 +599,7 @@ def main(args=None): mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) for patched_file in mr.patch_set: for patched_file in mr.patch_set: if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/GR") or patched_file.source_file.startswith("a/GS"): if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/GR") or patched_file.source_file.startswith("a/GS") or patched_file.source_file.startswith("a/WI"): filename = patched_file.source_file.split("/")[1] filename = patched_file.source_file.split("/")[1] process(filename, pargs.outDirectory, mr) process(filename, pargs.outDirectory, mr) else: else: Loading