diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-13 19:34:35 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-13 19:36:37 +0100 |
commit | 3a1101db1d18be2f95342ad8943722eb94ae577e (patch) | |
tree | 7399633feb3a406328060833cb6452c7cd67c1b7 /mirrors/fixtures | |
parent | fa6f85f127f5f100f98c0ce130cea2277cd02a0e (diff) | |
download | archweb-3a1101db1d18be2f95342ad8943722eb94ae577e.tar.gz archweb-3a1101db1d18be2f95342ad8943722eb94ae577e.tar.xz |
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.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mirrors/fixtures/mirrorprotocols.json b/mirrors/fixtures/mirrorprotocols.json index 35614b3..72ed1a7 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 +] |