Commit Graph

822 Commits

Author SHA1 Message Date
Rick Harris 87a47abee8 Add resumable downloads
Since VM images can be fairly large and connections rather flaky, it would be
nice to support resumable downloads whereby, if a download is interrupted for
some reason, on the next attempt, it picks up where it left off.

To implement this, the following changes were made:

* The temporary download filename is now constructed from a SHA1 of the
  `box_url` instead of a timestamp. This allows separate invocations of
  Vagrant to 'share' the download-path if the URLs exactly match.

* Add `--continue-at -` option to `curl` which tells it to automatically resume
  downloading where it left off

* Modify the `recover` method in `box_add` to not remove the temporary
  download path if the download was interrupted

Known Issue:

* The progress on a resumed download will look a bit wonky in the sense that,
  it starts at 0% each time, instead of where it left off. Since Vagrant is
  pulling this directly from `curl`, this is more of an upstream issue.

Fixes #57
2013-11-20 15:15:38 -06:00
Fabio Rehm a92e03cf4c Update CHANGELOG.md 2013-10-28 21:57:27 -02:00
Mitchell Hashimoto 3002f8d522 Update CHANGELOG 2013-10-23 23:16:01 -07:00
Mitchell Hashimoto 17101d0c67 Update CHANGELOG 2013-10-23 23:13:36 -07:00
Mitchell Hashimoto e24b7249ed Update CHANGELOG 2013-10-23 23:08:16 -07:00
Mitchell Hashimoto 9094a6b2b1 Update cHANGELOG 2013-10-21 10:44:26 -07:00
Mitchell Hashimoto cae8cd4f9f Update CHANGELOG 2013-10-17 08:30:01 -10:00
Mitchell Hashimoto e2e114f0b0 Update CHANGELOG 2013-10-17 08:28:15 -10:00
Mitchell Hashimoto 57e95323b6 up version for dev 2013-10-15 12:58:22 -10:00
Mitchell Hashimoto a40522f5fa v1.3.5 2013-10-15 11:55:44 -10:00
Mitchell Hashimoto fe31ac7556 Update CHANGELOG 2013-10-15 11:42:28 -10:00
Mitchell Hashimoto dd7ee15d6f Update CHANGELOG 2013-10-14 17:22:15 -10:00
Mitchell Hashimoto 2be01284ea provisioners/chef: fix exception during node cleanup [GH-2345] 2013-10-14 17:12:49 -10:00
Mitchell Hashimoto 7f6cdfca77 Update CHANGELOG 2013-10-14 17:10:02 -10:00
Mitchell Hashimoto 2f5c9e97a7 Update CHANGELOG 2013-10-14 17:09:34 -10:00
Mitchell Hashimoto b56b065df0 Update CHANGELOG 2013-10-14 17:00:32 -10:00
Mitchell Hashimoto 0db87ff406 Update CHANGELOG.md 2013-10-05 11:46:23 -07:00
Mitchell Hashimoto ccf92b4d5d Update CHANGELOG.md 2013-10-05 11:44:21 -07:00
Mitchell Hashimoto b070192b9a Update CHANGELOG 2013-10-05 09:27:34 -07:00
Mitchell Hashimoto 225da651f8 core: Show error message if _key dynamically passed into error [GH-2328] 2013-10-05 09:21:38 -07:00
Mitchell Hashimoto bf70fba936 Up version for dev 2013-10-02 11:17:27 -07:00
Mitchell Hashimoto 0ac2a87388 v1.3.4 2013-10-02 08:42:06 -07:00
Mitchell Hashimoto 557172b4be core: defined action hook names can be strings, convert to symbols 2013-10-01 21:56:43 -07:00
Mitchell Hashimoto a346976abb Update CHANGELOG 2013-10-01 14:27:06 -07:00
Mitchell Hashimoto 9fcc89bcf1 provisioners/chef: use real variable in delete from chef sever [GH-2300] 2013-10-01 14:13:16 -07:00
Mitchell Hashimoto 91605db1c1 Update CHANGELOG 2013-10-01 11:48:58 -07:00
Mitchell Hashimoto 457423d132 Update CHANGELOG 2013-10-01 11:27:56 -07:00
Mitchell Hashimoto 333ba70ed6 Update CHANGELOG 2013-09-25 19:37:04 +02:00
Mitchell Hashimoto e77ca40efa Update CHANGELOG 2013-09-25 10:49:07 +02:00
Mitchell Hashimoto 33dd881ad7 provisioners/chef: disable color if Vagrant has no color [GH-2246] 2013-09-22 14:15:55 -05:00
Mitchell Hashimoto 502c3f6e37 Update CHANGELOG 2013-09-22 14:13:08 -05:00
Mitchell Hashimoto 36bd52713b provisioners/ansible: convert extra vars to strings [GH-2244] 2013-09-20 21:16:50 -07:00
Mitchell Hashimoto d725e0e657 Update CHANGELOG 2013-09-20 21:13:05 -07:00
Mitchell Hashimoto 62e357ffcd guests/linux: only successful mount if exit status 0 2013-09-20 17:50:29 -07:00
Mitchell Hashimoto 138024d74c core: Unset DYLD_LIBRARY_PATH if setuid/setgid [GH-2243] 2013-09-20 17:43:11 -07:00
Mitchell Hashimoto 47120a86a2 core: modify DYLD_LIBRARY_PATH only if executing in installer [GH-2231] 2013-09-20 17:38:49 -07:00
Mitchell Hashimoto 8c4ea4f47b Update CHANGELOG 2013-09-20 17:24:59 -07:00
Mitchell Hashimoto 33a36830fe core: don't output \e[0K on Windows [GH-2246] 2013-09-20 17:20:29 -07:00
Mitchell Hashimoto 513c7e68a1 Update CHANGELOG 2013-09-19 11:09:56 -07:00
Mitchell Hashimoto 590566095a Up version for dev 2013-09-18 14:09:49 -07:00
Mitchell Hashimoto db8e7a9c79 v1.3.3 2013-09-18 13:45:41 -07:00
Mitchell Hashimoto f9e4ea9ce8 communicators/ssh: timeout waiting for connection + header [GH-2226] 2013-09-18 09:32:30 -07:00
Mitchell Hashimoto 91ff1ec8ae Revert "core: don't delete state data if id=nil [GH-2201]"
This reverts commit 1a780bf5b2.

Conflicts:
	CHANGELOG.md
2013-09-18 09:20:37 -07:00
Mitchell Hashimoto 06bf3c6fdc core: Remove DYLD_LIBRARY_PATH if command not in installer [GH-2219] 2013-09-17 18:53:35 -07:00
Mitchell Hashimoto e721960392 Up version for dev 2013-09-17 16:15:57 -07:00
Mitchell Hashimoto 9a394588a6 v1.3.2 2013-09-17 15:36:36 -07:00
Mitchell Hashimoto cac28c82de core: Vagrantfile must be file [GH-2216] 2013-09-17 12:42:57 -07:00
Mitchell Hashimoto ee9fc00a04 provisioners/ansible: default output level is verbose [GH-2194] 2013-09-16 21:02:22 -07:00
Mitchell Hashimoto 1a780bf5b2 core: don't delete state data if id=nil [GH-2201] 2013-09-16 20:56:14 -07:00
Mitchell Hashimoto b9801f44a0 guests/linux: try `id -g` to determine group as well [GH-2197] 2013-09-16 20:51:09 -07:00