pulumi/sdk/go/common/workspace
Pat Gavlin 3186657b76
[plugins] Fix plugin reinstallation. (#8892)
Plugin installation has an early return path in the case that the plugin
was already installed. For normal plugin installation, this is okay and
saves some work. For reinstallation, however, this defeats the purpose
by causing installation to return before doing any actual work.

With these changes, we can better accommodate developer scenarios
without requiring that plugins are available on the PATH. For example,
the following script can be used to install a plugin under development:

    tar -c [plugin files] | gzip > plugin.tgz
    pulumi plugin install [kind] [name] [version] -f ./plugin.tgz --reinstall
2022-02-02 23:10:16 -08:00
..
creds.go Fix creds file locking on Windows (#8634) 2021-12-28 11:26:52 -05:00
creds_test.go Fix creds file locking on Windows (#8634) 2021-12-28 11:26:52 -05:00
loaders.go Switch from golint to revive (#8010) 2021-09-21 10:00:44 -07:00
paths.go improve error message when flag passed to -s is not fully qualified (#7708) 2021-08-04 12:55:56 -07:00
plugins.go [plugins] Fix plugin reinstallation. (#8892) 2022-02-02 23:10:16 -08:00
plugins_install_nodejs_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_python_test.go Install plugin dependencies (#5353) 2020-09-14 13:54:26 -07:00
plugins_install_test.go [plugins] Fix plugin reinstallation. (#8892) 2022-02-02 23:10:16 -08:00
plugins_test.go Add support for overriding plugin download URLs (#8798) 2022-01-21 09:04:10 -08:00
project.go [cli] Add the ability to control auto-refresh of stacks by Pulumi.yaml (#8071) 2021-09-29 12:43:48 +03:00
project_test.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go [cli] check main after master (#8463) 2021-11-19 13:49:59 -08:00
templates_test.go Handle blank project names in 'new' (#5504) 2020-10-05 13:40:24 -07:00
workspace.go Improve corrupt workspace settings experience (#8393) 2021-11-11 14:58:39 -08:00