mirror of https://github.com/pulumi/pulumi.git
c7985ed296
Note: This is a minor issue that I didn't get to for M11 that isn't required for M11 and would be fine merging for post-M11. When you specify a template name explicitly (e.g. `pulumi new typescript`), we'll try to download the template tarball without first downloading the JSON list of available templates. The JSON includes a description used when replacing the `${DESCRIPTION}` string in template files. Since we didn't download the JSON, we won't have a description, so we fallback to a default value (`"A Pulumi project."`). This also happens when specifying `--offline` to use an existing template under `~/.pulumi/templates`; we won't have a description for the template, so we fallback to a default description. The fallback value happens to be the same as the description for each of our current templates, so noone will currently notice an issue. For M11, I included initial support for a template manifest file where the description (and any future metadata) could be stored, but didn't go as far as actually reading the file. This change makes it so the CLI actually reads the description from the manifest file (if it exists), otherwise falling back to the default value as is done currently. Some minor related cleanup is included in this change. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
debug_cmds.go | ||
destroy.go | ||
history.go | ||
init.go | ||
login.go | ||
logout.go | ||
logs.go | ||
logs_test.go | ||
new.go | ||
plugin.go | ||
plugin_install.go | ||
plugin_ls.go | ||
plugin_rm.go | ||
preview.go | ||
pulumi.go | ||
stack.go | ||
stack_export.go | ||
stack_graph.go | ||
stack_import.go | ||
stack_init.go | ||
stack_ls.go | ||
stack_output.go | ||
stack_output_test.go | ||
stack_rm.go | ||
stack_select.go | ||
update.go | ||
upgrade_config.go | ||
util.go | ||
version.go |