pulumi/cmd
Joe Duffy 423c995dfd
Default an update's message to the Git commit title (#2009)
There is a seldom-used capability in our CLI, the ability to pass
-m to specify an update message, which we will then show prominently.

At the same time, we already scrape some interesting information from
the Git repo from which an update is performed, like the SHA hash,
committer, and author information. We explicitly didn't want to scrape
the entire message just in case someone put sensitive info inside of it.

It seems safe -- indeed, appealing -- to use just the title portion
as the default update message when no other has been provided (the
majority case). We'll work on displaying it in a better way, but this
strengthens our GitOps/CI/CD story.

Fixes pulumi/pulumi#2008.
2018-10-02 10:49:41 -07:00
..
archive.go Add license headers 2018-05-22 15:02:47 -07:00
cancel.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
config.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
config_test.go Consider the key name as part of secret detection 2018-08-09 19:10:14 -07:00
destroy.go Move interactive checking into pkg/util/cmdutil 2018-09-29 10:49:14 -07:00
errors.go Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
gen_completion.go Reworked gen-bash-completion into a more generic completion command (#1967) 2018-09-24 06:25:16 -07:00
gen_markdown.go Add license headers 2018-05-22 15:02:47 -07:00
login.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
logout.go Rename backend packages 2018-09-05 07:32:42 -07:00
logs.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Move interactive checking into pkg/util/cmdutil 2018-09-29 10:49:14 -07:00
plugin.go Implement status sinks 2018-08-31 15:56:53 -07:00
plugin_install.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
plugin_ls.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_rm.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
preview.go Move interactive checking into pkg/util/cmdutil 2018-09-29 10:49:14 -07:00
pulumi.go Move interactive checking into pkg/util/cmdutil 2018-09-29 10:49:14 -07:00
refresh.go Move interactive checking into pkg/util/cmdutil 2018-09-29 10:49:14 -07:00
stack.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_export.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_graph.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_import.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_init.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_ls.go Support some stack operations w/out a Pulumi.yaml (#1998) 2018-09-28 14:30:20 -07:00
stack_output.go Enable stack outputs to be JSON formatted (#2000) 2018-09-29 09:57:58 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Support some stack operations w/out a Pulumi.yaml (#1998) 2018-09-28 14:30:20 -07:00
stack_select.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
up.go Add suggestion for "apply" for "up" command 2018-10-01 13:14:14 +02:00
util.go Default an update's message to the Git commit title (#2009) 2018-10-02 10:49:41 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
whoami.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00