mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Add repo types to metadata checks
This commit is contained in:
parent
42705fc2d2
commit
67cc527bcb
1 changed files with 11 additions and 6 deletions
|
|
@ -92,9 +92,9 @@ valuetypes = {
|
||||||
[ "Bitcoin" ],
|
[ "Bitcoin" ],
|
||||||
[ ]),
|
[ ]),
|
||||||
|
|
||||||
'archive' : FieldType("Archive Policy",
|
'Bool' : FieldType("Boolean",
|
||||||
r'^[0-9]+ versions$', None,
|
['Yes', 'No'], None,
|
||||||
[ "Archive Policy" ],
|
[ "Requires Root" ],
|
||||||
[ ]),
|
[ ]),
|
||||||
|
|
||||||
'bool' : FieldType("Boolean",
|
'bool' : FieldType("Boolean",
|
||||||
|
|
@ -103,9 +103,14 @@ valuetypes = {
|
||||||
[ 'submodules', 'oldsdkloc', 'forceversion', 'forcevercode',
|
[ 'submodules', 'oldsdkloc', 'forceversion', 'forcevercode',
|
||||||
'fixtrans', 'fixapos', 'novcheck' ]),
|
'fixtrans', 'fixapos', 'novcheck' ]),
|
||||||
|
|
||||||
'Bool' : FieldType("Boolean",
|
'Repo Type' : FieldType("Repo Type",
|
||||||
['Yes', 'No'], None,
|
[ 'git', 'git-svn', 'svn', 'hg', 'bzr', 'srclib' ], None,
|
||||||
[ "Requires Root" ],
|
[ "Repo Type" ],
|
||||||
|
[ ]),
|
||||||
|
|
||||||
|
'archive' : FieldType("Archive Policy",
|
||||||
|
r'^[0-9]+ versions$', None,
|
||||||
|
[ "Archive Policy" ],
|
||||||
[ ]),
|
[ ]),
|
||||||
|
|
||||||
'antifeatures' : FieldType("Anti-Feature",
|
'antifeatures' : FieldType("Anti-Feature",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue