mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +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: 2d62cf8b79
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()
|
data = fp.read()
|
||||||
for p in properties:
|
for p in properties:
|
||||||
if not re.findall(f"^{p}=", data, re.M):
|
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}'")
|
print(f"Ports/{package} is missing '{p}'")
|
||||||
all_good = False
|
all_good = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue