928 Commits

Author SHA1 Message Date
Mitchell Hashimoto
94cfe39a76 packer: coreBuild.Cancel calls the builder Cancel method 2013-06-03 16:06:04 -07:00
Mitchell Hashimoto
30a061a855 packer: Build.Cancel 2013-06-03 16:03:08 -07:00
Mitchell Hashimoto
0ba80c88e8 packer/plugin: Implement Builder.Cancel 2013-06-03 15:31:28 -07:00
Mitchell Hashimoto
e06c26c55c packer/rpc: Implement Builder.Cancel 2013-06-03 15:30:09 -07:00
Mitchell Hashimoto
1b557d7710 packer/rpc: Builder.Run() no longer blocks RPC connection 2013-06-03 15:00:35 -07:00
Mitchell Hashimoto
079d6f4d43 packer: Introduce Cancel() method to Builder 2013-06-03 14:44:34 -07:00
Mitchell Hashimoto
e21d389fd2 packer: Fixin bugs in PrefixUi calling the wrong method 2013-06-03 13:54:28 -07:00
Mitchell Hashimoto
3e1b10c09e packer: ColoredUi bolds, but doesn't bold messages 2013-06-03 13:49:59 -07:00
Mitchell Hashimoto
f041ebb2fd packer: ColoredUi 2013-06-03 13:35:43 -07:00
Mitchell Hashimoto
edab952a68 packer: Add Message method to Ui 2013-06-03 11:30:38 -07:00
Mitchell Hashimoto
bbc5f305e2 packer: RemoteCmd.Wait 2013-06-03 10:49:23 -07:00
Mitchell Hashimoto
75074ca92d go fmt 2013-06-02 23:27:18 -07:00
Mitchell Hashimoto
a21fe8c484 packer/rpc: Exited fields now work over RPC 2013-06-02 23:21:55 -07:00
Mitchell Hashimoto
ea4171f163 packer/rpc: Hook up the new communicator interface 2013-06-02 23:08:40 -07:00
Mitchell Hashimoto
532faec457 packer: New Communicator interface is much simplified 2013-06-02 21:20:27 -07:00
Mitchell Hashimoto
74d812a766 packer: Much smarter CLI 2013-06-02 15:03:02 -07:00
Mitchell Hashimoto
fcd866731b packer: Remove extra newline on version 2013-06-02 11:52:49 -07:00
Mitchell Hashimoto
aa1304f860 packer: Print command help if "--help" is given 2013-06-02 11:49:01 -07:00
Mitchell Hashimoto
bbafcfa938 packer, etc: added Help method to Command interface
This will be used for long-form help when "packer help foo"
or "packer foo --help" is called.
2013-06-02 11:41:12 -07:00
Mitchell Hashimoto
e629eef97a packer/plugin: Start testing the client 2013-06-01 19:35:19 -07:00
Mitchell Hashimoto
45c590f413 packer: Fix help output for packer, excessive newlines 2013-06-01 19:15:32 -07:00
Mitchell Hashimoto
ade3795123 packer: RemoteCommand.StderrChan 2013-06-01 18:49:49 -07:00
Mitchell Hashimoto
e753ffe5d9 packer: Refactor on StdoutChan so it'll work for stderr easily 2013-06-01 18:31:22 -07:00
Mitchell Hashimoto
810d17c0ef packer: RemoteCommand.StdoutChan works + tests 2013-06-01 18:21:27 -07:00
Mitchell Hashimoto
ace53450b9 packer: More efficient RemoteCommand.ExitChan 2013-06-01 17:57:26 -07:00
Mitchell Hashimoto
c6dd54760c Get everything compiling again 2013-06-01 17:48:19 -07:00
Mitchell Hashimoto
8034e91ca3 packer: Lock in RemoteCommand.ExitChan 2013-06-01 17:45:57 -07:00
Mitchell Hashimoto
24237da32c packer: RemoteCommand.ExitChan() and tests 2013-05-28 18:12:15 -07:00
Mitchell Hashimoto
97ba152771 packer: tests for RemoteCommand.Wait 2013-05-28 18:02:14 -07:00
Mitchell Hashimoto
7154b5c0f1 packer/rpc: Close the net conn after done sending data for Comm 2013-05-27 23:36:34 -07:00
Mitchell Hashimoto
78ab1709cd packer/rpc: Better logging in communicator 2013-05-27 22:10:44 -07:00
Mitchell Hashimoto
2788d29bd1 packer, packer/rpc: Update Ui to just take a message 2013-05-27 15:12:48 -07:00
Mitchell Hashimoto
84891701bd go fmt 2013-05-23 21:59:03 -07:00
Mitchell Hashimoto
37372bac93 packer/plugin: Support provisioners 2013-05-23 21:37:16 -07:00
Mitchell Hashimoto
1b78fc88a9 packer: coreBuild runs provisioners as part of Run 2013-05-23 21:26:24 -07:00
Mitchell Hashimoto
83eab87c26 packer: TODO item 2013-05-23 21:13:40 -07:00
Mitchell Hashimoto
812722c20d packer: ProvisionHook 2013-05-23 21:13:18 -07:00
Mitchell Hashimoto
73b7d94933 packer: better commenting 2013-05-22 17:06:06 -07:00
Mitchell Hashimoto
e69e74b2dc packer: Panic if provisioners and no provisioner function 2013-05-22 17:05:36 -07:00
Mitchell Hashimoto
3d0dde03e6 packer: Panic on template if no builder function 2013-05-22 17:02:34 -07:00
Mitchell Hashimoto
534f32067a packer: Test that hooks are callable from builds 2013-05-22 16:46:23 -07:00
Mitchell Hashimoto
0f57370dec packer: Prepare provisioners as part of Build prepare 2013-05-22 16:29:07 -07:00
Mitchell Hashimoto
cb91ca72ac packer: Build.Prepare takes a UI 2013-05-22 16:20:40 -07:00
Mitchell Hashimoto
fbcc6cb2b2 packer: Build now has provisioners, template parses and builds 2013-05-22 16:15:57 -07:00
Mitchell Hashimoto
11d46a3a2c packer: ProvisionerFunc 2013-05-22 15:39:30 -07:00
Mitchell Hashimoto
92a4f27868 packer/rpc: Support provisioners 2013-05-22 15:35:52 -07:00
Mitchell Hashimoto
638e191186 packer: Parse provisioners out of template 2013-05-22 15:12:43 -07:00
Mitchell Hashimoto
06b0cebd1e packer: Template properly calls builder type builderType 2013-05-22 14:39:32 -07:00
Mitchell Hashimoto
4bd7db0759 go fmt 2013-05-22 14:36:33 -07:00
Mitchell Hashimoto
8273565255 better comments for TODO 2013-05-22 14:36:21 -07:00