sophia
d5007d4d85
Use remote plugin module when in server mode
2022-04-25 12:26:13 -05:00
Chris Roberts
8890b8870e
Fix ruby mode startup
2022-04-25 12:24:31 -05:00
Chris Roberts
e56b2df70d
Update serve mode setup to prevent environment loading
2022-04-25 12:24:31 -05:00
Chris Roberts
fe293dfd1f
Require client to be set and provide stub on initial startup
...
When running in server mode, make the Environment validate a client
option is provided on instantiation. If no client option is provided,
raise an exception since it is required in server mode.
Since an initial Environment is required during start, include a
stub value for the client so the initial Environment can be instantiated
successfully and the GRPC service can be started.
2022-04-25 12:24:23 -05:00
Chris Roberts
5613f0b4ad
Use ephemeral command plugin class to process arguments for subcommand
2022-04-25 12:23:59 -05:00
Chris Roberts
cefb514f77
If running as server enable server mode before setting up
2022-04-25 12:23:59 -05:00
Chris Roberts
cfde89b867
Fix error output on failure
2021-07-06 14:34:43 -07:00
Chris Roberts
32f4951759
Activate builtin specs during startup
...
When starting up, and before any loading, find our current
specification and activate all the internal dependencies
while also collecting the activated specifications. Store
these for later use when doing plugin resolutions. We bypass
the builtin list when running in bundler since they will
still show up as not activated, but we use the entire list
regardless.
2021-03-08 16:25:13 -08:00
Chris Roberts
2d7694e380
Activate all dependencies when starting up
2021-03-08 15:58:28 -08:00
sophia
0296e59baf
Use :ui_class opt to set ui class
2020-03-30 10:21:14 -04:00
sophia
d6d6e2c362
Surface cli option to quiet progress
2020-03-30 09:32:23 -04:00
Chris Roberts
b8702ac889
Include default options in option parser
...
Adds method to shared helpers for adding procs to be evaluated
which can add default modifications to the option parser used
by commands. Customized option parser class within Vagrant
handles processing defined procs to set options.
2020-03-27 16:57:59 -07:00
Chris Roberts
24da7476a1
When not running as a pre-release version, disable verbose output
...
This will restrict output of warnings for things like method
deprections to only being visble while running a pre-release
version of Vagrant (typically in development)
2020-03-10 15:34:06 -07:00
Brian Cain
2783b121f9
Remove VALID_FEATURES constant
2018-12-07 13:52:02 -08:00
Brian Cain
accabdd7ca
Warn users about unknown requested experimental features
2018-12-07 13:36:16 -08:00
Brian Cain
01ec72cac2
Introduce a local and global check for enabled experimental features
2018-12-07 13:30:50 -08:00
Brian Cain
fc4ba7f420
Update to global_enabled?
2018-12-07 10:50:20 -08:00
Brian Cain
611e3dce96
Use util methods in vagrant bin for experimental flag
2018-12-07 10:27:47 -08:00
Brian Cain
212f6ce8bb
Add experimental flag to guard development features
...
This commit introduces a special flag for enabling features that are not
ready for release. It can either be enabled by setting the
`VAGRANT_EXPERIMENTAL` flag to "1", or by setting it to a string of one
or more comma seperated values for specific features. It also adds a
couple of Vagrant developer focused methods for making it easier to
determine if the flag has been enabled, and if so, what features.
2018-12-06 09:03:49 -08:00
Chris Roberts
1cd8a4b9be
Allow vagrantfile_name stub disable via environment variable
2018-07-18 10:50:06 -07:00
Chris Roberts
737ef0eded
Allow Vagrantfile to load when using --local
2018-07-17 15:00:38 -07:00
Chris Roberts
9321f3cb6c
Ensure the vagrantfile_name option is stubbed when using plugin commands
2018-07-16 16:54:43 -07:00
Chris Roberts
1bba1f86bb
Disable plugins on plugin commands but allow init when listing
2018-05-08 13:46:44 -07:00
Chris Roberts
e743fe050e
Disable report on exception by default
...
Fixes #9727
2018-04-26 14:58:05 -07:00
Josh Soref
1a5ddea9f4
Spelling fixes
...
* account
* addresses
* administrator
* afterwards
* because
* bridgeable
* capabilities
* capability
* checksum
* configuration
* configuration for
* configure
* criteria
* delimited
* delivered
* derivatives
* description
* detect
* directory
* display
* downloading
* during
* electric
* enabling
* encountered
* equivalent
* executable
* executed
* hashicorp
* hypervisor
* hyphens
* implementation
* incorporate
* inheritance
* initialize
* instance
* instead
* interactions
* invocable
* machine
* maximum
* message
* mounting
* overridden
* overwrite
* paramiko
* preparing
* provides
* provisioning
* recursively
* requested
* resetting
* retryable
* running
* satisfied
* searching
* sometimes
* specified
* successfully
* synced folders
* unauthorized
* underlying
* userprofile
* vagrant
* vagrantfile
* variable
* various
* version
* virtual
* windows
2018-03-14 14:41:04 +00:00
Chris Roberts
da42bfa8ac
Provide optional timestamp on log output
...
Enable log message output to be prefixed with the date and time.
Include CLI flag to optionally enable `--timestamp` and a
convenience flag to enable debug logging with timestamps at
the same time `--debug-timestamp`.
2017-12-13 17:05:51 -08:00
Chris Roberts
fa2dd5b3fb
Recreate the Vagrant environment when required by WSL setup
2017-05-12 13:14:04 -07:00
Chris Roberts
9a06374d29
Perform WSL check and init after environment is created
2017-05-08 15:20:21 -07:00
Chris Roberts
83b0c87f52
Support running Vagrant within the Windows Subsystem for Linux
2017-05-08 10:21:01 -07:00
Chris Roberts
9a8f88d36e
Prevent loading local Vagrantfile when disabling plugins for global actions
2016-11-30 19:41:59 -08:00
Chris Roberts
613a38ef74
Disable plugin initialization for all plugin commands except list
2016-11-16 13:08:44 -08:00
Chris Roberts
1f5dd35d16
Remove bundler where no longer required
2016-11-07 20:00:38 -08:00
Chris Roberts
b15ef3a6ff
Add plugin expunge command to remove all user installed plugins
2016-11-07 18:48:51 -08:00
Chris Roberts
d5c5561302
Allow disable of user plugins if repair command is requested
2016-11-07 18:48:51 -08:00
Chris Roberts
1fb4553d14
[core] Remove bundler usage for plugin management
2016-11-07 18:48:51 -08:00
Chris Roberts
585ee76a00
Escape nested quotes within error message
2016-10-11 15:04:43 -07:00
Chris Roberts
3e46e8bcb7
core: Rescue EINVAL exceptions when loading bundler
2016-10-11 10:47:08 -07:00
Seth Vargo
b95e5d80f5
Allow users to force color
...
Fixes GH-5390
2016-05-30 15:56:09 -04:00
Mitchell Hashimoto
479323f1e8
for newer versions of Bundler, store the runtime
2015-07-09 22:12:47 -06:00
Vít Ondruch
1ecd3f9f1d
Do not load the gem and all dependencies due to version.
...
This should be faster, since it cicrumvent RubyGems.
2014-10-24 13:31:51 +02:00
Mitchell Hashimoto
04835ae612
core: clean up Bundler tempfiles [GH-4103]
2014-08-08 16:48:53 -07:00
Mitchell Hashimoto
8e633acbc7
Clarify error message for VAGRANT_HOME [GH-4256]
2014-08-06 14:41:01 -07:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
Elan Ruusamäe
e7beb04c3e
do not overflow exit code
...
see discussion here
ccc45ebd7a
2014-05-04 11:33:30 +03:00
Juanito Fatas
17268dc545
[ci skip] Fix a typo in bin/vagrant comment.
2014-04-29 18:36:32 +08:00
Mitchell Hashimoto
ce08a37d5f
Very quiet mode for development
2014-04-21 13:56:39 -07:00
Mitchell Hashimoto
29297e1a2f
bin: only add "--" if there are extra args
2014-04-21 13:54:42 -07:00
Mitchell Hashimoto
8512d57076
commands/box/list: doesn't trigger Vagrantfile loading
2014-04-18 20:46:44 -07:00
Mitchell Hashimoto
1213b87679
core: vagrant help no longer loads Vagrantfile
2014-03-13 08:54:30 -07:00
Mitchell Hashimoto
998b30985f
Error message if tampering with plugins.json
2014-03-12 20:42:05 -07:00