82 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a4713d5a84 No need to call load! anymore, since it doesn't exist 2012-12-23 16:29:23 -08:00
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