pulumi/sdk/go/common
Fraser Waters a35c0d0ad7 Warn about non-project mode
In preperation for deprecating non-project mode at some point. This is
phase 1 of encouraging users off of legacy mode.

Any time a user opens a backend in legacy mode (either old states, or
new states with SELF_MANAGED_STATE_LEGACY_LAYOUT set) we'll warn that
non-project mode is due to deprecate this year.

They can disable this warning by setting
PULUMI_DIY_BACKEND_ACKNOWLEDGE_LEGACY_WARNING to true.

The next phase (in a few months) will turn this into an error which
they'll be able to opt out of by setting
PULUMI_DIY_BACKEND_ACKNOWLEDGE_LEGACY_ERROR to true.

After that it will be a hard error and all non-project related code will
be removed.
2024-01-30 10:36:10 +00:00
..
apitype Enable finding Pulumi projects created from Templates (#15056) 2024-01-24 16:47:12 +00:00
channel Send all events to the engine event stream (#14607) 2023-11-20 21:55:59 +00:00
constant Send update metadata about update plans 2022-10-12 22:55:59 +01:00
diag turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
encoding all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
env Warn about non-project mode 2024-01-30 10:36:10 +00:00
promise Use promise rather than `atomic.Value` to record step errors. (#14612) 2023-11-18 19:03:35 +00:00
resource [conformance tests] Fix run root and use program info everywhere (#15191) 2024-01-25 23:28:58 +00:00
slice Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
testing Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
tokens Fix stack name validation check (#15245) 2024-01-27 10:35:20 +00:00
tools all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
util Move buildutil out of sdk/common to the go language host (#15168) 2024-01-17 22:25:47 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace local workspace project validation should include error message (#15279) 2024-01-28 15:29:14 +00:00