pulumi/sdk/go/common/workspace
Fraser Waters a691975202 Warn about ambient plugins loaded from $PATH
By default Pulumi will load ambient plugins from $PATH before looking in
the plugins directory or at bundled plugins.

While this is very useful for development it often causes confusion when
people have forgotten that they have plugins left on $PATH.

This makes the use of these $PATH plugins a diagnostic warning to try
and make that failure mode a little less silent.

Normal users shouldn't ever have plugins on $PATH and so won't see this
new warning.

Re-instates https://github.com/pulumi/pulumi/pull/13607 with a fix for
symlinks included.
2023-08-08 13:11:34 +01:00
..
config.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
creds.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
creds_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
loaders.go Remove the global caches for project files 2023-03-07 12:44:24 +00:00
paths.go Translate permission errors into ProjectNotFound when searching 2023-06-20 15:15:40 +01:00
paths_test.go Translate permission errors into ProjectNotFound when searching 2023-06-20 15:15:40 +01:00
plugins.go Warn about ambient plugins loaded from $PATH 2023-08-08 13:11:34 +01:00
plugins_install_nodejs_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_python_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
plugins_test.go Warn about ambient plugins loaded from $PATH 2023-08-08 13:11:34 +01:00
project.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
project.json fix #11864: pulumi panics when Pulumi.yaml has a provider with an empty/unspecified `path` key 2023-01-18 10:33:39 -08:00
project_test.go Test project roundtrips 2023-03-07 09:42:56 +00:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go [cli/new] Support SSH-style Git URLs 2023-08-02 09:29:34 -07:00
templates_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
workspace.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00