mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
use default accepted_formats since all the files are .yml anyway
This commit is contained in:
parent
1b90aec697
commit
37f37ebd88
8 changed files with 12 additions and 45 deletions
|
@ -1,5 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# Test that the parsing of the .yml metadata format didn't change from last
|
||||
# released version. This uses the commit ID of the release tags,
|
||||
# rather than the release tag itself so that contributor forks do not
|
||||
# need to include the tags in them for this test to work.
|
||||
#
|
||||
# This is for running manual tests when changing the metadata format.
|
||||
# The idea is to test changes using all of the files in
|
||||
# fdroiddata.git. To run it, do:
|
||||
|
@ -71,7 +76,7 @@ if not os.path.isdir('metadata'):
|
|||
config = dict()
|
||||
config['sdk_path'] = os.getenv('ANDROID_HOME') or '/opt/android-sdk'
|
||||
config['ndk_paths'] = dict()
|
||||
config['accepted_formats'] = ['txt']
|
||||
config['accepted_formats'] = ['yml']
|
||||
fdroidserver.common.config = config
|
||||
|
||||
repo = git.Repo(localmodule)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue