mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
🧴 force android package names for IPAs for now
This commit is contained in:
parent
ea9374ecf6
commit
3ee91d1777
1 changed files with 0 additions and 2 deletions
|
@ -102,7 +102,6 @@ STRICT_APPLICATION_ID_REGEX = re.compile(r'''(?:^[a-zA-Z]+(?:\d*[a-zA-Z_]*)*)(?:
|
|||
VALID_APPLICATION_ID_REGEX = re.compile(r'''(?:^[a-z_]+(?:\d*[a-zA-Z_]*)*)(?:\.[a-z_]+(?:\d*[a-zA-Z_]*)*)*$''',
|
||||
re.IGNORECASE)
|
||||
ANDROID_PLUGIN_REGEX = re.compile(r'''\s*(:?apply plugin:|id)\(?\s*['"](android|com\.android\.application)['"]\s*\)?''')
|
||||
APPLE_BUNDLEIDENTIFIER_REGEX = re.compile(r'''^[a-zA-Z-.]*''')
|
||||
|
||||
SETTINGS_GRADLE_REGEX = re.compile(r'settings\.gradle(?:\.kts)?')
|
||||
GRADLE_SUBPROJECT_REGEX = re.compile(r'''['"]:?([^'"]+)['"]''')
|
||||
|
@ -2016,7 +2015,6 @@ def is_valid_package_name(name):
|
|||
|
||||
"""
|
||||
return VALID_APPLICATION_ID_REGEX.match(name) is not None \
|
||||
or APPLE_BUNDLEIDENTIFIER_REGEX.match(name) is not None \
|
||||
or FDROID_PACKAGE_NAME_REGEX.match(name) is not None
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue