pulumi/pkg
Joe Duffy 16ade183d8
Add a manifest to checkpoint files (#630)
This change adds a new manifest section to the checkpoint files.
The existing time moves into it, and we add to it the version of
the Pulumi CLI that created it, along with the names, types, and
versions of all plugins used to generate the file.  There is a
magic cookie that we also use during verification.

This is to help keep us sane when debugging problems "in the wild,"
and I'm sure we will add more to it over time (checksum, etc).

For example, after an up, you can now see this in `pulumi stack`:

```
Current stack is demo:
    Last updated at 2017-12-01 13:48:49.815740523 -0800 PST
    Pulumi version v0.8.3-79-g1ab99ad
    Plugin pulumi-provider-aws [resource] version v0.8.3-22-g4363e77
    Plugin pulumi-langhost-nodejs [language] version v0.8.3-79-g77bb6b6
    Checkpoint file is /Users/joeduffy/dev/code/src/github.com/pulumi/pulumi-aws/.pulumi/stacks/webserver/demo.json
```

This addresses pulumi/pulumi#628.
2017-12-01 13:50:32 -08:00
..
apitype Wire Package.Main to the Pulumi Service. (#615) 2017-11-30 08:14:47 -08:00
compiler/errors Use Stack over Environment to describe a deployment target 2017-10-16 13:04:20 -07:00
diag Add (back) component outputs 2017-11-20 17:38:09 -08:00
encoding Use go-yaml directly 2017-10-20 14:01:37 -07:00
engine Wire Package.Main to the Pulumi Service. (#615) 2017-11-30 08:14:47 -08:00
graph Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
operations Merge branch 'master' of github.com:pulumi/pulumi into resource_parenting_lite 2017-11-29 08:16:38 -08:00
pack Provide a way to opt out of default ignores 2017-11-22 12:13:44 -08:00
resource Add a manifest to checkpoint files (#630) 2017-12-01 13:50:32 -08:00
testing Ignore unreasonable lint warning 2017-11-30 18:55:18 -08:00
tokens Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
tools Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
util Wire Package.Main to the Pulumi Service. (#615) 2017-11-30 08:14:47 -08:00
version Add a manifest to checkpoint files (#630) 2017-12-01 13:50:32 -08:00
workspace Merge remote-tracking branch 'origin/resource_parenting' into resource_parenting_lite 2017-11-28 11:03:34 -08:00