Merge pull request #50 from ehlers/compression

Add compression of direct download url
This commit is contained in:
Julien Duponchelle 2015-11-30 08:00:39 +01:00
commit a1407e5e25
2 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,8 @@
"md5sum": "c8f2635f1cc637b20bbf2fccefb77a1a",
"filesize": 55050240,
"download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/",
"direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz"
"direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz",
"compression": "gzip"
}
],

View File

@ -179,6 +179,10 @@
"direct_download_url": {
"type": "string",
"title": "Optional. Non authenticated url to the image file where you can download the image."
},
"compression": {
"enum": ["bzip2", "gzip", "lzma", "xz", "rar", "zip"],
"title": "Optional, compression type of direct download url image."
}
},
"additionalProperties": false,