1492 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c2ccd19b15 packer: Parallelize synopsis lookup to speed up help output
Using `time` to calculate the average of 100 iterations on my machine,
`packer` went from 130ms on average to 70ms.

Previously, the load time would scale linearly about 30ms (on my
machine) on average per new command added. Now that is much much
smaller.
2013-08-13 10:16:25 -07:00
Mitchell Hashimoto
1fc4703b97 packer: get rid of unused code 2013-08-13 09:56:37 -07:00
Mitchell Hashimoto
5c26225b86 Update CHANGELOG 2013-08-13 09:54:13 -07:00
Mitchell Hashimoto
9b01b38a87 command/inspect: change logging to be %#v for better values 2013-08-13 09:53:30 -07:00
Mitchell Hashimoto
9775c00881 packer: ParseTemplateFile understands "-" to mean stdin 2013-08-13 09:52:32 -07:00
Mitchell Hashimoto
70282fedee command/inspect: help text shows machine-readable flag 2013-08-13 09:38:54 -07:00
Mitchell Hashimoto
6eceacf11f command/inspect: Inspect a templates contents
This command prints out the components of a template, and most
importantly respects the machine-readable flag so that you can
programmatically inspect a template's contents without manually parsing
the JSON.
2013-08-13 09:36:40 -07:00
Mitchell Hashimoto
e22eb3aa10 packer: export template RawConfig 2013-08-13 09:11:49 -07:00
Mitchell Hashimoto
02987f6c97 packer: Export the raw template config structs 2013-08-13 09:10:49 -07:00
Mitchell Hashimoto
c163d53437 packer: unknown commands show better on UI 2013-08-13 09:07:08 -07:00
Mitchell Hashimoto
eb5559817b Update CHANGELOG 2013-08-13 08:56:25 -07:00
Mitchell Hashimoto
2789162fec builder/virtualbox: instantiate driver in Run method 2013-08-13 08:55:33 -07:00
Mitchell Hashimoto
6090b6ecdf builder/vmware: create driver in Run method 2013-08-13 08:54:12 -07:00
Mitchell Hashimoto
2bec873de5 Up version for dev 2013-08-12 17:23:14 -07:00
Mitchell Hashimoto
0a39650332 provisioner/salt-masterless: switch replace to that prior replace works
/cc @markpeek
v0.3.1
2013-08-12 17:10:50 -07:00
Mitchell Hashimoto
1fd5937839 v0.3.1 2013-08-12 17:05:54 -07:00
Mitchell Hashimoto
95435e484c Update CHANGELOG 2013-08-12 17:00:42 -07:00
Mitchell Hashimoto
bc097abc72 packer: Don't output up to \r with remote command, lost anyways 2013-08-12 16:55:17 -07:00
Mitchell Hashimoto
856f27bc9b provisioner/salt-masterless: replace windows slash with linux [GH-276] 2013-08-12 16:26:46 -07:00
Mitchell Hashimoto
43c6b9e6d1 builder/vmware: find files if they exist [GH-279] 2013-08-12 16:13:06 -07:00
Mitchell Hashimoto
9a2dbd54bf provisioner/shell: start_retry_timeout for reboot handling [GH-260] 2013-08-12 15:49:55 -07:00
Mitchell Hashimoto
1ec2de97a6 communicator/ssh: fix panic when client is nil on reconnect 2013-08-12 15:22:31 -07:00
Mitchell Hashimoto
7d9c7530be packer: replace stdout/stderr after StartWithUi
This just kind of shields the error with StartWithUi if we retry
2013-08-12 15:17:17 -07:00
Mitchell Hashimoto
049dc5bff5 Up version for dev 2013-08-12 14:16:55 -07:00
Mitchell Hashimoto
724e2b3c52 builder/vmware: fix windows builds 2013-08-12 14:01:50 -07:00
Mitchell Hashimoto
0eb9e06637 v0.3.0 v0.3.0 2013-08-12 13:57:04 -07:00
Mitchell Hashimoto
e00f114520 builder/amazon/common: correct logic in deleting secutiry group 2013-08-12 13:43:52 -07:00
Mitchell Hashimoto
c09c1108ca builder/amazon/common: retry deleting security group [GH-278] 2013-08-12 13:34:55 -07:00
Mitchell Hashimoto
34556713dc website: document user data stuff 2013-08-12 12:12:44 -07:00
Mitchell Hashimoto
4d7b0c2dbc builder/amazon/all: support user data file 2013-08-12 11:53:50 -07:00
Mitchell Hashimoto
c1f8e5c3b3 builder/amazon/common: support user_data_file 2013-08-12 11:52:43 -07:00
Mitchell Hashimoto
97b4c7d22b Update CHANGELOG 2013-08-12 11:40:59 -07:00
Mitchell Hashimoto
4e300259c7 Merge pull request #253 from phobos182/master
builder/amazon/common: added passing UserData to goamz.
2013-08-12 11:36:15 -07:00
Mitchell Hashimoto
db903af566 website: document machine-readable types 2013-08-12 11:33:57 -07:00
Mitchell Hashimoto
3c9e504475 command/build: use the real artifact string in machine readable 2013-08-12 10:31:36 -07:00
Mitchell Hashimoto
d88ff24343 packer/rpc: ui.Machine works over RPC properly 2013-08-12 10:25:56 -07:00
Mitchell Hashimoto
f7bd403151 command/build: machine-readable artifacts 2013-08-12 10:09:45 -07:00
Mitchell Hashimoto
1bf2bade7d packer: machine readable output for available commands 2013-08-12 09:22:01 -07:00
Mitchell Hashimoto
d4d58e3779 Fix packer test 2013-08-12 09:19:24 -07:00
Mitchell Hashimoto
4f58b20479 provisioner/salt-masterless: nice error even if bad exit status
/cc @rgarcia
2013-08-12 09:19:11 -07:00
Mitchell Hashimoto
758a53b146 scripts: full SHA1 in build, not short 2013-08-12 09:17:03 -07:00
Mitchell Hashimoto
336495d34c Update CHANGELOG 2013-08-12 00:02:25 -07:00
Mitchell Hashimoto
78d03c58e5 Merge branch 'machine-readable'
This adds the -machine-readable flag to Packer which turns all output
into machine-readable format. This is documented within the website
source.
2013-08-12 00:01:18 -07:00
Mitchell Hashimoto
43b23c5221 packer: version machine-readable output 2013-08-11 23:56:47 -07:00
Mitchell Hashimoto
226e6f5859 website: document machine-readable 2013-08-11 23:56:39 -07:00
Mitchell Hashimoto
bebed45a80 packer: -machine-readable not double hyphen 2013-08-11 23:26:24 -07:00
Mitchell Hashimoto
f4a9d9d3b7 packer: document machine-readable 2013-08-11 23:24:57 -07:00
Mitchell Hashimoto
eed6ece45b packer: replace \r with literal on Ui for MR 2013-08-11 23:19:13 -07:00
Mitchell Hashimoto
04c8592077 packer: replace new lines with literal \n 2013-08-11 23:18:14 -07:00
Mitchell Hashimoto
f3bb028ec3 packer: output a newline after each MR line 2013-08-11 23:14:42 -07:00