Loading generateCR/changemarks.py +3 −3 Original line number 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) 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/WI"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 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: index_source = 1 if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_removed = 0 Loading Loading @@ -599,7 +599,7 @@ def main(args=None): mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) for patched_file in mr.patch_set: if not patched_file.source_file.startswith("a/README"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): filename = "/".join(patched_file.source_file.split("/")[1:]) process(filename, pargs.outDirectory, mr) else: Loading Loading
generateCR/changemarks.py +3 −3 Original line number 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) 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/WI"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 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: index_source = 1 if patched_file.source_file.startswith("a/TS") or patched_file.source_file.startswith("a/TR") or patched_file.source_file.startswith("a/WI"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): logging.debug(f"Looking at changes in {patched_file.source_file}") lines_added = 0 lines_removed = 0 Loading Loading @@ -599,7 +599,7 @@ def main(args=None): mr = MR(pargs.projectID, pargs.mergeID, pargs.rootURL) for patched_file in mr.patch_set: if not patched_file.source_file.startswith("a/README"): if not patched_file.source_file.startswith("a/README") and patched_file.source_file.endswith(".md"): filename = "/".join(patched_file.source_file.split("/")[1:]) process(filename, pargs.outDirectory, mr) else: Loading