pulumi/sdk
Kyle Pitzen 7cfecc64de
Simplifies URL parsing for pulumi new <zip> (#14546)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

Currently, we add a bit of "cleverness" to our URL parsing, by removing
`.zip` suffixes when we've determined one exists (and started down the
path of pulumi new-ing a zip ref). That requires upstream API providers
to host their zipfiles at a location _without_ that suffix, which
precludes any existing .zip files hosted at places like github etc which
may have that extension.

This PR removes that logic so we serve as a simple passthrough for
whichever URL we're passed (extending the existing contract). It also
depends on https://github.com/pulumi/pulumi.ai/pull/414 being merged and
deployed.

Fixes https://github.com/pulumi/pulumi.ai/issues/415

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [ ] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-11-13 17:08:52 +00:00
..
go Simplifies URL parsing for pulumi new <zip> (#14546) 2023-11-13 17:08:52 +00:00
nodejs Fix recursive fixups in JavaScript protobuf generation (#14424) 2023-11-10 13:31:14 +00:00
proto/go pass through property values to RunRequest (#14273) 2023-10-20 10:44:16 +00:00
python Add deserialisation cache to Python dynamic provider (#14491) 2023-11-03 21:41:30 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod Allow shallow clones for local workspaces (#14312) 2023-11-01 17:21:52 +00:00
go.sum Allow shallow clones for local workspaces (#14312) 2023-11-01 17:21:52 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.