[webkit-changes] [WebKit/WebKit] 862e1a: [Xcode] migrate-headers.py matches path filters to...

Elliott Williams noreply at github.com
Thu Jun 22 10:56:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 862e1af4e3a7d177839475e9e2de9ee3fddab164
      https://github.com/WebKit/WebKit/commit/862e1af4e3a7d177839475e9e2de9ee3fddab164
  Author: Elliott Williams <emw at apple.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M Source/WebKitLegacy/scripts/migrate-headers.py

  Log Message:
  -----------
  [Xcode] migrate-headers.py matches path filters too permissively
https://bugs.webkit.org/show_bug.cgi?id=258381
rdar://110926809

Reviewed by Alexey Proskuryakov.

Xcode does path filtering by checking each path component in a pattern
separately. e.g., the pattern "foo*" matches the path "bar/foo.c" but
not "foo/bar.c". Replicate this behavior in migrate-headers.py, where we
read path filtering environment variables.

* Source/WebKitLegacy/scripts/migrate-headers.py:
(pattern_match):

Canonical link: https://commits.webkit.org/265412@main




More information about the webkit-changes mailing list