packer-cn/packer
Nika Jones cd29c8d586 Fixes #1092, Adds a format option to the {{isotime}} variable.
Now using the golang magic date: Mon Jan 2 15:04:05 -0700 MST 2006
One can format the time like:

    {{isotime "2006-01-02"}} == "YYYY-MM-DD"
    {{isotime "060102-15"}}  == "YYMMDD-HH" (24-hour clock)
    {{isotime "060102-3"}}   == "YYMMDD-H"  (12-hour clock)

Using {{isotime}} as a standalone variable doesn't change. It still returns RFC3339 formatted time.
2014-05-06 06:18:16 -07:00
..
plugin packer/rpc: use the msgpack codec 2014-04-26 13:31:34 -07:00
rpc packer/rpc: don't reply with arbitrary error 2014-04-28 21:36:49 -07:00
artifact.go packer: Add Destroy method to artifact 2013-06-18 16:01:14 -07:00
artifact_mock.go post-processor/vagrant: more tests 2013-12-19 14:04:45 -08:00
artifact_test.go packer: keep_input_artifact will keep prior artifact in a PP 2013-06-18 22:45:53 -07:00
build.go packer: template now handles user var logic 2013-12-27 09:17:51 -07:00
build_test.go packer: template now handles user var logic 2013-12-27 09:17:51 -07:00
builder.go packer: builder prepare can return warnings 2013-11-02 22:31:12 -05:00
builder_mock.go packer/rpc: use packer.MockBuilder for tests 2013-11-02 22:47:23 -05:00
builder_test.go packer: builder prepare can return warnings 2013-11-02 22:31:12 -05:00
cache.go core: Create cache directory only when needed [GH-367] 2014-04-26 20:33:12 -07:00
cache_test.go core: cache makes proper path with slashes after "." [GH-716] 2013-12-19 18:25:01 -08:00
command.go packer, etc: added Help method to Command interface 2013-06-02 11:41:12 -07:00
command_test.go packer, etc: added Help method to Command interface 2013-06-02 11:41:12 -07:00
communicator.go provisioner/file: support uploading directories [GH-251] 2013-09-09 14:00:06 -07:00
communicator_mock.go packer/rpc: implement UploadDir 2013-08-25 20:30:56 -07:00
communicator_mock_test.go packer: Add UploadDir to the Communicator interface 2013-08-25 20:30:56 -07:00
communicator_test.go packer/rpc: use public MockCommunicator, tests pass 2013-08-25 20:30:56 -07:00
config_template.go Fixes #1092, Adds a format option to the {{isotime}} variable. 2014-05-06 06:18:16 -07:00
config_template_test.go Fixes #1092, Adds a format option to the {{isotime}} variable. 2014-05-06 06:18:16 -07:00
environment.go packer: send error output to stdout for now 2014-02-21 20:14:51 -08:00
environment_test.go fmt 2014-02-21 20:02:55 -08:00
hook.go packer: reset runningHook when done 2013-08-30 22:59:13 -07:00
hook_mock.go packer/rpc: test concurrent cancel/run 2013-08-30 23:10:16 -07:00
hook_test.go packer: no more asserts lib 2013-10-16 21:09:27 -10:00
multi_error.go packer: no need to check if nil since we're appending to slice 2013-08-23 15:25:02 -07:00
multi_error_test.go packer: no more asserts lib 2013-10-16 21:09:27 -10:00
post_processor.go packer: PostProcessor can take multiple configs 2013-07-01 14:59:23 -07:00
post_processor_test.go packer: PostProcessor can take multiple configs 2013-07-01 14:59:23 -07:00
provisioner.go packer: say the pause before next provisioner 2013-12-20 21:39:23 -08:00
provisioner_mock.go packer: PausedProvisioner 2013-12-20 21:36:41 -08:00
provisioner_test.go packer: PausedProvisioner 2013-12-20 21:36:41 -08:00
template.go fmt 2014-05-01 14:24:19 -07:00
template_test.go packer: min_packer_version [GH-487] 2014-04-26 20:51:46 -07:00
ui.go packer: errors go to stderr [GH-868] 2014-02-21 18:29:15 -08:00
ui_test.go fmt 2014-02-21 20:02:55 -08:00
version.go Update version for dev 2014-05-04 14:14:34 -07:00