mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +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" ],
|
||||
[ ]),
|
||||
|
||||
'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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue