Skip to content

Commit 0e8e97c

Browse files
authored
Fix the fcm trunk URL pattern in UMDP3 checker (#91)
* Fix the fcm trunk URL pattern in UMDP3 checker * Add an https trunk match to UMDP3 checker The previous change failed because it only accounted for server name changes and didn't address the move from svn:// to https:// URLs. This adds an extra rule to address https branches.
1 parent 8cce1e7 commit 0e8e97c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script_umdp3_checker/bin/umdp3_check.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@
149149
}
150150
}
151151

152-
if ( grep( /URL:\ssvn:\/\/fcm\d+\/(\w|\.)+_svn\/\w+\/trunk/sxm, @binfo )
152+
if ( grep( /URL:\ssvn:\/\/[^\/]+\/(\w|\.)+_svn\/\w+\/trunk/sxm, @binfo )
153+
or grep( /URL:\shttps:\/\/[^\/]+\/svn\/[\w\.]+\/\w+\/trunk/sxm, @binfo )
153154
or grep( /URL:.*\/svn\/\w+\/main\/trunk/sxm, @binfo )
154155
or grep( /URL:..*_svn\/main\/trunk/sxm, @binfo )
155156
or grep( /URL:\sfile:\/\/.*\/trunk/sxm, @binfo ) )

0 commit comments

Comments
 (0)