summaryrefslogtreecommitdiff
path: root/mirrors/fixtures
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-13 12:34:35 -0600
committerDan McGee <dan@archlinux.org>2012-02-13 12:36:37 -0600
commit3a1101db1d18be2f95342ad8943722eb94ae577e (patch)
tree7399633feb3a406328060833cb6452c7cd67c1b7 /mirrors/fixtures
parentfa6f85f127f5f100f98c0ce130cea2277cd02a0e (diff)
Don't select FTP by default in mirrorlists
More generally, add a new 'default' column to the mirror protocol model so we can determine what is selected and shown by default. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/fixtures')
-rw-r--r--mirrors/fixtures/mirrorprotocols.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/mirrors/fixtures/mirrorprotocols.json b/mirrors/fixtures/mirrorprotocols.json
index 35614b3a..72ed1a7f 100644
--- a/mirrors/fixtures/mirrorprotocols.json
+++ b/mirrors/fixtures/mirrorprotocols.json
@@ -4,6 +4,7 @@
"model": "mirrors.mirrorprotocol",
"fields": {
"is_download": true,
+ "default": true,
"protocol": "http"
}
},
@@ -12,6 +13,7 @@
"model": "mirrors.mirrorprotocol",
"fields": {
"is_download": true,
+ "default": false,
"protocol": "ftp"
}
},
@@ -20,7 +22,8 @@
"model": "mirrors.mirrorprotocol",
"fields": {
"is_download": false,
+ "default": false,
"protocol": "rsync"
}
}
-] \ No newline at end of file
+]