Commit Graph

139 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto e800743d06 fast-path vagrant --version 2014-01-05 15:32:19 -08:00
Mitchell Hashimoto 817f7f326e fast path Vagrant --version 2014-01-05 15:27:03 -08:00
Mitchell Hashimoto 91751f6e41 load with bundler context 2014-01-05 15:26:44 -08:00
Mitchell Hashimoto 8adef9c15f warn if running in a bundler env, don't load plugins 2014-01-04 16:29:22 -08:00
Erik Michaels-Ober 56175b8132 Replace `exit 1` with `abort`
According to the documentation, Kernel.abort calls Kernel.exit(false). The failure status 1 is an implementation detail on Unix-like systems. In theory, a future system could exist where 1 indicates a successful exit and 0 indicates a failure.
2014-01-03 17:32:45 +01:00
Mitchell Hashimoto 3219be3d51 core: only look for global flags before "--" [GH-2491] 2013-11-25 11:42:06 -08:00
Mitchell Hashimoto f861fbcafb Update CHANGELOG 2013-11-24 11:58:06 -08:00
Mitchell Hashimoto 0c19578afa Merge pull request #2261 from mrkafk/master
core: check ENV for VAGRANT_NOCOLOR (equivalent of --no-color on cmdline)
2013-11-24 11:57:16 -08:00
Mitchell Hashimoto 42a71a953d commands/status: add machine-readable output 2013-11-24 11:11:38 -08:00
Mitchell Hashimoto c5a7ab7953 core: Add the MachineReadable UI, --machine-readable flag 2013-11-24 11:04:54 -08:00
Mitchell Hashimoto de9d38de21 core: don't load vagrantfile on plugin command 2013-11-23 13:25:33 -08:00
Teemu Matilainen 28740943bb Add `--debug` option as a shortcut for `VAGRANT_LOG=debug`
When asking or submitting debug information, a command line switch is
easier and faster than using an environment variable.
2013-10-31 22:20:13 -03:00
Mitchell Hashimoto eb6256316c core: improved commenting in bin/vagrant 2013-10-23 23:20:27 -07:00
root e4b6c91b7c check ENV for VAGRANT_NOCOLOR (equivalent of --no-color on cmdline) 2013-09-23 19:21:51 +02:00
Greg Poirier f65f2d20d9 Remove 'v' prefix on version number in vagrant -v 2013-09-06 11:14:17 -07:00
Mitchell Hashimoto 896ae7b9ba core: vagrant -v no longer loads Vagrantfile 2013-09-02 15:43:59 -07:00
Mitchell Hashimoto 7c9219fc18 Add --color to force color output [GH-2027] 2013-08-09 11:40:08 -07:00
Mitchell Hashimoto 5ca89383f8 Simplify cygwin check everywhere 2013-04-06 16:05:13 -07:00