Commit Graph

131 Commits

Author SHA1 Message Date
Mitchell Hashimoto de73b65635 Very early SIGINTs no longer cause ugly stack traces.
We catch INT very very early in the Vagrant process in order to exit
cleanly rather than raising any exceptions. This is eventually overriden
by Vagrant at some point.
2012-08-10 00:30:58 -07:00
Sean Coates d6249f671d folder is ~/.vagrant.d not ~/vagrant.d 2012-07-26 10:57:20 -04:00
Mitchell Hashimoto 141dccd4e7 Modify warning message to be more clear [GH-1027] 2012-07-16 09:49:04 -07:00
Mitchell Hashimoto c634cbedcc Handle interrupts more gracefully on the warning message 2012-07-11 18:47:41 -07:00
Mitchell Hashimoto 933b0b3101 Clarify that the warning will be removed when official version is
released
2012-07-11 18:34:36 -07:00
Mitchell Hashimoto e92fbb4d33 Add backwards incompatibility warning. 2012-07-11 18:28:08 -07:00
Mitchell Hashimoto 3338b6c134 Support arbitrary exit statuses for CLI commands that aren't exploding 2012-03-23 11:07:35 -04:00
Mitchell Hashimoto 97235ee080 Clean up some impl [GH-666] 2012-01-20 11:25:39 -08:00
Jarmo Pertman b9046a5594 enable colors on Windows when using ANSICON 2012-01-20 11:21:16 -08:00
Mitchell Hashimoto 8a0e81276e Don't output color on Windows, since the default terminal doens't support it 2012-01-05 23:03:20 -08:00
Mitchell Hashimoto 1dd41cfef4 Delete "--no-color" from arguments if it is given 2011-12-18 14:00:27 -08:00
Mitchell Hashimoto 27491b554c Remove thor from requirements. Start revamping Vagrant::CLI 2011-12-16 23:34:30 -08:00
Mitchell Hashimoto d9e2c8b788 Raise a nice error if home directory is not accessible 2011-12-10 17:14:07 -08:00
Mitchell Hashimoto 5cf0c527a3 Do not buffer stdout/stderr 2011-12-10 13:44:34 -08:00
Mitchell Hashimoto fe65dd0dd5 Remove VAGRANT_DEBUG.
VAGRANT_LOG handles it all now.
2011-12-03 17:16:49 -08:00
Mitchell Hashimoto e38e3cc652 Move VAGRANT_LOG logic into vagrant.rb so VAGRANT_LOG is always available 2011-12-03 17:12:07 -08:00
Mitchell Hashimoto 271d1a92f0 Allow enabling of logging with VAGRANT_LOG 2011-12-03 16:11:31 -08:00
Mitchell Hashimoto 1355487a04 Environment UI class can now be set through the environment init 2011-12-03 16:07:34 -08:00
Mitchell Hashimoto 52f3f8aa67 Get rid of `env.logger` in bin/vagrant 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto af56c274c0 Add the "Basic" UI for non-colored messages 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto f519434285 Rip out Thor::Shell 2011-12-01 21:56:55 -08:00
Mitchell Hashimoto d753b750e9 Do not output color if stdout is not a TTY 2011-11-02 21:59:35 -07:00
Mitchell Hashimoto ad36340674 Specify program names for previous logging locations 2011-07-10 16:50:26 -07:00
Mitchell Hashimoto 907c3b318a Logging of `vagrant`, action running, and warden 2011-07-10 16:48:00 -07:00
Mitchell Hashimoto e8dce40992 Added --no-color option 2011-06-09 23:46:23 -04:00
Mitchell Hashimoto b909adde1c Since I18n isn't automatic for UI class, get rid of _ prefix on options 2010-09-21 18:14:18 -06:00
Mitchell Hashimoto d003cc4f32 UI methods no longer automatically translate. Makes it easier for plugin developers. 2010-09-21 18:12:24 -06:00
Mitchell Hashimoto f0294039e1 Load config files (only) early so plugins are loaded from Vagrantfiles 2010-09-21 01:47:50 -06:00
Mitchell Hashimoto ce9ff73ea4 Show proper syntax error for Vagrantfiles [closes GH-155] 2010-09-04 14:33:53 -07:00
Mitchell Hashimoto 53aaa4f264 Environment is lazy loaded for `vagrant` binary. 2010-09-04 11:10:20 -07:00
Mitchell Hashimoto 260f1dcec4 Refined some tests to use real Vagrantfiles instead of mocks 2010-09-03 19:25:48 -07:00
Mitchell Hashimoto f85579a4de Give a nice error message if there is a syntax error in Vagrantfile [closes GH-154] 2010-09-03 14:23:47 -07:00
Mitchell Hashimoto 60c20565b2 Replace straight abort on interrupt with clean exit via exception 2010-09-01 14:50:15 -07:00
Mitchell Hashimoto ccc45ebd7a Begin moving from error_and_exit to exceptions. Fail hard! 2010-08-28 12:23:40 -07:00
Mitchell Hashimoto 7ddff513f0 Shell UI tests. Added option to not translate. Updated non-translated strings. 2010-08-27 23:27:35 -07:00
Mitchell Hashimoto 1d29ba31fa I18nified all the VM actions 2010-08-27 19:46:50 -07:00
Mitchell Hashimoto bf27d783cc Rescue from new scoped Vagrant::Errors::VagrantError 2010-08-27 10:02:17 -07:00
Mitchell Hashimoto 9ab5a7c2b1 Switch the actions over to using the new UI objects. 2010-08-25 22:13:55 -07:00
Mitchell Hashimoto 82ee787229 VAGRANT_DEBUG env variable is required to be set for stacktraces to show up from binary 2010-08-24 17:16:45 -07:00
Mitchell Hashimoto cc2dcf4d8f Box command to show example of a GroupBase command 2010-08-24 11:15:36 -07:00
Mitchell Hashimoto 2691b0493c Move new binary into place 2010-08-24 09:21:40 -07:00
Mitchell Hashimoto 5e42f8bbb2 Began work on new CLI. 2010-08-23 23:44:42 -07:00
Mitchell Hashimoto 0bd01137a1 Update gemspec to be a bit more modern 2010-08-19 22:25:23 -07:00
Mitchell Hashimoto d79f6bd020 Update binary to not include rubygems 2010-04-13 22:52:11 -07:00
Mitchell Hashimoto 368e468620 Removed final binaries and moved vagrant-temp to vagrant 2010-04-13 17:19:37 -07:00
Mitchell Hashimoto dc35ce0980 Remove the implemented command binaries 2010-04-13 16:49:34 -07:00
Mitchell Hashimoto d8387f8280 New files for the new command structure. Ignore the `vagrant-temp` binary for now. 2010-04-13 01:22:53 -07:00
Mitchell Hashimoto 46956d8caa You can now specify the host of the ssh-config with the `--host` option. 2010-04-12 21:28:37 -07:00
Mitchell Hashimoto c630b028fc `vagrant ssh-config` outputs .ssh/config ready entry for current environment 2010-04-12 21:00:42 -07:00
Mitchell Hashimoto f8dee9adf9 Base boxes can now be packaged with `vagrant package` by specifying the `--base` parameter. 2010-04-12 16:29:33 -07:00
Mitchell Hashimoto b1a16a7b3d `vagrant down` is now `vagrant destroy` 2010-04-09 21:39:38 -07:00
Mitchell Hashimoto 35e9fa53d4 Vagrant::Commands moved to instance methods on the environment rather than class methods 2010-03-20 09:15:20 -07:00
Mitchell Hashimoto 4229b65a81 `vagrant init` now takes an optional parameter to specify the default box [close GH-6] 2010-03-17 17:15:12 -07:00
Mitchell Hashimoto 132aa05f94 Update binary version 2010-03-15 16:48:14 -07:00
Mitchell Hashimoto 42007f6b80 A very basic `vagrant status` command, which simply outputs the status of the environment (whether it has been created, its on, its off, etc.) 2010-03-14 18:35:18 -07:00
Mitchell Hashimoto 6c05901fe7 Vagrant is now a good ruby gem citizen and no longer modifies the include path. 2010-03-13 03:21:04 -08:00
Mitchell Hashimoto 97c9fb11eb Update binary to show 0.1.4 version 2010-03-09 17:44:09 -08:00
Mitchell Hashimoto e5e0aaa5ab Update version to "prerelease" 2010-03-09 08:52:58 -08:00
Mitchell Hashimoto 4ae38b41ff Update version in binary 2010-03-08 21:51:16 -08:00
Mitchell Hashimoto 4a18735fef Update version in binary 2010-03-07 16:52:55 -08:00
Mitchell Hashimoto c7f040f14c vagrant-up now starts the VM if its already created, rather than giving an error. 2010-03-02 22:07:04 -08:00
Mitchell Hashimoto c119a34f0e Added vagrant-halt to forcibly shut down vagrant instance. 2010-03-02 21:53:16 -08:00
John Bender 79718eb4c3 --include added to package tests passing, but still needs manual verification 2010-02-27 22:49:43 -08:00
Mitchell Hashimoto 26f9eca141 Reworked `vagrant package` to use the new tmp directory. 2010-02-24 00:30:58 -08:00
Mitchell Hashimoto 10e67e85f0 Removed unpackage VM action (since its part of box now) 2010-02-22 23:09:19 -08:00
Mitchell Hashimoto f60b383b75 `vagrant box` command with primitive functionality is in. Doesn't do anything productive yet. 2010-02-22 16:13:53 -08:00
Mitchell Hashimoto 7c61792b19 Stubbed vagrant-reload command 2010-02-16 13:04:18 -08:00
John Bender c9d0d0d9d9 packaging and unpackaging 2010-02-15 14:49:47 -08:00
John Bender 9e3a57fc36 package command 2010-02-12 00:14:08 -08:00
John Bender 1316a9ac17 packaging working 2010-02-12 00:13:24 -08:00
Mitchell Hashimoto 6c9c09c1b1 Move all commands to the Vagrant::Command class. Document all commands. 2010-02-10 13:46:22 -08:00
Mitchell Hashimoto c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00
Mitchell Hashimoto 3b08a877c2 Added dependencies to gemspec and also updated headers for bins 2010-02-09 22:48:08 -08:00
John Bender 0be599164e subclassed the logger in util.rb, fixed gemfile path in bin/* 2010-02-07 23:14:11 -08:00
Mitchell Hashimoto 3b53bdc79e Updated to bundler 0.9.3 gemfile format 2010-02-05 23:41:22 -08:00
John Bender d0f728b353 suspend and resume, test for both and failures, small refactor of the Hobo::VM#start and the use of Ping.pingecho in SSH.up? 2010-02-02 00:49:17 -08:00
Mitchell Hashimoto 3e98fc44e5 hobo-ssh 2010-01-31 18:53:35 -08:00
Mitchell Hashimoto 4cffa15d4e hobo-down and Env.require_persisted_vm 2010-01-31 01:27:18 -08:00
Mitchell Hashimoto e9d731cfcf Got some binaries in, a shell for VM management 2010-01-29 22:21:35 -08:00
John Bender 3fd2ef5e2b ssh and ssh expect script added 2010-01-26 00:01:17 -08:00
Mitchell Hashimoto 6a8d6bcaf4 Initial Gemfile for dependencies. Touched a .gitignore for the various
folders needed.
2010-01-21 19:09:18 -08:00