Commit Graph

2768 Commits

Author SHA1 Message Date
Mitchell Hashimoto b194525521 core: output a newline after ask with no echo 2014-02-05 21:20:28 -08:00
Mitchell Hashimoto 1a7b78e00e core: UI supports not echoing 2014-02-05 21:20:27 -08:00
Mitchell Hashimoto 7a6d1a3ff1 commands/box: update command can update a specific box now 2014-02-05 21:20:23 -08:00
Mitchell Hashimoto 43157fba18 core: output the version that is added with BoxAdd 2014-02-05 21:20:20 -08:00
Mitchell Hashimoto 61a1082d65 core: BoxCheckOutdated is *much* simpler, unified logic, tests 2014-02-05 21:20:18 -08:00
Mitchell Hashimoto bfca65b098 core: better output for BoxCheckOutdated 2014-02-05 21:20:16 -08:00
Mitchell Hashimoto ea06202903 core: get rid of unnecessary lines 2014-02-05 21:20:15 -08:00
Mitchell Hashimoto b5157df2cc core: BoxCheckOutdated only runs if told to 2014-02-05 21:20:14 -08:00
Mitchell Hashimoto 8cc16d14fa core: BoxCheckOutdated checks locally 2014-02-05 21:20:13 -08:00
Mitchell Hashimoto d78194654d core: ability to hide success UI 2014-02-05 21:20:12 -08:00
Mitchell Hashimoto e537e02d9d core: BoxCheckOutdated can check if a box is outdated 2014-02-05 21:20:11 -08:00
Mitchell Hashimoto f2509f5c65 commands/box: outdated command to find outdated boxes 2014-02-05 21:20:10 -08:00
Mitchell Hashimoto b81686e2c9 core: BoxAdd adds the metadata URL 2014-02-05 21:20:08 -08:00
Mitchell Hashimoto bd9f375263 core: Box can store a metadata URL 2014-02-05 21:20:07 -08:00
Mitchell Hashimoto e9afe386c1 core: remove BoxUpgradeRequired exception 2014-02-05 21:20:06 -08:00
Mitchell Hashimoto d278fb2661 core: catch ENOENT as not a metadata URL 2014-02-05 21:20:04 -08:00
Mitchell Hashimoto 2ea6f92a6c core: Cleaner output for BoxAdd 2014-02-05 21:20:03 -08:00
Mitchell Hashimoto fa77d6810f core: BoxAdd expands URL paths 2014-02-05 21:20:02 -08:00
Mitchell Hashimoto 8ab3ae1bef core: BoxAdd UI looks better 2014-02-05 21:20:00 -08:00
Mitchell Hashimoto f0607c6df0 core: BoxAdd supports multiple URLs properly 2014-02-05 21:19:59 -08:00
Mitchell Hashimoto 38248c240c core: BoxAdd errors if name doesn't match metadata 2014-02-05 21:19:58 -08:00
Mitchell Hashimoto b23ad41c40 core: HandleBox reloads the box 2014-02-05 21:19:57 -08:00
Mitchell Hashimoto f2c4adc4ee core: use symbol names for providers everywhere 2014-02-05 21:19:56 -08:00
Mitchell Hashimoto e316e10552 core: make sure the env has the UI in it for adding boxes 2014-02-05 21:19:55 -08:00
Mitchell Hashimoto a115750401 core: HandleBox works with metadata boxes 2014-02-05 21:19:52 -08:00
Mitchell Hashimoto b2fa785d07 core: Environment loads proper version of box 2014-02-05 21:19:51 -08:00
Mitchell Hashimoto d08866e9f3 core: nicer error if shorthand can't be found 2014-02-05 21:19:49 -08:00
Mitchell Hashimoto 1bd3275b3b core: output the expanded URL 2014-02-05 21:19:48 -08:00
Mitchell Hashimoto 5aba445cac core: shorthand box adds wor 2014-02-05 21:19:47 -08:00
Mitchell Hashimoto f9fe025d10 core: helper to get the server URL 2014-02-05 21:19:46 -08:00
Mitchell Hashimoto 7b8002eba7 core: don't prefix ask statements 2014-02-05 21:19:45 -08:00
Mitchell Hashimoto b71cde6b99 core: make box add UI much icer 2014-02-05 21:19:44 -08:00
Mitchell Hashimoto c7fc9d1d46 core: BoxRemove works, tests 2014-02-05 21:19:42 -08:00
Mitchell Hashimoto 8ef13b037c core: add a space to the question; 2014-02-05 21:19:40 -08:00
Mitchell Hashimoto f9c9559320 core: ask what provider to use if multiple providers 2014-02-05 21:19:38 -08:00
Mitchell Hashimoto e38ce34e56 core: make the BoxAdd UI look a bit better 2014-02-05 21:19:37 -08:00
Mitchell Hashimoto acc57a3c18 core: clarify output for boxadd error message 2014-02-05 21:19:36 -08:00
Mitchell Hashimoto 0fceed6ff4 core: BoxAdd uses the proper path on Unix 2014-02-05 21:19:35 -08:00
Mitchell Hashimoto 05eeefbe36 core: Fix Downloader tests 2014-02-05 21:19:34 -08:00
Mitchell Hashimoto c31feb0e94 core: fix missing interpolation for boxcollection 2014-02-05 21:19:33 -08:00
Mitchell Hashimoto 8f0f0506d6 core: BoxAdd requires name if old-style box 2014-02-05 21:19:32 -08:00
Mitchell Hashimoto 09e8666296 core: BoxAdd now works with HTTP URLs 2014-02-05 21:19:31 -08:00
Mitchell Hashimoto 03b22ab9a1 core: add the box_added to the middleware 2014-02-05 21:19:30 -08:00
Mitchell Hashimoto 1ca7f86f76 core: verify providers with direct box adding 2014-02-05 21:19:29 -08:00
Mitchell Hashimoto 75cffe53d1 core: BoxAdd checks if box already exists for metadata
unless force
2014-02-05 21:19:28 -08:00
Mitchell Hashimoto c1989603be core: adding from metadata wlil force if specified 2014-02-05 21:19:27 -08:00
Mitchell Hashimoto 2a08302145 core: BoxAdd can add old boxes (happy path) 2014-02-05 21:19:26 -08:00
Mitchell Hashimoto 961d3607b9 core: add newline to end of download if windows 2014-02-05 21:19:24 -08:00
Mitchell Hashimoto adbcc9f34e core: delete the temporary file if adding succeeds 2014-02-05 21:19:23 -08:00
Mitchell Hashimoto ee139eb79d core: more output for box adding 2014-02-05 21:19:22 -08:00
Mitchell Hashimoto 5b075fa34e core: BoxAdd adds matching provider even if lower version 2014-02-05 21:19:20 -08:00
Mitchell Hashimoto 80194cde35 core: BoxMetadata#version can constrain by providers 2014-02-05 21:19:19 -08:00
Mitchell Hashimoto 7d44cd61c9 core: BoxAdd can add from metadata, version constraints, more 2014-02-05 21:19:18 -08:00
Mitchell Hashimoto 15aa91b073 core: can add/search boxes with slashes in name 2014-02-05 21:19:17 -08:00
Mitchell Hashimoto 8abcc6e5f2 core: BoxMetadata can read the JSON description 2014-02-05 21:19:15 -08:00
Mitchell Hashimoto e111b7a691 core: environment tests pass 2014-02-05 21:19:12 -08:00
Mitchell Hashimoto d87c414327 core: Box has a version field 2014-02-05 21:19:10 -08:00
Mitchell Hashimoto 87a85488d1 core: all box collection tests pass 2014-02-05 21:19:09 -08:00
Mitchell Hashimoto 4c1fa7359d core: BoxCollection can find with version constraints 2014-02-05 21:19:07 -08:00
Mitchell Hashimoto 77b5fa94b7 core: BoxCollection#all returns versions 2014-02-05 21:19:06 -08:00
Mitchell Hashimoto 6cddb92407 core: error if newer home dir version is detected 2014-02-05 21:19:05 -08:00
Mitchell Hashimoto b52d33e0af core: upgrade to v1.5 box dir format if it can 2014-02-05 21:19:04 -08:00
Mitchell Hashimoto 5253da79cd core: use a Monitor in BoxCollection 2014-02-05 21:19:03 -08:00
Mitchell Hashimoto a03bc763f9 core: tests around the environment setup_version 2014-02-05 21:19:01 -08:00
Mitchell Hashimoto f72db0c611 core: config raises NoMethodError on bad calls once finalized 2014-02-05 16:14:58 -08:00
Mitchell Hashimoto 5030a16f84 kernel/v2: default all configs properly, remove config/default.rb 2014-02-05 15:36:35 -08:00
Mitchell Hashimoto f63ef395f1 Merge branch 'rsync_install' of https://github.com/tmatilai/vagrant into tmatilai-rsync_install
Conflicts:
	plugins/guests/freebsd/plugin.rb
	plugins/guests/netbsd/plugin.rb
	plugins/guests/openbsd/plugin.rb
