pulumi/pkg/util
Matt Ellis f953794363 Support .pulumiignore
When deploying a project via the Pulumi.com service, we have to upload
the entire "context" of your project to Pulumi.com. The context of the
program is all files in the directory tree rooted by the `Pulumi.yaml`
file, which will often contain stuff we don't want to upload, but
previously we had no control over what would be updated (and so folks
would do hacky things like delete folders before running `pulumi
update`).

This change adds support for `.pulumiignore` files which should behave
like `.gitignore`. In addition, we were not previously compressing
files when we added them to the zip archive we uploaded and now.

By default, every .pulumiignore file is treated as if it had an
exclusion for `.git/` at the top of the file (users can override this
by adding an explicit `!.git/` to their file) since it is very
unlikely for there to ever be a reason to upload the .git folder to
the service.

Fixes pulumi/pulumi-service#122
2017-11-21 12:09:18 -08:00
..
archive Support .pulumiignore 2017-11-21 12:09:18 -08:00
cmdutil Stop formatting output that should be raw. 2017-11-14 11:26:41 -08:00
contract Enable pulumi update to target the Console (#461) 2017-10-25 10:46:05 -07:00
convutil Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
fsutil Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
mapper Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
rendezvous Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
retry Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
rpcutil Add a missing copyright header 2017-11-19 08:08:30 -08:00
testutil Have engine emit "events" instead of writing to streams 2017-10-09 18:24:56 -07:00