Matthew Hooker
|
79287d7e47
|
simplify some code
|
2017-03-28 20:36:20 -07:00 |
Matthew Hooker
|
d920b3fbf4
|
run gofmt
|
2016-11-01 14:08:04 -07:00 |
Vasiliy Tolstov
|
4392f6df1c
|
common/download.go: allow to specify relative path for file scheme
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
|
2016-07-06 13:03:39 +03:00 |
Chris Bednarski
|
1764238c0b
|
Added [DEBUG] prefix to log messages
|
2015-08-19 13:15:23 -07:00 |
Chris Bednarski
|
6e8c6a15ad
|
Implement fix, add comments so it's more apparent why we're doing special logic
|
2015-08-14 17:49:08 -07:00 |
Chris Bednarski
|
424ee65866
|
Added a log message when we use a local file instead of downloading one
|
2015-08-14 17:34:39 -07:00 |
Mitchell Hashimoto
|
0416939c08
|
common: always reset progress to 0 for downloads
|
2015-06-22 14:59:38 -07:00 |
Mitchell Hashimoto
|
117579808f
|
common: add the current progress to the total size
|
2015-06-22 14:58:27 -07:00 |
Mitchell Hashimoto
|
944b4bf46c
|
common: delete file if checksum fails
|
2015-06-22 12:17:29 -07:00 |
Mitchell Hashimoto
|
2f530534d2
|
common/download: resume test
|
2015-06-22 12:14:35 -07:00 |
Mitchell Hashimoto
|
aa7d3b7841
|
Merge pull request #2245 from vtolstov/iso
resume download after fail
|
2015-06-22 12:03:47 -07:00 |
Mitchell Hashimoto
|
897888fde3
|
common: fix potential panic case
|
2015-06-21 19:58:18 -07:00 |
Vasiliy Tolstov
|
d98de209cb
|
fallback to not ranged request if server lacks HEAD
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
|
2015-06-16 01:04:48 +03:00 |
Vasiliy Tolstov
|
382fa01e6f
|
resume download after fail
close #2106
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
|
2015-06-15 09:53:16 +03:00 |
Mark Rushakoff
|
9e5c0f6c6a
|
HTTPDownloader uses UserAgent from DownloadConfig
|
2014-01-09 08:41:34 -08:00 |
Mitchell Hashimoto
|
24db112b79
|
common: downloads can be HTTPS [GH-587]
|
2013-11-02 22:10:48 -05:00 |
Mitchell Hashimoto
|
01e998a81c
|
common: support SHA512 as checksum type [Gh-356]
|
2013-08-28 09:09:43 -07:00 |
Mitchell Hashimoto
|
8bbed8656a
|
common: use HTTP proxy if available from env [GH-252]
|
2013-08-18 12:34:36 -06:00 |
Mitchell Hashimoto
|
71664cb34e
|
common: return -1 download percent if download hasn't started [GH-288]
|
2013-08-14 11:15:47 -04:00 |
Mitchell Hashimoto
|
e2c667101c
|
common: style
|
2013-08-03 13:34:48 -07:00 |
Jason A. Beranek
|
3fa5fa396a
|
common/config,download: gofmt fixes
|
2013-08-02 16:06:06 -05:00 |
Jason A. Beranek
|
760f102c91
|
common/config,download: fix URL and relative Windows local file path issues [GH-235] [GH-239]
|
2013-08-02 15:59:19 -05:00 |
Mitchell Hashimoto
|
5b7d8fbc74
|
rename builder/common to common since it is generally useful
|
2013-08-01 12:11:54 -07:00 |