Commit Graph

197 Commits

Author SHA1 Message Date
Mitchell Hashimoto 4c7059eaf6 Remove virtualbox dep 2011-12-21 14:36:51 -08:00
Mitchell Hashimoto 9debf5abe9 Attach a driver to each VM. Use that to detect VirtualBox. 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto 27491b554c Remove thor from requirements. Start revamping Vagrant::CLI 2011-12-16 23:34:30 -08:00
Mitchell Hashimoto 0a47c9d6fa Make log4r a first class dependency as we start to switch to it 2011-12-01 21:56:56 -08:00
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