mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-07 07:50:28 +03:00
scanner: fix local Debian Maven repo handling
The resulting regex was 'https?://file:///usr/share/maven-repo' causing scanner error.
This commit is contained in:
parent
c7cd731833
commit
3a7ad650e3
1 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ def scan_source(build_dir, build=metadata.Build()):
|
||||||
'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 Maven Repo, https://developer.android.com/studio/build/dependencies.html#google-maven
|
||||||
'file:///usr/share/maven-repo', # local repo on Debian installs
|
]
|
||||||
|
] + [re.compile(r'^file://' + re.escape(repo) + r'/*') for repo in [
|
||||||
|
'/usr/share/maven-repo', # local repo on Debian installs
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue