29 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b2c2d2a4cc Downloader progress reporter now uses the environment logger 2010-05-20 22:37:39 -07:00
Mitchell Hashimoto
376cd2f24d Box verification actually raises error to undo box adding 2010-04-19 15:45:52 -07:00
Mitchell Hashimoto
3e36b4ce12 Box verification uses the runner rather than the env 2010-04-19 14:21:21 -07:00
Mitchell Hashimoto
5b307a5d9b Added boxes are now verified 2010-04-19 14:14:44 -07:00
John Bender
bd69c54379 file download from http fix with correct options for windows 2010-03-26 23:36:53 -07:00
John Bender
527e101cab fix for no extract results from uri check 2010-03-23 00:03:28 -07:00
John Bender
2067f000f5 fix for uri parsing issues on windows with a small refactor thrown in on the side 2010-03-22 23:49:36 -07:00
Mitchell Hashimoto
c25ff5300a Tab => Spaces 2010-03-22 00:13:48 -07:00
Mitchell Hashimoto
bfcc0d3939 Whitespace fixes 2010-03-22 00:09:30 -07:00
John Bender
0c00201a6b switch to File.open for downloader temp file path to prevent minitar issues on windows 2010-03-21 23:50:08 -07:00
Mitchell Hashimoto
5db99c04d4 Removing references to Vagrant::Env 2010-03-19 21:15:45 -07:00
Mitchell Hashimoto
f59b255085 ActionExceptions all use the new error strings by key 2010-03-17 21:38:38 -07:00
Mitchell Hashimoto
3c2e1bd80a All errors now go through the errors.yml files 2010-03-17 21:08:26 -07:00
Mitchell Hashimoto
ef5e73e950 File box downloader gives a nice error message if the file doesn't exist. 2010-03-15 19:18:00 -07: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
20ed284372 Unpackage now has its own rescue implementation 2010-03-04 21:02:59 -08:00
Mitchell Hashimoto
bf738d4db5 Developer documentation for box actions 2010-03-04 20:58:50 -08:00
John Bender
c952fdaa24 check if a box exists before beginning add action 2010-03-03 23:53:46 -08:00
Mitchell Hashimoto
35af1fa02b Added rescue/cleanup methods to box downloading to cleanup temporary files 2010-03-03 23:00:04 -08:00
Mitchell Hashimoto
3d220ef5c8 HTTP downloader implemented. Boxes can now be added via HTTP! 2010-02-28 22:13:37 -08:00
Mitchell Hashimoto
9913c07ff2 Box download action now uses Vagrant "Downloaders." These are abstractions which will allow me to implement file downloading, http downloading etc. File downloading implemented here. 2010-02-28 21:42:38 -08:00
Mitchell Hashimoto
5b68f3dd10 Box actions clean up the temporary file after unpackaging 2010-02-22 22:42:31 -08:00
Mitchell Hashimoto
c7e21a0c94 Moved the destroy logic out to a re-usable box action. 2010-02-22 21:32:15 -08:00
Mitchell Hashimoto
546db294ca vagrant box remove functionality is in 2010-02-22 21:27:57 -08:00
Mitchell Hashimoto
f502587931 vagrant box add works completely 2010-02-22 18:57:19 -08:00
Mitchell Hashimoto
28b48929df Changed box actions and commands to use the Box class instead of passed in params. 2010-02-22 18:17:43 -08:00
Mitchell Hashimoto
1856d56431 Box downloading works (Actions::Box::Download) 2010-02-22 17:34:44 -08:00
Mitchell Hashimoto
6b705cbe42 Change vm attribute to be runner on action base to reflect what it now is. 2010-02-22 16:35:22 -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