mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 17:50:29 +03:00
change VercodeOperation to TYPE_LIST
This commit is contained in:
parent
747fa13591
commit
618e2c7d72
11 changed files with 18 additions and 22 deletions
|
|
@ -222,7 +222,7 @@ class LintTest(unittest.TestCase):
|
|||
|
||||
anywarns = False
|
||||
for good in good_fields:
|
||||
app.VercodeOperation = good
|
||||
app.VercodeOperation = [good]
|
||||
for warn in fdroidserver.lint.check_vercode_operation(app):
|
||||
anywarns = True
|
||||
logging.debug(warn)
|
||||
|
|
@ -230,7 +230,7 @@ class LintTest(unittest.TestCase):
|
|||
|
||||
for bad in bad_fields:
|
||||
anywarns = False
|
||||
app.VercodeOperation = bad
|
||||
app.VercodeOperation = [bad]
|
||||
for warn in fdroidserver.lint.check_vercode_operation(app):
|
||||
anywarns = True
|
||||
logging.debug(warn)
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ UpdateCheckData: null
|
|||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckName: null
|
||||
VercodeOperation: null
|
||||
VercodeOperation: []
|
||||
WebSite: ''
|
||||
added: null
|
||||
comments: {}
|
||||
|
|
|
|||
|
|
@ -1084,7 +1084,7 @@ UpdateCheckData: null
|
|||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckName: null
|
||||
VercodeOperation: null
|
||||
VercodeOperation: []
|
||||
WebSite: http://sufficientlysecure.org/index.php/adaway
|
||||
added: null
|
||||
comments: {}
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ UpdateCheckData: null
|
|||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckName: null
|
||||
VercodeOperation: null
|
||||
VercodeOperation: []
|
||||
WebSite: http://www.smssecure.org
|
||||
added: null
|
||||
comments: {}
|
||||
|
|
|
|||
|
|
@ -2442,7 +2442,8 @@ UpdateCheckData: null
|
|||
UpdateCheckIgnore: null
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckName: null
|
||||
VercodeOperation: '%c + 5'
|
||||
VercodeOperation:
|
||||
- '%c + 5'
|
||||
WebSite: http://www.videolan.org/vlc/download-android.html
|
||||
added: null
|
||||
comments: {}
|
||||
|
|
|
|||
|
|
@ -804,6 +804,7 @@ ArchivePolicy: 9 versions
|
|||
AutoUpdateMode: None
|
||||
UpdateCheckMode: Tags
|
||||
# Only use higher vercode ops, if we do build those arches
|
||||
VercodeOperation: "%c + 5"
|
||||
VercodeOperation:
|
||||
- "%c + 5"
|
||||
CurrentVersion: 1.2.6
|
||||
CurrentVersionCode: 1030005
|
||||
|
|
|
|||
|
|
@ -1447,7 +1447,7 @@ class UpdateTest(unittest.TestCase):
|
|||
'UpdateCheckIgnore': '',
|
||||
'UpdateCheckMode': '',
|
||||
'UpdateCheckName': '',
|
||||
'VercodeOperation': '',
|
||||
'VercodeOperation': None,
|
||||
'WebSite': '',
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue