mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Ports: Update the lint-ports.py script to ignore missing auth_type for SerenityOS repositories
This commit is contained in:
parent
12ed436562
commit
2d62cf8b79
Notes:
sideshowbarker
2024-07-18 19:20:50 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/2d62cf8b79d Pull-request: https://github.com/SerenityOS/serenity/pull/6499 Issue: https://github.com/SerenityOS/serenity/issues/6520
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ def check_package_files(ports):
|
|||
data = fp.read()
|
||||
for p in properties:
|
||||
if not re.findall(f"^{p}=", data, re.M):
|
||||
if p == 'auth_type' and re.findall('^files="?https://github.com/SerenityOS/', data, re.M):
|
||||
continue
|
||||
print(f"Ports/{package} is missing '{p}'")
|
||||
all_good = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue