Commit Graph

243 Commits

Author SHA1 Message Date
Mitchell Hashimoto 27c4d61e67 Upgrade to childprocess 0.2.3 and remove our hacky with_env_changes 2011-11-27 16:11:07 -07:00
Mitchell Hashimoto f4a679ebf7 Require sys-proctable only ~> 0.9.0 for tests 2011-11-22 22:59:16 -08:00
Mitchell Hashimoto 203056a0db Switch posix-spawn to childprocess for better cross-OS support 2011-11-21 21:16:51 -08:00
Mitchell Hashimoto a639b6e521 Add rspec-expectations to dev dependencies 2011-11-13 20:39:51 -08:00
Mitchell Hashimoto 87bc6ec63f RSpec is coming in for acceptance tests. More details follow...
RSpec was chosen to be used for acceptance tests for many reasons:

* The tests are actually much cleaner now. It is clearer to see what
  is being tested, and what is being used for setup.
* Matcher transition will be coming soon. This will really clean up
  a lot of the "assert" boilerplate all over. There was a lot of repetition
  in this area.
* Shared examples will help greatly for testing common error cases
  for many commands.
* The test runner for RSpec is simply much better. Being able to specify
  the exact test to run by line, for example, is a great help.
2011-11-06 23:47:23 -08:00
Mitchell Hashimoto 2c607ca4f4 Wait for VBoxSVC to disappear between tests. 2011-11-06 19:20:14 -08:00
Mitchell Hashimoto 4c9ad26115 Acceptance tests starting code is in. Version is an example. 2011-11-02 21:09:38 -07:00
Mitchell Hashimoto 5d993e76ec Update Gemfile and remove ruby-debug as a dep 2011-08-31 22:28:16 -07:00
Mitchell Hashimoto 7c405477d5 Bump i18n to 0.6.0 2011-08-29 21:12:13 -07:00
Mitchell Hashimoto 0f5870b148 Depend on virtualbox 0.9.1 for minor fixes 2011-07-22 23:28:53 -07:00
Mitchell Hashimoto 530c4f29e0 v0.8.0 2011-07-20 17:52:14 -07:00
Mitchell Hashimoto 5143556065 Standardize on Util::Platform 2011-07-09 16:51:04 -07:00
Mitchell Hashimoto d493a51ca2 v0.8.0.dev 2011-07-03 17:07:59 -07:00
Mitchell Hashimoto 79650d316c Up dependency versions to latest working versions 2011-07-02 22:03:52 -07:00
Mitchell Hashimoto e975956fe1 Update json dep to ~> 1.5.1, which works with Ruby19 on Windows 2011-01-29 20:24:17 -08:00
Mitchell Hashimoto 23b85f6b5f Require virtualbox gem ~> 0.8.3 for discard saved state fix 2011-01-28 17:24:17 -08:00
Mitchell Hashimoto 59fa9ac46b net-ssh 2.1.0. Adds "IdentitiesOnly" support for net-ssh, fixing problems. 2011-01-19 22:00:38 -08:00
Mitchell Hashimoto f913ba68c5 Up virtualbox gem dependency to ~> 0.8.2 2011-01-16 12:41:06 -08:00
Mitchell Hashimoto 547996e506 We don't need net-ssh-shell after all 2011-01-12 16:58:13 -08:00
Mitchell Hashimoto 8482eeff0b net-ssh-shell support for shell-based SSH interactions 2011-01-12 15:21:54 -08:00
Mitchell Hashimoto b26d588f74 Update gemspec to remove "already initialized constant" warning [closes GH-264] 2011-01-08 21:19:50 -08:00
Mitchell Hashimoto 033dacbefc Bump virtualbox dep to 0.8.1 since that contains a critical fix for VirtualBox 4 2011-01-07 01:30:34 -08:00
Mitchell Hashimoto 96b34edbe8 Bump some other dependencies that have been known stable for awhile 2011-01-07 01:27:44 -08:00
Mitchell Hashimoto 035b0c036f Bump i18n dependency to ~> 0.5.0 2011-01-07 01:26:18 -08:00
Mitchell Hashimoto 6a51e424db Remove net-ssh-shell dependency for now, until easier to integrate 2011-01-05 16:57:37 -08:00
Mitchell Hashimoto 670bfaa8ee Add net-ssh-shell to dependencies 2011-01-04 22:26:54 -08:00
Mitchell Hashimoto 8f048fa470 Depend on virtualbox ~> 0.8.0 for VB 4.0 support 2010-12-24 14:19:27 -08:00
Mitchell Hashimoto 2fce72e9b0 Up the virtualbox gem dependency to make sure FFI ~> 0.6.3 is loaded. 2010-11-30 17:07:08 -08:00
Mitchell Hashimoto ed5df8d90d No need to include bundler as a dev dependency 2010-10-09 01:31:05 -07:00
Mitchell Hashimoto 9040a53e27 v0.6.0 2010-09-27 11:03:54 -07:00
Mitchell Hashimoto cb69377b06 Remove Radar until next release. 2010-09-21 10:11:16 -06:00
Mitchell Hashimoto 59c6995b50 Update Thor dependency to ~> 0.14.1 to bring in important/required changes 2010-09-21 01:05:08 -06:00
Mitchell Hashimoto e28947f18d Use I18n gem for string database. Refactor exceptions to use I18n. 2010-08-26 21:56:38 -07:00
Mitchell Hashimoto b21bfbf84a Add thor as a dependency to replace CLI 2010-08-23 21:49:15 -07:00
Mitchell Hashimoto d3f7fe267a Clean up gemspec. Stricter version requirements. Add Radar as a dependency. 2010-08-23 21:22:25 -07:00
Mitchell Hashimoto 0bd01137a1 Update gemspec to be a bit more modern 2010-08-19 22:25:23 -07:00
Mitchell Hashimoto 7bf9c6203d Fix strange formatting from `vagrant init` [closes GH-142] 2010-08-19 22:15:47 -07:00
Mitchell Hashimoto c020f6ac70 Update the summary so its not the same as the description 2010-07-23 18:33:55 -07:00
Mitchell Hashimoto 70b560a96d Goodbye Jeweler. Using gemspecs like they were meant to be used. 2010-07-23 18:28:33 -07:00
Mitchell Hashimoto 940693287d Export returns immediately if an error is there prior to the export [closes GH-117] 2010-07-22 09:00:23 -07:00
Mitchell Hashimoto 4e8b6f32b4 Disable host only networks on halt [closes GH-116] 2010-07-21 21:17:34 -07:00
Mitchell Hashimoto f2242662f8 Don't return when finding disabled shared folder, continue to include others 2010-07-21 15:50:27 -07:00
Mitchell Hashimoto c875e4345a Expand the NFS shared folder path relative to root path during the extraction. 2010-07-20 13:18:00 -07:00
Mitchell Hashimoto 061bdad68a Move ResourceLogger to the Util namespace since thats more of what it is 2010-07-19 21:50:47 -07:00
Mitchell Hashimoto 8e82fb2691 Fix tests so they run on Ruby 1.9.2 2010-07-19 20:32:07 -07:00
Mitchell Hashimoto cb730c3410 If SIGINT is called during a sequence with an import, VM is properly destroyed 2010-07-18 08:39:31 -07:00
Mitchell Hashimoto 8168ca3e86 Package action cleans up in the event of some environmental error 2010-07-18 01:13:50 -07:00
Mitchell Hashimoto f8909dcbfa Fix `sed` calls for linux and add proper options for the UID/GID mapping. 2010-07-17 09:58:30 -07:00
Mitchell Hashimoto 67b23be473 Linux NFS support (host) 2010-07-17 09:35:43 -07:00
Mitchell Hashimoto 302bc348d3 Retry the BSD#nfs? call at least 10 times if a weird TypeError is raised 2010-07-16 22:00:49 -07:00
Mitchell Hashimoto 46c462d322 NFS options to configure mapall UID/GID. Vagrant can also detect this automatically (default) 2010-07-15 23:02:31 -07:00
Mitchell Hashimoto 3c1aac7ff5 CleanMachineFolder middleware to clean empty machine folders [closes GH-98] 2010-07-14 20:58:37 -07:00
Mitchell Hashimoto 4472ce1879 NFS cleanup methods on destroy 2010-07-13 22:40:44 -07:00
Mitchell Hashimoto 18d04e8aa3 Checking for NFS no longer outputs things 2010-07-13 21:41:29 -07:00
Mitchell Hashimoto 549fad0b91 Move output helpers into the actual util class, gets rid of method missing on environment 2010-07-13 21:35:47 -07:00
Mitchell Hashimoto 1bfb99d606 Only verify NFS settings if NFS shared folders exist 2010-07-13 20:25:20 -07:00
Mitchell Hashimoto 5e537f7126 Exports output is in proper format 2010-07-12 22:26:01 -07:00
Mitchell Hashimoto de38af8111 Pass guest IP along to the Host#nfs_export function 2010-07-12 21:43:31 -07:00
Mitchell Hashimoto 6887f08bf7 Get host IP on NFS middleware and call proper system methods 2010-07-11 21:33:49 -07:00
Mitchell Hashimoto 409be1146f Clear forwarded ports middleware 2010-07-09 10:14:26 -07:00
Mitchell Hashimoto 0ebdf88144 ClearSharedFolders middleware 2010-07-08 23:09:42 -07:00
Mitchell Hashimoto f6a53ddff0 Box adding middleware, box add uses it now 2010-07-07 23:16:56 -07:00
Mitchell Hashimoto f45989d1d5 Power off during the package sequence if not already. 2010-07-07 20:58:20 -07:00
Mitchell Hashimoto 072e71df8a Customize uses the proper VM object 2010-07-07 09:15:30 -07:00
Mitchell Hashimoto 3c943834ea Builder can now use other builders or merge other builders 2010-07-06 20:08:36 -07:00
Mitchell Hashimoto 9ac9e49ba1 Fixed some middleware ordering and include util for checking guest additions 2010-07-05 17:51:41 +02:00
Mitchell Hashimoto f205a747c9 CheckGuestAdditions middleware 2010-07-05 03:53:19 +02:00
Mitchell Hashimoto c365a7ffac Environment has defaults for values. Import properly sets VM 2010-07-05 03:17:09 +02:00
Mitchell Hashimoto febfd81b68 Bump to 0.4.3.dev for development 2010-07-02 09:37:15 -07:00
Mitchell Hashimoto e571a4ee3f v0.4.2 2010-07-02 09:36:28 -07:00
Mitchell Hashimoto ae0d9935a7 Detect if any collisions with non-hostonly networks for networking. [closes GH-102] 2010-07-02 08:37:13 -07:00
Mitchell Hashimoto 0896f096e9 Ignore non-hostonly adapters for host only networking [closes GH-101] 2010-07-01 14:26:56 -07:00
Mitchell Hashimoto e4b13ea758 `vagrant package` checks for output file existing [closes GH-100] 2010-06-29 20:57:09 -07:00
Mitchell Hashimoto c643aa1513 Fix issue with VirtualBox.version being nil in forked process 2010-06-24 10:35:32 -07:00
Mitchell Hashimoto 763389ac4e Crontab entry appends to log file instead of creating every time 2010-06-23 00:02:32 -07:00
Mitchell Hashimoto 97f82d7140 Better, more unified logging for unison 2010-06-22 23:33:20 -07:00
Mitchell Hashimoto e8fd57fbbb Fixes to unison. Now tested and working. 2010-06-20 14:14:11 -07:00
Mitchell Hashimoto 854f160c9c Bump version for development 2010-06-17 23:08:58 -07:00
Mitchell Hashimoto e7c6168745 v0.4.1 Fix major issue with forwarded ports in 3.2.x 2010-06-17 22:46:41 -07:00
Mitchell Hashimoto d257703496 SSH gets port from proper place in 3.2.x 2010-06-17 22:31:01 -07:00
Mitchell Hashimoto 3532f6368c Update version for development 2010-06-15 21:30:42 -07:00
Mitchell Hashimoto f4ab30238a v0.4.0 - Release notes at http://vagrantup.com/docs/changes/changes_03x_04x.html 2010-06-10 14:15:20 -07:00
John Bender eec0986bc7 switched directory syncing over to unison 2010-06-05 00:39:25 -07:00
Mitchell Hashimoto 2d68b284d1 Some fixes with defining new interfaces on Ubuntu 2010-06-03 11:29:17 -07:00
Mitchell Hashimoto d16efa1a34 Join a specific host only network if name is specified. 2010-06-03 00:17:04 -07:00
Mitchell Hashimoto 6fc2f4661a 1 second sleep after the halt on `down` to allow VirtualBox to clean itself up 2010-05-30 17:56:20 -07:00
Mitchell Hashimoto ad96f0090a Properly download boxes from HTTPS sources. [closes GH-84] 2010-05-29 10:54:27 -07:00
Mitchell Hashimoto ced200e256 When verifying boxes, catch all exceptions 2010-05-28 23:26:11 -07:00
Mitchell Hashimoto f30cdf3eea New wrapper SSH session class to emit exit status as well. Will be used in the future to raise exceptions for bad exit status. For now, works as a drop-in replacement. 2010-05-28 14:19:35 -07:00
Mitchell Hashimoto 0e4ae3530a `vagrant ssh` now queries for the ssh forwarded port, rather than relying on config 2010-05-27 18:18:25 -07:00
Mitchell Hashimoto 455a44cc5d Add `--no-provision` flag to `vagrant up`. Refactor the way action options work a bit. [closes GH-87] 2010-05-26 20:58:27 -07:00
Mitchell Hashimoto c16df0d26a Simple wording changes 2010-05-25 19:20:47 -07:00
John Bender 74aefa5c3d corrected bit mask for package output on windows 2010-05-22 22:46:42 -07:00
Mitchell Hashimoto 156149824d Remove parallelism for now. Caused too many issues with too little benefit. 2010-05-22 15:43:27 -07:00
Mitchell Hashimoto 3360c37fc7 Parallelize the commands. There are some issues with this but in general it works so far. More polish needs to be done. 2010-05-22 00:33:57 -07:00
Mitchell Hashimoto dd7f471a3b Incremented version to 0.3.5.dev. 2010-05-21 20:52:56 -07:00
Mitchell Hashimoto a5cb80f396 Removed old progress meter module from util 2010-05-20 22:54:48 -07:00
Mitchell Hashimoto 16577208d2 Update gemspec to have the latest logger files 2010-05-20 20:56:50 -07:00
Mitchell Hashimoto 75b1df2f2f Got rid of parent modules for stringhelper/outputhelper. Removed error/wrap_output from util.rb 2010-05-20 16:15:43 -07:00
Mitchell Hashimoto 168a99e666 Updated README (slight typos) 2010-05-20 02:32:04 -07:00
John Bender af07bd0d3b renamed crontab entry template, switched to proper ssh 2010-05-19 00:19:32 -07:00
John Bender 712aa9cc68 corrected gemspec 2010-05-18 23:55:53 -07:00
John Bender ce6d95c131 rsync mostly complete, few tests left 2010-05-18 23:50:04 -07:00
Mitchell Hashimoto 5251d89241 Fix packaging. Broke due to internal changes from multivm. [closes GH-64] 2010-05-18 19:08:26 -07:00
Mitchell Hashimoto fd12018114 `vagrant ssh` works with multi-VM 2010-05-17 01:07:42 -07:00
Mitchell Hashimoto 709c50e7b6 `vagrant status` updated to work with multi-VM. Global status not yet functional. 2010-05-16 17:40:40 -07:00
Mitchell Hashimoto 33bfe75cbd Environment loads blank VMs for non-created VMs. 2010-05-15 01:34:31 -07:00
Mitchell Hashimoto af1b098b9d `vagrant status --global` flag to view global status 2010-05-01 00:24:39 -07:00
Mitchell Hashimoto 1900d1faaa vagrant status now uses strings.yml instead of hardcoding strings into the command 2010-04-30 23:52:16 -07:00
Mitchell Hashimoto 3774bc4f59 Upped VirtualBox version requirement to 0.6.2 (unreleased) to force git version 2010-04-29 00:22:07 -07:00
Mitchell Hashimoto ba7ab66239 Switch back to json gem. 2010-04-28 19:30:13 -07:00
Mitchell Hashimoto fab4ae5dd2 Get rid of the one second sleep on `reload`. A fix was pushed upstream in virtualbox gem which fixes this. 2010-04-26 23:41:42 -07:00
Mitchell Hashimoto 0736f8582d Shared folder action uses new system abstraction 2010-04-25 02:08:59 -07:00
Mitchell Hashimoto f2d838f84a Update version for development 2010-04-24 21:47:08 -07:00
Mitchell Hashimoto 7df1a7dca6 v0.3.2 Windows Ruby 1.9 support 2010-04-24 03:33:12 -07:00
Mitchell Hashimoto 4394882a7b Busy task no longer runs in a separate thread. 2010-04-24 03:26:44 -07:00
Mitchell Hashimoto f249896ce1 Update VirtualBox gem requirement to 0.6.1 2010-04-23 23:56:40 -07:00
Mitchell Hashimoto fa9c0aeeac Update version to 0.3.2.dev 2010-04-23 23:55:56 -07:00
Mitchell Hashimoto e6c148321c v0.3.1 - Small bug fixes, very minor enhancements. 2010-04-21 17:07:39 -07:00
Mitchell Hashimoto 46b113dcdb Trivial change. 2010-04-21 17:04:22 -07:00
Mitchell Hashimoto 3e36b4ce12 Box verification uses the runner rather than the env 2010-04-19 14:21:21 -07:00
Mitchell Hashimoto b454408314 Bump version to 0.3.1.pre for development 2010-04-15 23:56:02 -07:00
Mitchell Hashimoto 19bc45ccc0 v0.3.0 http://vagrantup.com/docs/changes/changes_02x_03x.html 2010-04-15 17:58:59 -07:00
Mitchell Hashimoto afdfbc3a21 Updated dependency on mario to ~> 0.0.6 2010-04-15 17:56:50 -07:00
Mitchell Hashimoto e46b2a7643 Update gemspec 2010-04-15 12:54:39 -07:00
John Bender 4e4d1a6978 error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml 2010-03-25 00:09:31 -07:00
Mitchell Hashimoto 704f9751b1 Replace `json` dependency with `json_pure` for JRuby/IronRuby [closes GH-35] 2010-03-20 02:05:03 -07:00
Mitchell Hashimoto d548b451d9 Updated VirtualBox gem dependency to 0.5.4 2010-03-17 21:54:07 -07:00
Mitchell Hashimoto 73d0486c94 v0.2.0 - Lots of changes. Read http://vagrantup.com/docs/changes/changes_01x_02x.html 2010-03-16 11:55:17 -07:00
Mitchell Hashimoto 54abd72667 Update other references to virtualbox gem to 0.5.3 2010-03-16 00:17:04 -07:00
Mitchell Hashimoto 7421ef8654 Updated VirtualBox dependency to 0.5.3 2010-03-16 00:15:55 -07:00
Mitchell Hashimoto 144e0cd155 Pushed gem 0.2.0.pre. Prerelease gem for testing. 2010-03-15 16:40:23 -07:00
John Bender 00eecf5bdd moved to key based ssh 2010-03-12 01:19:45 -08:00
Mitchell Hashimoto dda15e9859 Updated virtualbox dependency to 0.5.2 2010-03-09 22:44:35 -08:00
Mitchell Hashimoto 47d46d4b12 Now checks for VirtualBox installation and proper version and gives sensible error if not detected. 2010-03-09 21:47:07 -08:00
Mitchell Hashimoto c75903959c v0.1.4 - Compatibility with Ubuntu x86_64 and no more tarruby dependency 2010-03-09 17:44:34 -08:00
Mitchell Hashimoto a34a1fdf52 Pushed new pre version of gem which contains the minitar updates 2010-03-09 11:12:43 -08:00
Ilkka Laukkanen de18f1e4a6 Replace tarruby with archive-tar-minitar.
Tarruby seems to not compile on 64-bit, and even its author says to use
another library. Minitar seems to be more active than libarchive so I
used that.

Tests not fixed yet.
2010-03-09 10:38:02 -08:00
Mitchell Hashimoto db288cf2d5 Bumped gemspec to 0.1.4.pre. 2010-03-09 08:58:21 -08:00
Mitchell Hashimoto c1b03da528 v0.1.3 - Bug fix in vagrant reload. Growing pains! 2010-03-08 21:51:32 -08:00
Mitchell Hashimoto 456fa731ef v0.1.2 - Fixes `vagrant resume` bug, more reliable SSH checking, and fix bug with trying to run vagrant in home directory 2010-03-08 19:33:32 -08:00
Mitchell Hashimoto 93d3b00fa9 v0.1.1 - Typos and License file. (a.k.a. obligatory dot release after minor release) 2010-03-07 16:59:06 -08:00
Mitchell Hashimoto 296f234b50 v0.1.0 - Initial release! 2010-03-07 16:49:14 -08:00