pulumi/pkg/workspace
Matt Ellis 207a9755d8 Rework configuration model
This change updates our configuration model to make it simpler to
understand by removing some features and changing how things are
persisted in files.

Notable changes:

- We've removed the notion of "workspace" vs "project"
  config. Now, configuration is always stored in a file next to
  `Pulumi.yaml` named `Pulumi.<stack-name>.yaml` (the same file we'd
  use for an other stack specific information we would need to persist
  in the future).
- We've removed the notion of project wide configuration. Every new
  stack gets a completely empty set of configuration and there's no
  way to share common values across stacks, instead the common value
  has to be set on each stack.

We retain some of the old code for the configuration system so we can
support upgrading a project in place. That will happen with the next
change.

This change fixes some issues and allows us to close some
others (since they are no longer possible).

Fixes #866
Closes #872
Closes #731
2018-02-28 17:30:50 -08:00
..
creds.go Use os/user for home directory 2018-02-20 15:35:07 -08:00
paths.go Rework configuration model 2018-02-28 17:30:50 -08:00
plugins.go Check plugin cache first; make version mismatch a warning 2018-02-26 11:39:50 -08:00
project.go Rework configuration model 2018-02-28 17:30:50 -08:00
repository.go Pretty-print some JSON files we persist to disk 2018-01-18 20:35:53 -08:00
settings.go Deprecate old configuration model 2018-02-28 17:25:09 -08:00
workspace.go Rework configuration model 2018-02-28 17:30:50 -08:00