pulumi/sdk/go/common
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
..
apitype Preview of update plans (#8448) 2022-01-31 10:31:51 +00:00
constant expose execution kind via update metadata (#5258) 2020-08-31 09:07:59 -07:00
diag Allow disabling default providers (#8829) 2022-01-26 18:08:36 +01:00
encoding Improve error message and add test for #1440 (#8268) 2021-10-26 16:55:52 +01:00
resource Preview of update plans (#8448) 2022-01-31 10:31:51 +00:00
testing Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
tokens Make PackageName just a QName (#8807) 2022-01-21 19:23:14 +00:00
tools Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
util Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace [plugins] Fix plugin reinstallation. (#8892) 2022-02-02 23:10:16 -08:00