Re: [ptxdist] [RFC] ptxd_make_get_http: Specify the username and password

2017-01-08 Thread Ladislav Michl
On Sun, Jan 08, 2017 at 01:10:14AM +0100, Roland Hieber wrote: > Hm, curl loads URLs in the form http://user:password@server/path just > fine for me (and ptxd_make_get() doesn't seem to strip that part, so I > guess it should also be usable in the Makefiles). The only disadvantage > in that case is

Re: [ptxdist] [RFC] ptxd_make_get_http: Specify the username and password

2017-01-07 Thread Roland Hieber
Hm, curl loads URLs in the form http://user:password@server/path just fine for me (and ptxd_make_get() doesn't seem to strip that part, so I guess it should also be usable in the Makefiles). The only disadvantage in that case is that the username cannot contain a colon, but neither can it in your i

[ptxdist] [RFC] ptxd_make_get_http: Specify the username and password

2017-01-07 Thread Ladislav Michl
Hi there, I need to pass username and password to download mercurial snapshot from server, so something like this now works: package_URL := https://mercurial.site.com/hg/package/archive/$(package_VERSION).$(package_SUFFIX);user=: Is it acceptable to support it in upstream PTXdist? (it could be p