Commit Graph

157 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto bc31abe125 More wording changes on version conflicts 2014-03-09 22:47:56 -07:00
Mitchell Hashimoto c391d2d46b Don't splat the bundler groups 2014-03-09 22:41:51 -07:00
Mitchell Hashimoto 641bfd0ee6 Clarify versionconflict error 2014-03-09 22:41:23 -07:00
Mitchell Hashimoto ba52c31bbf core: rescue version conflicts when setting up Bundler 2014-03-05 13:16:46 -08:00
Mitchell Hashimoto ac9e6b2078 core: error-exit machine readable output type for errors [GH-2999] 2014-02-23 22:40:45 -08:00
Mitchell Hashimoto 24a03de8bf core: Only load default and plugin Bundler groups to avoid dev deps 2014-01-31 16:42:53 +01:00
Mitchell Hashimoto afbed7e816 core: add output/detail methods to Ui, prefix with arrows 2014-01-17 21:02:57 -08:00
Mitchell Hashimoto 06123f9fc8 core: cleaner output when running outside installer 2014-01-17 10:39:36 -08:00
Mitchell Hashimoto b9e701f853 catch errors that happen before Vagrant is even loaded 2014-01-08 20:04:48 -08:00
Mitchell Hashimoto 7c995caae5 core: Catch plugin load errors and show them to the user ina friendly way 2014-01-08 14:45:43 -08:00
Mitchell Hashimoto 36f64db874 Always setup plugins, but just don't always require them 2014-01-05 16:49:25 -08:00
Mitchell Hashimoto f7e4c4df6b setup the Bundler path always 2014-01-05 16:43:59 -08:00
Mitchell Hashimoto 8861510520 Lower some branching logic 2014-01-05 16:17:39 -08:00
Mitchell Hashimoto 73c71dbcc6 Work some things around so that Bundler is not setup with no plugins 2014-01-05 16:16:04 -08:00
Mitchell Hashimoto 76de267d1e Don't load plugins again on `vagrant plugin` commands 2014-01-05 16:04:53 -08:00
Mitchell Hashimoto 8cfa24143d Put plugins in their own Gemfile group so we can load on their own 2014-01-05 15:57:10 -08:00