2014-02-03 12:12:49 +01:00
Mitchell Hashimoto 592c577b2e Merge pull request #2922 from tmatilai/file_provisioner_expand_path
provisioners/file: expand destination path if capable
2014-02-03 02:52:57 -08:00
Teemu Matilainen e634cdc824 guests: rename LinuxShellExpandFailed error to ShellExpandFailed
Make the error generic for all guests (`DarwinShellExpandFailed` didn't
even exist) and not tied to synced folder.
2014-02-02 17:26:54 -03:00
Mitchell Hashimoto 07389f26ed core: Force bundler usage if in Installer 2014-02-02 20:32:39 +01:00
Mitchell Hashimoto 3ed7b2618a Add new version.txt used to generate installers 2014-02-02 15:33:12 +01:00
Mitchell Hashimoto bc55081e9f core: execute the specified Vagrant executable in pre-rubygems.rb 2014-02-01 16:28:45 +01:00
Teemu Matilainen ee2ae94c25 synced_folders/rsync: Install `rsync` on guest if needed
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.

Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Mitchell Hashimoto 83b22de944 Merge pull request #2888 from obfusk/fix-mktmpdir
core: Clean up temp dir used by fs_case_sensitive?
2014-01-27 09:26:43 -08:00
Mitchell Hashimoto a924a7b48c core: provider capabilities 2014-01-26 14:15:06 -08:00
Felix C. Stegerman 5c3555b56b Clean up temp dir used by fs_case_sensitive? 2014-01-25 04:57:52 +01:00
Mitchell Hashimoto 0e9cac5b07 core: clear line with \033[K 2014-01-23 13:22:10 -08:00
Mitchell Hashimoto 00530303fb core: color success Ui green 2014-01-23 13:15:07 -08:00
Mitchell Hashimoto 2b9e7ca14e core: merge default synced folders ,don't override [GH-2873] 2014-01-21 20:13:08 -08:00
Mitchell Hashimoto e80552b6aa core: if synced folder type is blank, use default 2014-01-21 20:10:32 -08:00
Mitchell Hashimoto 06f1ebf752 core: add more tests for MachineReadable UI 2014-01-21 12:11:53 -08:00
Mitchell Hashimoto f2f58655e8 core: get rid of more references to scope, old terminology 2014-01-21 12:06:04 -08:00
Mitchell Hashimoto 26366d0673 core: remove BasicScope class, not used anymore 2014-01-21 12:04:32 -08:00
Mitchell Hashimoto a32e154e6e core: use cleaner UI abstractions 2014-01-20 17:18:36 -08:00
Mitchell Hashimoto fc86a10796 core: only bold when output is part of a machine 2014-01-20 16:37:06 -08:00
Mitchell Hashimoto 714c690d8b Merge pull request #2857 from mitchellh/f-ui-revamp
UI revamp
2014-01-20 16:22:36 -08:00
Carlos López 8d1cc513ec Fixed: dup string if frozen when formatting output for machine. 2014-01-19 14:34:32 +00:00
Mitchell Hashimoto 3f62addac2 core: make output white for now 2014-01-17 21:53:17 -08:00
Mitchell Hashimoto 0eec9aa599 core: extensive tests for Vagrant::UI classes 2014-01-17 21:31:07 -08:00
Mitchell Hashimoto ac2ca2537d core: Ui color should be red on errors, yellow on warnings 2014-01-17 21:03:05 -08:00
Mitchell Hashimoto 1b8f1a3864 core: convert more output to `output` method 2014-01-17 21:03:04 -08:00
Mitchell Hashimoto 5b449c8000 providers/virtualbox: many `detail` level output 2014-01-17 21:03:00 -08:00
Mitchell Hashimoto b557ee5625 core: align text and make sure its all lined up with prefixes 2014-01-17 21:02:59 -08:00
Mitchell Hashimoto f3d102e069 core: colorize VM output for each VM in a command 2014-01-17 21:02:58 -08:00
Mitchell Hashimoto afbed7e816 core: add output/detail methods to Ui, prefix with arrows 2014-01-17 21:02:57 -08:00
Mitchell Hashimoto a0f2ca5e8b core: clarify some logic for colors 2014-01-17 10:29:20 -08:00
Mitchell Hashimoto 5bc96ad4bf core: For dev, temporarily use branch of Childprocess, fix Win issue 2014-01-17 09:39:51 -08:00
Mitchell Hashimoto 83245e6b2a core: Within a Bundler env, don't manage Bundler 2014-01-17 09:39:20 -08:00
Mitchell Hashimoto 2f4944903e core: cleaner method of mirroring stdin for Windows 2014-01-16 22:53:13 -08:00
Mitchell Hashimoto a6be44125d core: Seperate out IO util helper 2014-01-16 22:46:25 -08:00