mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
import: make it work most of the time with git repos
This includes real tests too.
This commit is contained in:
parent
e049a120f8
commit
bfe587979d
28 changed files with 1184 additions and 42 deletions
|
|
@ -18,7 +18,9 @@ class Options:
|
|||
module = __import__('fdroidserver.import')
|
||||
for name, obj in inspect.getmembers(module):
|
||||
if name == 'import':
|
||||
get_all_gradle_and_manifests = obj.get_all_gradle_and_manifests
|
||||
get_metadata_from_url = obj.get_metadata_from_url
|
||||
get_gradle_subdir = obj.get_gradle_subdir
|
||||
obj.options = Options()
|
||||
options = obj.options
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue