mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +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
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