mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
index-v2 'mirrors' fully settable from config
This lets mirrors: in config.yml be the same list-of-dicts format as it is in index-v2. This also includes a data format conversion to maintain the right format for the old, unchanging index v0 and v1 formats. #928 #1107
This commit is contained in:
parent
ceef07d2f2
commit
7c692a4532
5 changed files with 204 additions and 36 deletions
|
@ -3,7 +3,7 @@
|
|||
"version": 20002,
|
||||
"index": {
|
||||
"name": "/index-v2.json",
|
||||
"sha256": "e791cdb7e258f0ad37a1cc6af9a62f9d75253f41348c7841524c888b2daf105c",
|
||||
"sha256": "07fa4500736ae77fcc6434e4d70ab315b8e018aef52c2afca9f2834ddc73747d",
|
||||
"size": 32946,
|
||||
"numPackages": 10
|
||||
},
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
"address": "https://MyFirstFDroidRepo.org/fdroid/repo",
|
||||
"mirrors": [
|
||||
{
|
||||
"url": "https://MyFirstFDroidRepo.org/fdroid/repo",
|
||||
"isPrimary": true
|
||||
"isPrimary": true,
|
||||
"url": "https://MyFirstFDroidRepo.org/fdroid/repo"
|
||||
},
|
||||
{
|
||||
"url": "http://foobarfoobarfoobar.onion/fdroid/repo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue