mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Remove comment of google mave repo to workground a bug of ruff
This commit is contained in:
parent
8884732114
commit
9ccb3b5f0d
1 changed files with 27 additions and 30 deletions
|
|
@ -503,8 +503,7 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
|
||||||
if r.match(s):
|
if r.match(s):
|
||||||
yield n
|
yield n
|
||||||
|
|
||||||
allowed_repos = (
|
allowed_repos = [
|
||||||
[
|
|
||||||
re.compile(r'^https://' + re.escape(repo) + r'/*')
|
re.compile(r'^https://' + re.escape(repo) + r'/*')
|
||||||
for repo in [
|
for repo in [
|
||||||
'repo1.maven.org/maven2', # mavenCentral()
|
'repo1.maven.org/maven2', # mavenCentral()
|
||||||
|
|
@ -525,16 +524,14 @@ def scan_source(build_dir, build=metadata.Build(), json_per_build=None):
|
||||||
'repo.clojars.org', # Clojure free software libs
|
'repo.clojars.org', # Clojure free software libs
|
||||||
's3.amazonaws.com/repo.commonsware.com', # CommonsWare
|
's3.amazonaws.com/repo.commonsware.com', # CommonsWare
|
||||||
'plugins.gradle.org/m2', # Gradle plugin repo
|
'plugins.gradle.org/m2', # Gradle plugin repo
|
||||||
'maven.google.com', # Google Maven Repo, https://developer.android.com/studio/build/dependencies.html#google-maven
|
'maven.google.com', # google()
|
||||||
]
|
]
|
||||||
]
|
] + [
|
||||||
+ [
|
|
||||||
re.compile(r'^file://' + re.escape(repo) + r'/*')
|
re.compile(r'^file://' + re.escape(repo) + r'/*')
|
||||||
for repo in [
|
for repo in [
|
||||||
'/usr/share/maven-repo', # local repo on Debian installs
|
'/usr/share/maven-repo', # local repo on Debian installs
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
)
|
|
||||||
|
|
||||||
scanignore = common.getpaths_map(build_dir, build.scanignore)
|
scanignore = common.getpaths_map(build_dir, build.scanignore)
|
||||||
scandelete = common.getpaths_map(build_dir, build.scandelete)
|
scandelete = common.getpaths_map(build_dir, build.scandelete)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue