2018-01-19 09:12:43 +00:00
|
|
|
need_string(in_site({'autoupdater', 'branch'}))
|
2014-07-05 00:48:56 +00:00
|
|
|
|
2018-01-19 09:12:43 +00:00
|
|
|
need_table({'autoupdater', 'branches'}, function(branch)
|
|
|
|
need_alphanumeric_key(branch)
|
2015-10-11 17:31:44 +00:00
|
|
|
|
2018-01-19 09:12:43 +00:00
|
|
|
need_string(in_site(extend(branch, {'name'})))
|
|
|
|
need_string_array_match(extend(branch, {'mirrors'}), '^http://')
|
|
|
|
need_number(in_site(extend(branch, {'good_signatures'})))
|
|
|
|
need_string_array_match(in_site(extend(branch, {'pubkeys'})), '^%x+$')
|
|
|
|
end)
|