support/download: Add support to pass options directly to downloaders
authorRomain Perier <romain.perier@free-electrons.com>
Tue, 23 Aug 2016 12:19:44 +0000 (14:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Aug 2016 12:59:01 +0000 (14:59 +0200)
commitff559846fdc11f718ef6ed49c25117fab90b8019
tree5e1e019d12268862ed941737025f7a0880356c52
parent721e1c1e9ca13f37e3d6aafb0a570fd6fb67fbea
support/download: Add support to pass options directly to downloaders

This adds support to pass options to the underlying command that is used
by downloader. Useful for retrieving data with server-side checking for
user login or passwords, use a proxy or use specific options for cloning
a repository via git and hg.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/download/bzr
support/download/cp
support/download/cvs
support/download/git
support/download/hg
support/download/scp
support/download/svn
support/download/wget