kpcyrd
49b90a0754
dist_get: handle 404 correctly
...
This prevents a 404 page getting piped into tar.
It's also adding the openbsd http(s) client `ftp`.
License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
2017-04-27 00:28:44 +02:00
Jakub Sztandera
dd007b236f
misc: fix dist_get failing without failing
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-23 17:57:54 +01:00
mateon1
4ae80d6933
Use quotes to fix some shellcheck warnings
...
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2017-02-16 14:03:40 +01:00
mateon1
6b07815899
Refactor download, add httpie support
...
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2017-02-15 22:52:20 +01:00
mateon1
f21499f449
Make dist_get fallback to other downloaders if one fails
...
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2017-02-15 21:54:54 +01:00
Vasil Dimov
c2dca4bcea
Explicitly specify the input file to tar with "-f -"
...
On FreeBSD the default one (if no -f is specified) is /dev/sa0,
not stdin.
License: MIT
Signed-off-by: Vasil Dimov <vd@FreeBSD.org>
2016-09-26 22:24:08 +03:00
Jakub Sztandera
e26ce572a0
bin: dist_get script: prevents get_go_vars() returns same values twice
...
License: MIT
Signed-off-by: Ariel Machado <sparciie@yahoo.com>
2016-08-12 21:03:08 +02:00
Vasily Kolobkov
9f14624026
Build on OpenBSD
...
License: MIT
Signed-off-by: Vasily Kolobkov <polezaivsani@openmailbox.org>
2016-07-12 13:11:57 +02:00
Lars Gierth
864e305557
build: specify a dist.ipfs.io hash
...
Right now bin/dist_get trusts whatever DNS resolver is active.
This change enables it to verify what it downloads.
Verification itself remains TODO.
This will work best with a unixfs-hash tool which is TODO too.
It'd just do the equivalent of `ipfs add -n -r <dirOrFile>`.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-17 02:33:35 +02:00
Jeromy
5f624efe73
fix up dist_get script
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
3c7fad8af1
address some CR feedback
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
4a0882701a
update dist_get script to be more cross platform
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
cd11a487cc
debugging travisCI
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
284bb1866f
add a dist_get script for getting bins from dist.ipfs.io
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00