[PATCH] D154504: [UTC] Fix git URL regex
Henrik G Olsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 07:44:55 PDT 2023
hnrklssn updated this revision to Diff 537356.
hnrklssn added a comment.
Handle lack of git URL, as well as custom additions to the version message.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154504/new/
https://reviews.llvm.org/D154504
Files:
llvm/utils/UpdateTestChecks/common.py
Index: llvm/utils/UpdateTestChecks/common.py
===================================================================
--- llvm/utils/UpdateTestChecks/common.py
+++ llvm/utils/UpdateTestChecks/common.py
@@ -1573,7 +1573,7 @@
# The capture group is kept as is, followed by a {{.*}} glob
METADATA_FILTERS = [
- r"(\w+ version )[\d.]+ \([\w.:/@-]+\.git \w+\)",
+ r"(\w+ version )[\d.]+.*(?=\")",
r'(!DIFile\(filename: ".+", directory: )".+"',
]
METADATA_FILTERS_RE = [re.compile(s) for s in METADATA_FILTERS]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154504.537356.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230705/67c70311/attachment.bin>
More information about the llvm-commits
mailing list