1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Add repo types to metadata checks

This commit is contained in:
Daniel Martí 2013-11-22 00:06:53 +01:00
parent 42705fc2d2
commit 67cc527bcb

View File

@ -92,9 +92,9 @@ valuetypes = {
[ "Bitcoin" ],
[ ]),
'archive' : FieldType("Archive Policy",
r'^[0-9]+ versions$', None,
[ "Archive Policy" ],
'Bool' : FieldType("Boolean",
['Yes', 'No'], None,
[ "Requires Root" ],
[ ]),
'bool' : FieldType("Boolean",
@ -103,9 +103,14 @@ valuetypes = {
[ 'submodules', 'oldsdkloc', 'forceversion', 'forcevercode',
'fixtrans', 'fixapos', 'novcheck' ]),
'Bool' : FieldType("Boolean",
['Yes', 'No'], None,
[ "Requires Root" ],
'Repo Type' : FieldType("Repo Type",
[ 'git', 'git-svn', 'svn', 'hg', 'bzr', 'srclib' ], None,
[ "Repo Type" ],
[ ]),
'archive' : FieldType("Archive Policy",
r'^[0-9]+ versions$', None,
[ "Archive Policy" ],
[ ]),
'antifeatures' : FieldType("Anti-Feature",