Commit Graph

185 Commits

Author SHA1 Message Date
Mitchell Hashimoto e71007d47e `vagrant destroy` 2011-12-17 11:05:49 -08:00
Mitchell Hashimoto 43cadfe830 `vagrant up` 2011-12-17 09:14:05 -08:00
Mitchell Hashimoto 27491b554c Remove thor from requirements. Start revamping Vagrant::CLI 2011-12-16 23:34:30 -08:00
Mitchell Hashimoto 1fcca71ce9 Re-namespace all systems to the Vagrant::Guest module 2011-12-15 21:05:19 -08:00
Mitchell Hashimoto eda286b476 Config classes are registered via a registry now 2011-12-15 20:32:33 -08:00
Mitchell Hashimoto e5303a82e0 Autoload provisioners. 2011-12-14 22:49:14 -08:00
Mitchell Hashimoto b428072bb5 Provisioners use the registry. Cleaned up the way config classes are searched for. 2011-12-14 22:43:45 -08:00
Mitchell Hashimoto ee33588d10 Clean up system loading quite a bit 2011-12-12 00:03:28 -08:00
Mitchell Hashimoto cdc01c449d Re-order things in vagrant.rb slightly 2011-12-11 23:24:23 -08:00
Mitchell Hashimoto 668bab0ba9 Better host loading scheme 2011-12-11 23:22:44 -08:00
Mitchell Hashimoto e201d9cacf Rename action registry to just Vagrant::Registry 2011-12-11 18:22:06 -08:00
Mitchell Hashimoto bbb8f0ac2c Integrate new action runner/registry into Vagrant::Environment 2011-12-09 14:39:39 -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 881045a85f Find a way to autoload 'vagrant/ssh' since that is a slow loader.
This involved realizing that requiring 'openssl' in the context
of an autoload causes some strange exceptions down the road. See this
gist for the error: https://gist.github.com/dd0b105bf9edcb7daa85
2011-07-09 11:12:15 -07:00
Mitchell Hashimoto 29db4aefd5 Load vagrant/version so that `vagrant version` works again 2011-01-07 01:25:54 -08:00
Mitchell Hashimoto 9e27355d0e Fix weird exception from autoloading Vagrant::SSH 2011-01-07 01:22:52 -08:00
Mitchell Hashimoto 8d529931ef Be gone glob loader! Move everything to autoload or explicit require. 2011-01-07 01:12:16 -08:00
Mitchell Hashimoto cb69377b06 Remove Radar until next release. 2010-09-21 10:11:16 -06:00
Mitchell Hashimoto bae6c57230 Expose test helpers [closes GH-162] 2010-09-15 09:19:38 -06:00
Mitchell Hashimoto d5fbf29ec0 Plugins. Documentation coming shortly. 2010-09-14 23:10:51 -06:00
Mitchell Hashimoto 0ee21998f6 New BoxCollection class to keep track of all boxes. 2010-09-11 10:17:26 -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 59e1e43c74 Autoload the util classes. HashWithIndifferentAccess for data store 2010-09-03 09:33:15 -07:00
Mitchell Hashimoto 4d87f198d7 Vagrant::DataStore which will be used soon for the dotfile in the project directory 2010-09-01 22:00:59 -07:00
Mitchell Hashimoto d2d2404961 Split config classes out into multiple files for better organization 2010-09-01 20:37:11 -07:00
Mitchell Hashimoto f697ca543e Extremely basic Radar integration 2010-09-01 19:46:11 -07:00
Mitchell Hashimoto 3da94252b5 Get rid of util.rb. No longer used. 2010-09-01 14:30:31 -07:00
Mitchell Hashimoto e7f06d7fb7 Remove ExceptionCatcher since exceptions are the way to report errors now 2010-09-01 10:04:37 -07:00
Mitchell Hashimoto a7197b3566 Autoload errors. If nothing bad happens, all those error classes don't use any memory :) 2010-09-01 07:15:37 -07: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 3da5fc87a3 Add NamedBase for commands which take a name for multivm (optionally) 2010-08-24 23:50:20 -07:00
Mitchell Hashimoto 2eb09c7aa2 Helpers to get target VMs in commands from parameters 2010-08-24 17:49:22 -07:00
Mitchell Hashimoto 004ba551a6 Moved errors out into its own file so that vagrant.rb doesn't get too cluttered 2010-08-24 11:18:29 -07:00
Mitchell Hashimoto cc2dcf4d8f Box command to show example of a GroupBase command 2010-08-24 11:15:36 -07:00
Mitchell Hashimoto 5af0537e56 Command::GroupBase for creating subcommands for Thor. 2010-08-24 10:58:36 -07:00
Mitchell Hashimoto 1facebc3d9 Got rid of global Vagrant.ui. Moved to Environment#ui 2010-08-24 10:37:00 -07:00
Mitchell Hashimoto 48b7596357 Init command. Tests for the base command. 2010-08-24 10:27:36 -07:00
Mitchell Hashimoto 0ddda8f591 Remove all old commands. They're all being rewritten 2010-08-24 09:19:16 -07:00
Mitchell Hashimoto 5e42f8bbb2 Began work on new CLI. 2010-08-23 23:44:42 -07:00
Mitchell Hashimoto 3b86122e09 Only calculate the source root once 2010-08-23 21:44:53 -07:00
Mitchell Hashimoto 4844d6c12f Moved standard library requirements to the files which use them. Cleaned up vagrant.rb quite a bit. 2010-08-23 21:43:46 -07:00
Mitchell Hashimoto cd82c8d7f8 Get rid of the PROJECT_ROOT constant. 2010-08-23 21:33:14 -07:00
Brian Donovan c78a3f3e3f Include util.rb early so the included hook is set up properly.
Fixes a NoMethodError running any command that invokes Environment.load!
2010-07-13 09:06:20 -07:00
Mitchell Hashimoto e2badeb9e1 Concepts of "Hosts" introduced, preparing for host-specific behavior. 2010-07-10 22:07:10 -07:00
Mitchell Hashimoto a0a6230455 Catch exceptions on download 2010-07-08 21:52:56 -07:00
Mitchell Hashimoto f558304b50 Goodbye, Actions 2010-07-08 21:35:31 -07:00
Mitchell Hashimoto 64b533edc4 Builtin class and stubbed import middleware 2010-07-04 04:58:03 +02:00
Mitchell Hashimoto ad96f0090a Properly download boxes from HTTPS sources. [closes GH-84] 2010-05-29 10:54:27 -07:00
Mitchell Hashimoto a5cb80f396 Removed old progress meter module from util 2010-05-20 22:54:48 -07:00
Mitchell Hashimoto 3cef90cfb9 Remove util.rb and that logger 2010-05-20 20:54:34 -07:00
Mitchell Hashimoto 1429723277 Glob loader to make glob loading easier 2010-04-25 00:51:45 -07:00
Mitchell Hashimoto c744f7afde vagrant box add 2010-04-13 17:08:36 -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 00cf000189 Added a progress meter module/mixin since that'll be used elsewhere. 2010-04-08 12:44:25 -07:00
John Bender 4e4d1a6978 error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml 2010-03-25 00:09:31 -07:00
Mitchell Hashimoto a7652244d5 Move stacked proc runner to the util directory 2010-03-18 12:08:33 -07:00
Mitchell Hashimoto b1872c4e31 Moved template renderer until the Util namespace 2010-03-17 17:59:25 -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 edc1bbec8c TemplateRenderer added in preparation for supporting ERB templates for some things... 2010-03-17 17:00:46 -07:00
Mitchell Hashimoto 130d584322 StackedProcRunner abstraction which will be used for VM customization (in addition to configuration) 2010-03-15 14:19:28 -07:00
John Bender 5aeee61e83 action dependencies and unique requirement moved to actions/collection 2010-03-14 22:34:48 -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 5598a260c2 Require the files, not puts them... its late. 2010-03-13 03:12:08 -08:00
Mitchell Hashimoto 2a6c9a762a Fixed expand pathing to work properly in vagrant.rb 2010-03-13 03:11:16 -08:00
Mitchell Hashimoto 9da68bb129 Expand paths properly for loading so that files already loaded aren't loaded twice 2010-03-13 03:08:26 -08:00
Mitchell Hashimoto df648803dd Pull out common chef code into its own abstract provisioner 2010-03-10 19:00:49 -08:00
Mitchell Hashimoto d81e5dc28d Remove all "chef" configuration and moved chef solo provisioning to its own class 2010-03-10 14:27:02 -08:00
Mitchell Hashimoto f86bc912eb Base provisioning class 2010-03-10 12:56:52 -08: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
Jonathan Rudenberg 6e0f171514 Remove ftools requirement (deprecated in 1.9) 2010-03-09 09:12:02 -08:00
Mitchell Hashimoto 6a3b7370aa Load action runner before all other files 2010-03-09 08:45:14 -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 1856d56431 Box downloading works (Actions::Box::Download) 2010-02-22 17:34:44 -08:00
John Bender c644cfad1a package and unpackage moved to tar, tarruby added 2010-02-19 00:54:49 -08:00
Mitchell Hashimoto 2cdd3f35fc Removed "tarruby" dependency 2010-02-15 15:27:47 -08:00
Mitchell Hashimoto e77c780e0d Add defined? check for defining PROJECT_ROOT to suppress warnings 2010-02-13 11:50:01 -08:00
Mitchell Hashimoto 1288b229d1 Require action base before everything else as well 2010-02-13 11:48:13 -08:00
Mitchell Hashimoto 8f63272403 Cleaned up the requiring of files in vagrant.rb 2010-02-13 11:43:58 -08:00
John Bender 1316a9ac17 packaging working 2010-02-12 00:13:24 -08:00
Mitchell Hashimoto 119d91eafb Move all commands to the Vagrant::Command class. Document all commands. 2010-02-12 00:07:39 -08:00
Mitchell Hashimoto 03079d9fa6 Get rid of "VAGRANT_ENV" since that was just a hack. Log output location configurable now. 2010-02-10 13:59:25 -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 ba77944d67 Removed some unnecessary requires 2010-02-10 01:53:05 -08:00
Mitchell Hashimoto c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00