[GRASS-dev] [GRASS-SVN] r56452 - grass/trunk/scripts/g.extension
Blumentrath, Stefan
Stefan.Blumentrath at nina.no
Tue May 28 05:49:32 PDT 2013
What about using two option:
proxy_url
proxy_type (ftp/http/https)
this would be one option less...
Cheers
Stefan
-----Original Message-----
From: grass-dev-bounces at lists.osgeo.org [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Martin Landa
Sent: 28. mai 2013 14:29
To: Pietro Zambelli
Cc: GRASS developers list
Subject: Re: [GRASS-dev] [GRASS-SVN] r56452 - grass/trunk/scripts/g.extension
Hi,
2013/5/28 <svn_grass at osgeo.org>:
> Author: zarch
> Date: 2013-05-28 05:07:34 -0700 (Tue, 28 May 2013) New Revision: 56452
>
> Modified:
> grass/trunk/scripts/g.extension/g.extension.py
> Log:
> Add proxy support.
> @@ -55,6 +55,27 @@
> #% answer: $GRASS_ADDON_BASE
> #% required: no
> #%end
> +#%option
> +#% key: http_proxy
> +#% type: string
> +#% key_desc: http proxy
> +#% description: Set the http proxy
> +#% required: no
> +#%end
> +#%option
> +#% key: https_proxy
> +#% type: string
> +#% key_desc: https proxy
> +#% description: Set the https proxy
> +#% required: no
> +#%end
> +#%option
> +#% key: ftp_proxy
> +#% type: string
> +#% key_desc: ftp proxy
> +#% description: Set the ftp proxy
> +#% required: no
> +#%end
any idea how to minimize number of newly added parameters?
Thanks, Martin
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
More information about the grass-dev
mailing list