pulumi/sdk/go/common/util
Bryce Lampe 9a8a677a39 [cli/new] Support SSH-style Git URLs
This adds support for SSH-style Git URLs, enabling folks to use
private repos for their templates.

For instance,

    $ pulumi new git@github.com:acmecorp/templates/website

will now work as intended.

The `ssh_config` library handles finding the relevant SSH key for the
given host.

If the SSH key is protected by a password, the user will be prompted to
supply the password on-demand. (It is memoized to avoid asking multiple
times, as the template workflow requires using it more than once.) To
avoid prompting, the `PULUMI_GITSSH_PASSPHRASE` env var can be set.

Fixes #4872 and #5007.
2023-08-02 09:29:34 -07:00
..
archive sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
buildutil sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
ciutil chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00
cmdutil Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
contract sdk/contract: Deprecate non-f variants 2023-03-03 14:37:59 -08:00
deepcopy all: Fix revive issues 2023-03-21 08:55:11 -07:00
env [cli/new] Support SSH-style Git URLs 2023-08-02 09:29:34 -07:00
executable sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
fsutil Make convert more lenient 2023-06-08 11:14:31 +01:00
gitutil [cli/new] Support SSH-style Git URLs 2023-08-02 09:29:34 -07:00
goversion sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
httputil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
logging Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
mapper sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
result sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
retry sdk/common/retry: Fix extraneous backoff 2023-03-24 16:39:02 -07:00
rpcutil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
yamlutil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00