pulumi/sdk/go/common/util
Will Jones eadf1ec185
Support always qualifying stack names (#11081) (#15857)
<!--- 
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. -->

This commit adds the `--fully-qualify-stack-names` (or `-Q` for short)
global command-line argument, which when supplied will always print
stack names in the fully-qualified form of `organization/project/stack`.
Fixes #11081.

## Checklist

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

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] 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. -->
2024-04-04 10:11:46 +00:00
..
archive sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
ciutil Use `SYSTEM_PULLREQUEST_SOURCECOMMITID` for AZ pipeline on GH PR (#15513) 2024-02-26 14:55:54 +00:00
cmdutil Support always qualifying stack names (#11081) (#15857) 2024-04-04 10:11:46 +00:00
contract sdk/contract: Deprecate non-f variants 2023-03-03 14:37:59 -08:00
deepcopy turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
env Rename self-managed to diy-backend (#15268) 2024-01-30 09:00:15 +00:00
executable Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
fsutil Don't swallow file not found in fsutil.FileCopy (#14695) 2023-12-06 13:29:40 +00:00
gitutil Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
httputil all: Reformat with gofumpt 2023-03-03 09:00:24 -08: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 Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
retry sdk/common/retry: Fix extraneous backoff 2023-03-24 16:39:02 -07:00
rpcutil Remove deprecated Protobufs imports (#15158) 2024-01-17 09:35:20 +00:00
yamlutil turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00