pulumi/sdk/go/common/util
Thomas Gummerer 23f6a0b3b6
automatically get latest version for plugins from a git source (#18215)
Plugins from a git source are being introduced in
https://github.com/pulumi/pulumi/pull/17827. That implementation
requires the user to specify the version manually. We can and want to do
better however. This commit makes it so that we detect the version
automatically from the repo.

We do this by first checking if there are any tags that parse as semver,
and if so return the latest tag. If there are no tags that are valid
semver versions, we use the commit hash for the latest commit on the
default branch.

Fixes https://github.com/pulumi/pulumi/issues/18199
Depends on https://github.com/pulumi/pulumi/pull/17827
2025-01-22 08:33:20 +00:00
..
archive Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
ciutil Use `SYSTEM_PULLREQUEST_SOURCECOMMITID` for AZ pipeline on GH PR (#15513) 2024-02-26 14:55:54 +00:00
cmdutil unflake unhandledInterrupt test (#18075) 2024-12-19 11:59:02 +00:00
contract sdk/contract: Deprecate non-f variants 2023-03-03 14:37:59 -08:00
deepcopy disallow OutputState to be deepcopied (#16690) 2024-07-18 12:56:36 +00:00
env Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
executable Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
fsutil Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00
gitutil automatically get latest version for plugins from a git source (#18215) 2025-01-22 08:33:20 +00:00
httputil retry post requests that timeout during handshake (#16576) 2024-07-03 16:22:24 +00:00
logging Use the Depth variants in glog calls (#15307) 2024-01-29 22:51:45 +00:00
mapper turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
result Replace `result.Result` with native errors (#17044) 2024-08-22 14:39:59 +00:00
retry Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
rpcutil Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
yamlutil Preserve ordering when editing stack config. (#17452) 2024-10-02 13:31:10 +00:00