mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
metadata: RequiresRoot is boolean, according to docs
"Set this optional field to ‘True’ if the application requires root privileges to be usable." https://f-droid.org/docs/Build_Metadata_Reference/#RequiresRoot
This commit is contained in:
parent
0393e46af9
commit
b0c05842d8
@ -189,6 +189,7 @@ fieldtypes = {
|
|||||||
'MaintainerNotes': TYPE_MULTILINE,
|
'MaintainerNotes': TYPE_MULTILINE,
|
||||||
'Categories': TYPE_LIST,
|
'Categories': TYPE_LIST,
|
||||||
'AntiFeatures': TYPE_STRINGMAP,
|
'AntiFeatures': TYPE_STRINGMAP,
|
||||||
|
'RequiresRoot': TYPE_BOOL,
|
||||||
'AllowedAPKSigningKeys': TYPE_LIST,
|
'AllowedAPKSigningKeys': TYPE_LIST,
|
||||||
'Builds': TYPE_BUILD,
|
'Builds': TYPE_BUILD,
|
||||||
'VercodeOperation': TYPE_LIST,
|
'VercodeOperation': TYPE_LIST,
|
||||||
|
@ -1433,7 +1433,7 @@ class UpdateTest(unittest.TestCase):
|
|||||||
'NoSourceSince': '',
|
'NoSourceSince': '',
|
||||||
'Repo': '',
|
'Repo': '',
|
||||||
'RepoType': '',
|
'RepoType': '',
|
||||||
'RequiresRoot': '',
|
'RequiresRoot': None,
|
||||||
'SourceCode': '',
|
'SourceCode': '',
|
||||||
'Summary': 'rocks.janicerand',
|
'Summary': 'rocks.janicerand',
|
||||||
'Translation': '',
|
'Translation': '',
|
||||||
|
Loading…
Reference in New Issue
Block a user