pulumi/sdk/go/common/util
Julien 7e2ccd8757
Prepare golangci-lint upgrade (#17065)
The latest version of golangci-lint (1.60.3) flags a bunch of new issues
in our code base. This PR addresses part of them ahead of the upgrade.

* A dynamic string passed to printf style functions as first argument,
this can lead to bad `%` interpolations. The fix is typically to use
`"%s"` as first argument and pass the dynamic string as 2nd argument.
* Using `os.ModePerm` in tests instead of more restricted file
permissions. The fix is to use 0o600 for files, or 0o700 for
directories.
* Int conversion overflows. The fix has to be done case by case,
checking that no overflow can occur.
2024-08-28 07:57:38 +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 Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +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 Rename self-managed to diy-backend (#15268) 2024-01-30 09:00:15 +00:00
executable Fix potential nil panic in FindExecutable (#16966) 2024-08-14 08:25:06 +00:00
fsutil Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00
gitutil Fix incorrect caching of git auth method in error cases (#16652) 2024-07-16 14:53:32 +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 sdk/common/retry: Fix extraneous backoff 2023-03-24 16:39:02 -07:00
rpcutil Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
yamlutil turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00