200 Commits

Author SHA1 Message Date
Mitchell Hashimoto
0e3b3d654d Depend on ChildProcess 0.5.0, fix bugs 2014-02-18 11:15:19 -08:00
Mitchell Hashimoto
d2d96a0726 core: keep process group for SSH childprocess 2014-02-13 16:45:45 -08:00
Mitchell Hashimoto
5fb64dfca2 core: use Process#wait since childprocess bug is fixed 2014-02-13 07:40:33 -08:00
Mitchell Hashimoto
8bfb4bda2b core: make sure any Subprocess exits no matter what 2014-02-12 21:35:54 -08:00
Mitchell Hashimoto
42fa0a6540 core: poll for process exit on SSH#exec with subprocess 2014-02-12 21:31:05 -08:00
Mitchell Hashimoto
d4c753c48d core: download metadata with JSON accept header 2014-02-07 10:30:25 -08:00
Mitchell Hashimoto
b71cde6b99 core: make box add UI much icer 2014-02-05 21:19:44 -08:00
Mitchell Hashimoto
05eeefbe36 core: Fix Downloader tests 2014-02-05 21:19:34 -08:00
Mitchell Hashimoto
09e8666296 core: BoxAdd now works with HTTP URLs 2014-02-05 21:19:31 -08:00
Mitchell Hashimoto
2a08302145 core: BoxAdd can add old boxes (happy path) 2014-02-05 21:19:26 -08:00
Mitchell Hashimoto
961d3607b9 core: add newline to end of download if windows 2014-02-05 21:19:24 -08:00
Felix C. Stegerman
5c3555b56b Clean up temp dir used by fs_case_sensitive? 2014-01-25 04:57:52 +01:00
Mitchell Hashimoto
f3d102e069 core: colorize VM output for each VM in a command 2014-01-17 21:02:58 -08:00
Mitchell Hashimoto
a0f2ca5e8b core: clarify some logic for colors 2014-01-17 10:29:20 -08:00
Mitchell Hashimoto
5bc96ad4bf core: For dev, temporarily use branch of Childprocess, fix Win issue 2014-01-17 09:39:51 -08:00
Mitchell Hashimoto
2f4944903e core: cleaner method of mirroring stdin for Windows 2014-01-16 22:53:13 -08:00
Mitchell Hashimoto
a6be44125d core: Seperate out IO util helper 2014-01-16 22:46:25 -08:00
Mitchell Hashimoto
77c309e91f core: copy STDIN for SSHRun with Subprocess on Windows
The comments explain
2014-01-16 22:31:35 -08:00
Mitchell Hashimoto
5bddd6c366 core: dont' load rc or profile when getting a cygpath with bash 2014-01-15 21:15:17 -08:00
Mitchell Hashimoto
73b72deb0a synced_folders/rsync: convert path to cygpath on Windows 2014-01-15 21:13:08 -08:00
Mitchell Hashimoto
35a19f829c provider/virtualbox: fix NFS tests on Windows 2014-01-15 11:48:07 -08:00
Mitchell Hashimoto
e2ec46bb4d core: environment tests passing on Windows 2014-01-15 11:40:53 -08:00
Mitchell Hashimoto
4fab57576b synced_folders/rsync: run hostpath through fs_real_path
This fixes issues with drive letter casing on Windows
2014-01-15 11:30:32 -08:00
Mitchell Hashimoto
7f78f18218 core: handle EOFError when checking checksum [GH-2716] 2013-12-28 13:45:36 -07:00
Mitchell Hashimoto
72398faeaf core: put shell quoting into its own util class, it is useful 2013-12-13 21:17:15 -08:00
Olle Lundberg
0c853ccb3c Update is_port_open.rb 2013-12-10 21:23:11 +01:00
Mitchell Hashimoto
1094ac976e core: support checksum on box add 2013-12-01 23:03:20 -08:00
Mitchell Hashimoto
cd3e19306c commands/box/add: custom CA cert [GH-2337] 2013-11-26 19:32:56 -08:00
Mitchell Hashimoto
13b52f6b6e Merge branch 'client-certs' of https://github.com/sthulb/vagrant into sthulb-client-certs
Conflicts:
	config/default.rb
	lib/vagrant/action/builtin/handle_box_url.rb
	plugins/commands/box/command/add.rb
2013-11-25 16:50:11 -08:00
Mitchell Hashimoto
45e09eb677 core: allow multiple private keys [GH-907] 2013-11-25 15:45:39 -08:00
Mitchell Hashimoto
f0f8b4e3ee core: use OpenSSH for ssh exec 2013-11-23 17:21:38 -08:00
Mitchell Hashimoto
bc9d048066 core: enable SSH compression for vagrant ssh 2013-11-23 16:50:39 -08:00
Mitchell Hashimoto
5d9c002bdd core: don't make all downloads continuable 2013-11-23 15:47:42 -08:00
Mitchell Hashimoto
034c151720 Merge branch 'resumable-download' of https://github.com/rconradharris/vagrant into rconradharris-resumable-download
Conflicts:
	CHANGELOG.md
2013-11-23 15:42:48 -08:00
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
AJCStriker
a567e658c8 Add invalid character replacement
This fixes the bug seen here:
http://pastebin.com/QzWQQndK

Which would generate an Argument Error causing "vagrant up" and other such commands to fail.
2013-11-20 01:44:49 +00:00
Mitchell Hashimoto
eb6256316c core: improved commenting in bin/vagrant 2013-10-23 23:20:27 -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
5b2a28cd4c core: set the DYLD_LIBRARY_PATH before other env vars 2013-09-18 09:42:18 -07:00
Mitchell Hashimoto
7c3b342add core: restore the old DYLD_LIBRARY_PATH specifically 2013-09-18 09:41:57 -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
4c35f6d071 core: exec with the proxy command if specified 2013-09-04 17:23:43 -07:00
Brian Porter
accff3689b Comment typo fixes
Only comment changes.

Removed stray apostrophe from Util::Downloader.initialize() doc block. Corrected open => options for .download! description.
2013-09-04 14:37:17 -05:00
Mitchell Hashimoto
ff36a46178 Set user agent to Vagrant + version
/cc @fgrehm
2013-07-28 20:51:35 -07:00
Fabio Rehm
c7aed1a6a1 Provide a custom user agent header to cURL request so that URL shorteners are able to track the amount of downloads 2013-07-28 20:23:27 -03:00
Mitchell Hashimoto
4bf6dc5743 Method for getting the case-correct path of a path [GH-1202] 2013-07-17 10:48:39 -07:00
Mitchell Hashimoto
792ac4556d Code for testing case sensitivity of filesystem [GH-1202] 2013-07-17 10:36:57 -07:00
Mitchell Hashimoto
986eda4a4f Add DSAAuthentication=yes flag to SSH [GH-1900] 2013-07-16 16:46:00 -07:00
Mitchell Hashimoto
7adffcb880 CHANGELOG 2013-07-16 16:34:53 -07:00