[llvm] 75836eb - Revert "[UTC] Fix git URL regex"

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 13:54:52 PDT 2023


Author: Johannes Doerfert
Date: 2023-07-14T13:53:37-07:00
New Revision: 75836eb952d1dae16f206f68113577bd38530471

URL: https://github.com/llvm/llvm-project/commit/75836eb952d1dae16f206f68113577bd38530471
DIFF: https://github.com/llvm/llvm-project/commit/75836eb952d1dae16f206f68113577bd38530471.diff

LOG: Revert "[UTC] Fix git URL regex"

This reverts commit 6d64faf3b1d96f4dba8c2c46b8b65f1cc978e82b, as it is
built on top of https://reviews.llvm.org/D148216 which is broken.

See also https://github.com/llvm/llvm-project/issues/63746

Added: 
    

Modified: 
    llvm/utils/UpdateTestChecks/common.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 2a5b8e04a4a86c..361e02970b5f81 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -1577,7 +1577,7 @@ def add(var):
 
 # The capture group is kept as is, followed by a {{.*}} glob
 METADATA_FILTERS = [
-    r"(\w+ version )[\d.]+ \([\w.:/@-]+\.git \w+\)",
+    r"(\w+ version )[\d.]+ \(git@[\w.:/-]+\.git \w+\)",
     r'(!DIFile\(filename: ".+", directory: )".+"',
 ]
 METADATA_FILTERS_RE = [re.compile(s) for s in METADATA_FILTERS]


        


More information about the llvm-commits mailing list