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
korya
a0774b5b5f
Vagrant reports properly error for not found command
2013-07-15 08:52:53 +03:00
Mitchell Hashimoto
5f5203559f
style nitpick
2013-07-12 16:05:56 +09:00
Simon Thulbourn
ea9fde9433
Merge branch 'master' into client-certs
2013-07-02 09:29:39 +01:00
Mitchell Hashimoto
6c99f3dfa7
tweaks for style
2013-06-09 13:51:19 -07:00
Gabor Nagy
a4979c4824
[GH-654] Missing condition and translations
2013-06-03 00:04:25 +02:00
Gabor Nagy
4c00abe69e
Modifies to use util/which [GH-654]
2013-06-02 03:48:47 +02:00
Gabor Nagy
0936267314
Fixes [GH-654] on Windows 8x64 and Ruby 1.9.3p374
...
Replaces the command with absolute path version if it exists.
2013-06-01 14:29:45 +02:00
Simon Thulbourn
c495fb7c5c
adds options for client certs to downloader class
...
Adds :client_cert to the env array and then passes it into the curl
options array
2013-05-21 11:39:43 +01:00
Mitchell Hashimoto
2239036b59
Use Mozilla CA cert bundle for SSL validation
2013-04-16 17:32:30 -07:00
Mitchell Hashimoto
dc31725049
Follow redirects when downloading boxes [GH-1607]
2013-04-16 13:25:32 -07:00
Mitchell Hashimoto
9f49b9298e
vagrant ssh on Cygwin won't output DOS path file warnings
2013-04-07 13:57:24 -07:00
Mitchell Hashimoto
373a1d8633
Properly expand cygwin paths to Windows path for vboxmanage
2013-04-06 22:06:33 -07:00
Mitchell Hashimoto
868f8d4061
Detect PuTTY Link on Windows and show error [GH-1518]
2013-04-06 16:50:59 -07:00
Mitchell Hashimoto
5ca89383f8
Simplify cygwin check everywhere
2013-04-06 16:05:13 -07:00
Mitchell Hashimoto
fb9c311b4d
Always colorize Cygwin output
2013-04-06 16:03:25 -07:00
Mitchell Hashimoto
0f0c0b0396
Add max redirects for download
2013-04-03 12:01:12 -07:00
Mitchell Hashimoto
5e2549fe8b
Add "--insecure" flag for downloader
2013-04-03 11:57:40 -07:00
Mitchell Hashimoto
ab19b506bd
Get rid of unnecessary variable
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
d1eccbf98f
SafeChdir all the things for thread safety
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
bd60d6b283
Lock around chdir in Subprocess for thread safety
2013-04-03 08:31:43 -07:00
Mitchell Hashimoto
87f7cba16b
Fix cURL parsing with invalid blanks
2013-04-03 08:31:41 -07:00
Mitchell Hashimoto
d1e2596ce5
Properly accumulate and parse cURL output for progress
2013-04-03 08:31:41 -07:00
Mitchell Hashimoto
05c6379abb
Setup file protocol if adding a box from a file
2013-04-03 08:31:41 -07:00