Mitchell Hashimoto
|
ebf1fa2fb1
|
Check if file exists on root path traversal [closes GH-182]
|
2010-10-08 18:23:38 -07:00 |
|
Mitchell Hashimoto
|
f90016bb6f
|
Only validate on the second-pass of loading configuration
|
2010-10-08 10:52:34 -07:00 |
|
Mitchell Hashimoto
|
c6b0fae318
|
Load sub-VM configuration on first-pass, allowing box loading for sub-VMs. [closes GH-166] [closes GH-181]
|
2010-10-08 10:34:33 -07:00 |
|
Mitchell Hashimoto
|
48e5f4fb86
|
Vagrantfiles with only one config.vm.define are now considered multi-VM.
|
2010-10-08 09:50:34 -07:00 |
|
Mitchell Hashimoto
|
f6db8e5518
|
Environment documentation
|
2010-09-23 19:06:47 -07:00 |
|
Mitchell Hashimoto
|
2e3be3789e
|
More documentation and fixed some YARD warnings
|
2010-09-23 09:53:18 -07: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
|
3b735e545f
|
Change VM loading to be lazy loaded so config can be loaded without VMs
|
2010-09-21 01:27:36 -06: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
|
e0bf3f2dff
|
Converted final string that used logger to new i18n
|
2010-09-20 09:43:37 -06:00 |
|
Mitchell Hashimoto
|
ba8307712d
|
Don't require root path to load an environment. (Makes vagrant box commands work again without a Vagrantfile)
|
2010-09-16 18:14:41 -06:00 |
|
Mitchell Hashimoto
|
0ee21998f6
|
New BoxCollection class to keep track of all boxes.
|
2010-09-11 10:17:26 -07:00 |
|
Mitchell Hashimoto
|
4b17ac0f89
|
Environment#home_path is a Pathname object for easier manipulation
|
2010-09-11 09:18:33 -07:00 |
|
Mitchell Hashimoto
|
3cca2f1bb4
|
Config loading test is now powered by real Vagrantfiles, rather than mocks
|
2010-09-07 11:30:48 -07:00 |
|
Mitchell Hashimoto
|
5f6e3acf40
|
Require root path on environment load
|
2010-09-07 10:52:58 -07:00 |
|
Mitchell Hashimoto
|
88fedb419e
|
Update Environment#dotfile_path to take advantage of new Pathname object
|
2010-09-07 00:28:21 -07:00 |
|
Mitchell Hashimoto
|
fe593c88b8
|
Environment#cwd and Environment#root_path are now pathname objects for more robust usage
|
2010-09-07 00:25:52 -07:00 |
|
Mitchell Hashimoto
|
84389580d6
|
Only run Environment#load! once
|
2010-09-07 00:07:22 -07:00 |
|
Mitchell Hashimoto
|
1478818939
|
Run "environment_load" action on environment load
|
2010-09-06 23:36:48 -07:00 |
|
Mitchell Hashimoto
|
4342c87473
|
No need to reload the VMs hash if has a parent environment.
|
2010-09-06 00:09:29 -07:00 |
|
Mitchell Hashimoto
|
ed48170b24
|
Remove environment "vm_name" property since it was redundant
|
2010-09-05 23:11:27 -07:00 |
|
Mitchell Hashimoto
|
52a32820db
|
Change the way the config is loaded to be all in one step
|
2010-09-05 01:13:35 -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
|
3470d98fca
|
Load the root path on demand.
|
2010-09-03 14:59:16 -07:00 |
|
Mitchell Hashimoto
|
b8a4188fa3
|
Config class is now responsible for loading configuration. Cleans up environment.
|
2010-09-03 11:16:38 -07:00 |
|
Mitchell Hashimoto
|
57506c8c00
|
Default cwd to pwd for environment
|
2010-09-03 09:42:05 -07:00 |
|
Mitchell Hashimoto
|
0f70812142
|
Load the host on demand in the environment
|
2010-09-03 00:48:38 -07:00 |
|
Mitchell Hashimoto
|
01df63ef6e
|
Lazy load the environment "actions." Removes one more load from the environment load chain
|
2010-09-03 00:35:18 -07:00 |
|
Mitchell Hashimoto
|
f72979df79
|
Added global data hash to environment. "system"-wide data bag for vagrant
|
2010-09-03 00:21:57 -07:00 |
|
Mitchell Hashimoto
|
d65194d66e
|
Only initialize a logger on the parent environment
|
2010-09-02 21:24:59 -07:00 |
|
Mitchell Hashimoto
|
52e3c4d3b3
|
Persisting a VM uuid is now implicitly done by Vagrant::VM
|
2010-09-02 21:12:11 -07:00 |
|
Mitchell Hashimoto
|
33e2b93139
|
Some basic cleanup of 'if' logic
|
2010-09-02 13:02:09 -07:00 |
|
Mitchell Hashimoto
|
2d80c32479
|
Remove the ActiveList. This will make a comeback using DataStore in the future.
|
2010-09-02 13:00:47 -07:00 |
|
Mitchell Hashimoto
|
9002b22fac
|
Data store is now a hash and lazy load the local data store on the environment
|
2010-09-02 11:47:19 -07:00 |
|
Mitchell Hashimoto
|
f00955dfa1
|
Remove superfluous util module includes
|
2010-09-01 14:52:44 -07:00 |
|
Mitchell Hashimoto
|
a206d23bc7
|
No need to reference Vagrant namespace directly here...
|
2010-08-26 23:33:44 -07:00 |
|
Mitchell Hashimoto
|
58237db675
|
Remove unused methods in environment and their translations
|
2010-08-26 23:30:24 -07:00 |
|
Mitchell Hashimoto
|
afab53bf9f
|
Scope errors into the Errors namespace. VirtualBox version errors converted to I18n
|
2010-08-26 23:21:28 -07:00 |
|
Mitchell Hashimoto
|
6d15a1dd64
|
Moved the resource name to a helper method in environment
|
2010-08-26 20:22:20 -07:00 |
|
Mitchell Hashimoto
|
aaac5fbf1e
|
Get rid of all Ruby warnings in Vagrant
|
2010-08-25 23:21:23 -07:00 |
|
Mitchell Hashimoto
|
b21fae99c5
|
Child UIs successfully set environment to themselves
|
2010-08-25 22:30:57 -07:00 |
|
Mitchell Hashimoto
|
5e0a7d946e
|
Child environment UIs match the parent
|
2010-08-25 22:24:52 -07:00 |
|
Mitchell Hashimoto
|
64c3d46e1c
|
UI class has a reference to the environment
|
2010-08-25 21:39:47 -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
|
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
|
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 |
|
Mitchell Hashimoto
|
555b5af2a8
|
Remove Environment#require_box since it is no longer used
|
2010-07-23 22:37:38 -07:00 |
|