33 Commits

Author SHA1 Message Date
Mitchell Hashimoto
234c47a3a7 Retryable can take multiple exceptions to retry on 2011-04-19 22:24:52 -07:00
Mitchell Hashimoto
0fcc1150c5 Revert "Instead of using Kernel#system, use custom piped solution"
This reverts commit 171f4184c0a698c4a6b05767accb6002ffcd18a0.
2010-09-29 23:38:07 -07:00
Mitchell Hashimoto
171f4184c0 Instead of using Kernel#system, use custom piped solution 2010-09-27 18:26:42 -07:00
Mitchell Hashimoto
e3ff9c7ac3 Resource logger now logs to a "logs" directory in the home path 2010-09-20 09:58:19 -06:00
Mitchell Hashimoto
5ce43a8ae0 Utilize pathname when available instead of doing just a File.join 2010-09-11 10:42:03 -07:00
Mitchell Hashimoto
f8e7431899 Retry SSH connect a few times before admitting defeat. 2010-09-09 00:28:21 -07:00
Mitchell Hashimoto
8164644615 Converted most "mock_environment" tests to "vagrant_env" which uses real filesystem 2010-09-07 11:41:52 -07:00
Mitchell Hashimoto
ad5ecf1c7f Remove unused code in Config 2010-09-05 10:18:05 -07:00
Mitchell Hashimoto
f24094bba8 Converted more tests to new vagrant env helpers and removed unused code in ResourceLogger 2010-09-04 10:47:22 -07:00
Mitchell Hashimoto
0a8540996c Action environment uses new indifferent hash util 2010-09-03 09:39:30 -07:00
Mitchell Hashimoto
59e1e43c74 Autoload the util classes. HashWithIndifferentAccess for data store 2010-09-03 09:33:15 -07:00
Mitchell Hashimoto
3da94252b5 Get rid of util.rb. No longer used. 2010-09-01 14:30:31 -07:00
Mitchell Hashimoto
cd82c8d7f8 Get rid of the PROJECT_ROOT constant. 2010-08-23 21:33:14 -07:00
John Bender
f8731c9a8c fixed failing template render test 2010-08-21 23:59:41 -07:00
Mitchell Hashimoto
b6719d00d9 Enable ability to supress newlines in ERB for templates using -%> 2010-08-01 17:26:37 -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
f1ad7234b9 The new Vagrant::Util::Busy. 2010-07-18 08:10:40 -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
67ab68df89 System prepare_unison method + tests 2010-06-20 02:07:32 -07:00
John Bender
74aefa5c3d corrected bit mask for package output on windows 2010-05-22 22:46:42 -07:00
Mitchell Hashimoto
a5cb80f396 Removed old progress meter module from util 2010-05-20 22:54:48 -07:00
Mitchell Hashimoto
4a20bfe7fc Plain logger should emit a newline 2010-05-20 16:47:25 -07:00
Mitchell Hashimoto
398e254c39 Moved error_and_exit and wrap_output to their own mixins 2010-05-20 16:09:00 -07:00
Mitchell Hashimoto
fa9bdad175 Added the ResourceLogger, which will handle logging in the near future 2010-05-20 13:05:01 -07:00
Mitchell Hashimoto
13c05de702 Rename errors.yml to strings.yml and Error to Translator, since I plan on using it for general strings 2010-04-30 23:42:11 -07:00
Mitchell Hashimoto
c64dc43c84 Fix progress meter output for Windows 2010-04-15 17:53:54 -07:00
Mitchell Hashimoto
a7652244d5 Move stacked proc runner to the util directory 2010-03-18 12:08:33 -07:00
Mitchell Hashimoto
f59b255085 ActionExceptions all use the new error strings by key 2010-03-17 21:38:38 -07:00
Mitchell Hashimoto
ac6c3a4892 Util::Errors class to parse errors from YML and render them via ERB 2010-03-17 20:42:53 -07:00
Mitchell Hashimoto
88cfaf8f27 Added class level method to render string for the TemplateRenderer 2010-03-17 19:09:17 -07:00
Mitchell Hashimoto
37de04eb9b TemplateRenderer can now render strings 2010-03-17 18:09:24 -07:00
Mitchell Hashimoto
b1872c4e31 Moved template renderer until the Util namespace 2010-03-17 17:59:25 -07:00