Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gh config clear-cache command #7693

Merged
merged 5 commits into from Aug 30, 2023
Merged

add gh config clear-cache command #7693

merged 5 commits into from Aug 30, 2023

Conversation

ffalor
Copy link
Contributor

@ffalor ffalor commented Jul 12, 2023

Fixes #7242

It assumes cachedir is at $TMPDIR/gh-cli-cache. I wasn't sure how we could get the CacheDir value configured for go-gh.

@ffalor ffalor requested a review from a team as a code owner July 12, 2023 03:34
@ffalor ffalor requested review from samcoe and removed request for a team July 12, 2023 03:34
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Jul 12, 2023
@cliAutomation cliAutomation added this to Needs review 🤔 in The GitHub CLI Jul 12, 2023
@samcoe samcoe self-assigned this Jul 24, 2023
@samcoe
Copy link
Contributor

samcoe commented Jul 24, 2023

@ffalor Thanks for getting started on this work. Rather than hardcoding the cache directory I would rather see us add a CacheDir function to the config package in go-gh. Would you feel up to adding that and then utilizing that in this PR?

@ffalor
Copy link
Contributor Author

ffalor commented Jul 24, 2023

I agree, I'm on vacation this week. If it can wait that long, I'd be happy to add it once I get back.

@ffalor ffalor marked this pull request as draft August 2, 2023 02:49
@ffalor
Copy link
Contributor Author

ffalor commented Aug 2, 2023

@samcoe do you mind giving some more guidance on this? I looked into go-gh. It looks like the cachedir is set in the api package in go-gh is this something that would be stored in the config or retrievable from config? I'm still familiarizing myself with how both cli and go-gh works. Sorry if this is extremely obvious.

@samcoe
Copy link
Contributor

samcoe commented Aug 2, 2023

@ffalor Yeah of course, no problem.

So my proposal is that we create a new PR in the go-gh repo that modifies this line of code to be opts.CacheDir = config.CacheDir() and then we add a CacheDir() function to the config package. Something like:

func CacheDir() string {
    return filepath.Join(os.TempDir(), "gh-cli-cache")
}

Once that PR is merged in the go-gh repo I can make a new release of go-gh. We can then update the version of go-gh in use in gh to the new version and utilize the new config.CacheDir() function instead of hardcoding filepath.Join(os.TempDir(), "gh-cli-cache").

Does that help clarify my previous comment? Let me know if anything is unclear.

@ffalor
Copy link
Contributor Author

ffalor commented Aug 4, 2023

Thank you, that part made sense to me, but is there a scenario where we care about the CacheDir being overridden (line 70)? In that scenario the clear-cache command would be clearing the cache of the default. This would require the CLI to override the cachedir when creating the client which seems unlikely, but I didn't want to open that possibility up without asking.

Of course - I could be thinking about this wrong or overthinking this.

@ffalor ffalor mentioned this pull request Aug 4, 2023
@samcoe
Copy link
Contributor

samcoe commented Aug 6, 2023

@ffalor I don't think we care about the scenario where the CacheDir is overridden. gh does not overwrite the CacheDir and this new command is only supposed to clear the cache that gh uses. If an extension author using go-gh decides to override the CacheDir than we should leave it to them to provide the ability to clear their extension's cache.

@samcoe
Copy link
Contributor

samcoe commented Aug 14, 2023

@ffalor I created a new release of go-gh with the CacheDir changes in it. This should be unblocked now 👍

@ffalor
Copy link
Contributor Author

ffalor commented Aug 30, 2023

Sorry for the delay!

@ffalor ffalor marked this pull request as ready for review August 30, 2023 01:39
Copy link
Contributor

@samcoe samcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ffalor Thanks for finishing this off! Looks good to me. I pushed a small commit adding a bit of 💅

@samcoe samcoe enabled auto-merge (squash) August 30, 2023 15:05
@samcoe samcoe merged commit 7c2e5fd into cli:trunk Aug 30, 2023
6 checks passed
@ffalor ffalor deleted the issue_7242 branch August 30, 2023 16:02
@andyfeller
Copy link
Contributor

@ffalor @samcoe : thank you both for implementing and reviewing this improvement! ❤️

harveysanders added a commit to harveysanders/cli that referenced this pull request Sep 2, 2023
* 'trunk' of github.com:cli/cli:
  Add JSON output flags to workflow list command (cli#7902)
  Add config clear-cache command (cli#7693)
  Allow --disable-wiki flag with --template flag in repo create command (cli#7886)
  Reword token invalid message (cli#7906)
  🐛 (repo create)execute clone when readme option is enabled (cli#7837)
  Use go-gh prompter package (cli#7896)
  pr checks return distinct exit code for PENDING checks (cli#7866)
  Properly rename remote for GHES hosts (cli#7890)
  Add verbose flag to api cmd (cli#7826)
  Fix up Nix installation instructions (cli#7891)
renovate bot added a commit to scottames/dots that referenced this pull request Sep 13, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [aquaproj/aqua-registry](https://togithub.com/aquaproj/aqua-registry)
| minor | `v4.43.0` -> `v4.48.0` |
| [cli/cli](https://togithub.com/cli/cli) | minor | `v2.33.0` ->
`v2.34.0` |
| [kevincobain2000/gobrew](https://togithub.com/kevincobain2000/gobrew)
| minor | `v1.8.7` -> `v1.9.0` |
|
[terraform-linters/tflint](https://togithub.com/terraform-linters/tflint)
| minor | `v0.47.0` -> `v0.48.0` |
| [twpayne/chezmoi](https://togithub.com/twpayne/chezmoi) | minor |
`v2.38.0` -> `v2.39.1` |
| [weaveworks/eksctl](https://togithub.com/weaveworks/eksctl) | minor |
`v0.155.0` -> `v0.156.0` |

---

### Release Notes

<details>
<summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary>

###
[`v4.48.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.48.0)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.47.0...v4.48.0)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.48.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.48.0)
| aquaproj/aqua-registry@v4.47.0...v4.48.0

#### 🎉 New Packages


[#&#8203;15348](https://togithub.com/aquaproj/aqua-registry/issues/15348)
[go-to-k/cls3](https://togithub.com/go-to-k/cls3): The CLI tool "cls3"
is to CLear S3 Buckets. It empties (so deletes all objects and
versions/delete-markers in) S3 Buckets or deletes the buckets themselves
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

[#&#8203;15347](https://togithub.com/aquaproj/aqua-registry/issues/15347)
[go-to-k/delstack](https://togithub.com/go-to-k/delstack): CLI tool to
force delete the entire AWS CloudFormation stack, even if it contains
resources that fail to delete by the CloudFormation delete operation
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

#### Fixes


[#&#8203;15346](https://togithub.com/aquaproj/aqua-registry/issues/15346)
eza-community/eza: Follow up changes of eza
[v0.11.1](https://togithub.com/eza-community/eza/releases/tag/v0.11.1)

###
[`v4.47.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.47.0)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.46.0...v4.47.0)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.47.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.47.0)
| aquaproj/aqua-registry@v4.46.0...v4.47.0

#### 🎉 New Packages


[#&#8203;15293](https://togithub.com/aquaproj/aqua-registry/issues/15293)
[dev.yorhel.nl/ncdu](https://dev.yorhel.nl/ncdu): Ncdu is a disk usage
analyzer with an ncurses interface
[@&#8203;4513ECHO](https://togithub.com/4513ECHO)

[#&#8203;15291](https://togithub.com/aquaproj/aqua-registry/issues/15291)
[#&#8203;15292](https://togithub.com/aquaproj/aqua-registry/issues/15292)
[eza-community/eza](https://togithub.com/eza-community/eza): A modern,
maintained replacement for ls
[@&#8203;4513ECHO](https://togithub.com/4513ECHO)

[#&#8203;15296](https://togithub.com/aquaproj/aqua-registry/issues/15296)
[fujiwara/greenlight](https://togithub.com/fujiwara/greenlight):
greenlight is a graceful health check agent
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

###
[`v4.46.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.46.0)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.45.0...v4.46.0)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.46.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.46.0)
| aquaproj/aqua-registry@v4.45.0...v4.46.0

#### 🎉 New Packages


[#&#8203;15274](https://togithub.com/aquaproj/aqua-registry/issues/15274)
[aws/session-manager-plugin](https://togithub.com/aws/session-manager-plugin):
This plugin helps you to use the AWS Command Line Interface (AWS CLI) to
start and end sessions to your managed instances
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

#### Fixes


[#&#8203;15290](https://togithub.com/aquaproj/aqua-registry/issues/15290)
Rename the package `weaveworks/eksctl` to `eksctl-io/eksctl`
[@&#8203;mikutas](https://togithub.com/mikutas)

https://github.com/weaveworks/eksctl is redirected to
https://github.com/eksctl-io/eksctl .

[Weaveworks and AWS Collaborate to Enhance the Official CLI for EKS
(eksctl)](https://www.weave.works/blog/weaveworks-and-aws-collaborate-to-enhance-the-open-source-eks-cli)

###
[`v4.45.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.45.0)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.44.3...v4.45.0)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.45.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.45.0)
| aquaproj/aqua-registry@v4.44.3...v4.45.0

#### 🎉 New Packages


[#&#8203;15261](https://togithub.com/aquaproj/aqua-registry/issues/15261)
[go-to-k/lamver](https://togithub.com/go-to-k/lamver): CLI tool to
search AWS Lambda runtime and versions across regions

[#&#8203;15263](https://togithub.com/aquaproj/aqua-registry/issues/15263)
[okta/okta-aws-cli](https://togithub.com/okta/okta-aws-cli): A CLI for
having Okta as the IdP for AWS CLI operations
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

###
[`v4.44.3`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.44.3)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.44.2...v4.44.3)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.44.3)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.44.3)
| aquaproj/aqua-registry@v4.44.2...v4.44.3

#### Fixes


[#&#8203;15242](https://togithub.com/aquaproj/aqua-registry/issues/15242)
fix(jqlang/jq): Optimize version_overrides and recover the alias
`stedolan/jq` [@&#8203;4513ECHO](https://togithub.com/4513ECHO)

###
[`v4.44.2`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.44.2)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.44.1...v4.44.2)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.44.2)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.44.2)
| aquaproj/aqua-registry@v4.44.1...v4.44.2

#### Fixes


[#&#8203;15230](https://togithub.com/aquaproj/aqua-registry/issues/15230)
getsops/sops: Rename the package `mozilla/sops` to `getsops/sops`
[@&#8203;natemccurdy](https://togithub.com/natemccurdy)

The repository [mozilla/sops](https://togithub.com/mozilla/sops) was
transferred to [getsops/sops](https://togithub.com/getsops/sops).


[#&#8203;15233](https://togithub.com/aquaproj/aqua-registry/issues/15233)
jqlang/jq: Follow up changes of jq 1.7

#### 🎉 New Contributors 🎉

Thank you for your contribution!

[@&#8203;natemccurdy](https://togithub.com/natemccurdy)
[#&#8203;15230](https://togithub.com/aquaproj/aqua-registry/issues/15230)

###
[`v4.44.1`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.44.1)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.44.0...v4.44.1)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.44.1)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.44.1)
| aquaproj/aqua-registry@v4.44.0...v4.44.1

#### Fixes


[#&#8203;15165](https://togithub.com/aquaproj/aqua-registry/issues/15165)
Rename packages b4b4r07/\* to babarot/\*

The GitHub User was renamed.

-   https://github.com/b4b4r07
-   https://github.com/babarot

###
[`v4.44.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.44.0)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.43.1...v4.44.0)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.44.0)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.44.0)
| aquaproj/aqua-registry@v4.43.1...v4.44.0

#### 🎉 New Packages


[#&#8203;15122](https://togithub.com/aquaproj/aqua-registry/issues/15122)
[theurichde/go-aws-sso](https://togithub.com/theurichde/go-aws-sso):
Makes dealing with AWS SSO Logins an ease
[@&#8203;ponkio-o](https://togithub.com/ponkio-o)

###
[`v4.43.1`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v4.43.1)

[Compare
Source](https://togithub.com/aquaproj/aqua-registry/compare/v4.43.0...v4.43.1)


[Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.43.1)
| [Pull
Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.43.1)
| aquaproj/aqua-registry@v4.43.0...v4.43.1

##### Fixes


[#&#8203;15106](https://togithub.com/aquaproj/aqua-registry/issues/15106)
aquasecurity/tfsec: Support old versions

[#&#8203;15073](https://togithub.com/aquaproj/aqua-registry/issues/15073)
johnkerl/miller: Follow up changes of miller v6.9.0

assets were renamed.
[aquaproj/aqua-registry#15046 (comment)


[#&#8203;15021](https://togithub.com/aquaproj/aqua-registry/issues/15021)
Rename the package `acorn-io/acorn` to `acorn-io/runtime`

The repository was transferred.

https://github.com/acorn-io/acorn is redirected to
https://github.com/acorn-io/runtime


[#&#8203;15019](https://togithub.com/aquaproj/aqua-registry/issues/15019)
telepresenceio/telepresence: Change the package type to `github_release`

</details>

<details>
<summary>cli/cli (cli/cli)</summary>

### [`v2.34.0`](https://togithub.com/cli/cli/releases/tag/v2.34.0):
GitHub CLI 2.34.0

[Compare Source](https://togithub.com/cli/cli/compare/v2.33.0...v2.34.0)

#### What's New

- `api`: Add `--verbose` flag by
[@&#8203;JunNishimura](https://togithub.com/JunNishimura) in
[cli/cli#7826
- `config clear-cache`: New command to clear the cli cache by
[@&#8203;ffalor](https://togithub.com/ffalor) in
[cli/cli#7693
- `workflow list`: Add `--json`, `--jq` and `--template` flags by
[@&#8203;rajhawaldar](https://togithub.com/rajhawaldar) in
[cli/cli#7902
- `project mark-template`: New command to control project template
options by [@&#8203;mntlty](https://togithub.com/mntlty) in
[cli/cli#7916
[cli/cli#7923

#### What's Changed

- `docs`: Fix Nix/NixOS install docs by
[@&#8203;junaga](https://togithub.com/junaga) in
[cli/cli#7891
- `repo rename`: Properly rename remote for GHES hosts by
[@&#8203;samcoe](https://togithub.com/samcoe) in
[cli/cli#7890
- `pr checks`: Return different exit code for PENDING vs FAILED by
[@&#8203;rajhawaldar](https://togithub.com/rajhawaldar) in
[cli/cli#7866
- `repo create`: Execute clone when readme option is enabled by
[@&#8203;shion1305](https://togithub.com/shion1305) in
[cli/cli#7837
- `repo create`: Allow `--disable-wiki` flag with `--template` flag by
[@&#8203;utouto97](https://togithub.com/utouto97) in
[cli/cli#7886
- `auth status`: Reword token invalid message by
[@&#8203;kousikmitra](https://togithub.com/kousikmitra) in
[cli/cli#7906
- `status`: Show status even if a comment 404s by
[@&#8203;rwe](https://togithub.com/rwe) in
[cli/cli#7873
- `run view`: Fetch all run jobs by
[@&#8203;harveysanders](https://togithub.com/harveysanders) in
[cli/cli#7879
- Use go-gh prompter package by
[@&#8203;samcoe](https://togithub.com/samcoe) in
[cli/cli#7896
- Add formula-path to homebrew-bump step by
[@&#8203;williammartin](https://togithub.com/williammartin) in
[cli/cli#7930
- build(deps): bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[cli/cli#7937

#### New Contributors

- [@&#8203;junaga](https://togithub.com/junaga) made their first
contribution in
[cli/cli#7891
- [@&#8203;utouto97](https://togithub.com/utouto97) made their first
contribution in
[cli/cli#7886
- [@&#8203;rwe](https://togithub.com/rwe) made their first contribution
in
[cli/cli#7873

**Full Changelog**: cli/cli@v2.33.0...v2.34.0

</details>

<details>
<summary>kevincobain2000/gobrew (kevincobain2000/gobrew)</summary>

###
[`v1.9.0`](https://togithub.com/kevincobain2000/gobrew/releases/tag/v1.9.0)

[Compare
Source](https://togithub.com/kevincobain2000/gobrew/compare/v1.8.9...v1.9.0)

#### Changelog

-
[`10c5b48`](https://togithub.com/kevincobain2000/gobrew/commit/10c5b48)
Merge pull request
[#&#8203;130](https://togithub.com/kevincobain2000/gobrew/issues/130)
from kevincobain2000/status-code
-
[`e21e4c3`](https://togithub.com/kevincobain2000/gobrew/commit/e21e4c3)
Merge pull request
[#&#8203;131](https://togithub.com/kevincobain2000/gobrew/issues/131)
from kevincobain2000/limit-versions
-
[`2675532`](https://togithub.com/kevincobain2000/gobrew/commit/2675532)
feat: check statusCode from response
-
[`2505d29`](https://togithub.com/kevincobain2000/gobrew/commit/2505d29)
feat: do not print blacklisted versions

###
[`v1.8.9`](https://togithub.com/kevincobain2000/gobrew/releases/tag/v1.8.9)

[Compare
Source](https://togithub.com/kevincobain2000/gobrew/compare/v1.8.8...v1.8.9)

#### Changelog

-
[`6d9a33b`](https://togithub.com/kevincobain2000/gobrew/commit/6d9a33b)
Merge pull request
[#&#8203;125](https://togithub.com/kevincobain2000/gobrew/issues/125)
from kevincobain2000/version_match
-
[`ca774a8`](https://togithub.com/kevincobain2000/gobrew/commit/ca774a8)
Merge pull request
[#&#8203;126](https://togithub.com/kevincobain2000/gobrew/issues/126)
from kevincobain2000/versions
-
[`7f5a2ec`](https://togithub.com/kevincobain2000/gobrew/commit/7f5a2ec)
fix: check version before changing
-
[`cc35d7b`](https://togithub.com/kevincobain2000/gobrew/commit/cc35d7b)
fix: goreleaser config for gobrew version

###
[`v1.8.8`](https://togithub.com/kevincobain2000/gobrew/releases/tag/v1.8.8)

[Compare
Source](https://togithub.com/kevincobain2000/gobrew/compare/v1.8.7...v1.8.8)

#### Changelog

-
[`46f21db`](https://togithub.com/kevincobain2000/gobrew/commit/46f21db)
(ci) coveritup metrics
-
[`f1834c5`](https://togithub.com/kevincobain2000/gobrew/commit/f1834c5)
(ci) gosec install
-
[`5dd6379`](https://togithub.com/kevincobain2000/gobrew/commit/5dd6379)
(ci) gosec issues
-
[`ef5a09d`](https://togithub.com/kevincobain2000/gobrew/commit/ef5a09d)
(ci) links updated
-
[`64a22ea`](https://togithub.com/kevincobain2000/gobrew/commit/64a22ea)
(ci) missing deps and version
-
[`ee5aeb4`](https://togithub.com/kevincobain2000/gobrew/commit/ee5aeb4)
(ci) strategy
-
[`107bd0f`](https://togithub.com/kevincobain2000/gobrew/commit/107bd0f)
(embed) link updated
-
[`0241c56`](https://togithub.com/kevincobain2000/gobrew/commit/0241c56)
Merge pull request
[#&#8203;116](https://togithub.com/kevincobain2000/gobrew/issues/116)
from kevincobain2000/develop
-
[`eb5a14c`](https://togithub.com/kevincobain2000/gobrew/commit/eb5a14c)
Merge pull request
[#&#8203;117](https://togithub.com/kevincobain2000/gobrew/issues/117)
from kevincobain2000/develop
-
[`053f982`](https://togithub.com/kevincobain2000/gobrew/commit/053f982)
Merge pull request
[#&#8203;120](https://togithub.com/kevincobain2000/gobrew/issues/120)
from kevincobain2000/develop
-
[`29348d7`](https://togithub.com/kevincobain2000/gobrew/commit/29348d7)
Merge pull request
[#&#8203;122](https://togithub.com/kevincobain2000/gobrew/issues/122)
from kevincobain2000/refactoring
-
[`61edf64`](https://togithub.com/kevincobain2000/gobrew/commit/61edf64)
Update README.md
-
[`91dbe02`](https://togithub.com/kevincobain2000/gobrew/commit/91dbe02)
feat: improvement of tests
-
[`27ba27c`](https://togithub.com/kevincobain2000/gobrew/commit/27ba27c)
feat: update actions/checkout v2 -> v4
-
[`eb4ef09`](https://togithub.com/kevincobain2000/gobrew/commit/eb4ef09)
feat: use CheckError for handling errors
-
[`9fdc3a4`](https://togithub.com/kevincobain2000/gobrew/commit/9fdc3a4)
feat: use gookit/color for printing
-
[`c8abc38`](https://togithub.com/kevincobain2000/gobrew/commit/c8abc38)
feat: use gookit/color for printing

</details>

<details>
<summary>terraform-linters/tflint (terraform-linters/tflint)</summary>

###
[`v0.48.0`](https://togithub.com/terraform-linters/tflint/releases/tag/v0.48.0)

[Compare
Source](https://togithub.com/terraform-linters/tflint/compare/v0.47.0...v0.48.0)

##### What's Changed

##### Breaking Changes

- Bump tflint-plugin-sdk to v0.18.0 by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1813
- This change causes the deprecated `IncludeNotCreated` option to be
ignored. Most plugin users will not be affected.

##### BugFixes

- langserver: Trap os.Interrupt and syscall.SIGTERM by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1809
- Bump github.com/hashicorp/hcl to v2.18.0 by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1833
- tflint: Allow commas with spaces in annotations by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1834

##### Chores

- build(deps): Bump alpine from 3.18.0 to 3.18.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1784
- build(deps): Bump google.golang.org/grpc from 1.55.0 to 1.56.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1785
- build(deps): Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1786
- build(deps): Bump sigstore/cosign-installer from 3.0.5 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1792
- build(deps): Bump google.golang.org/grpc from 1.56.0 to 1.56.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1793
- build(deps): Bump sigstore/cosign-installer from 3.1.0 to 3.1.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1798
- Remove hard-coded versions from integration tests by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1799
- build(deps): Bump golang.org/x/text from 0.10.0 to 0.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1806
- build(deps): Bump golang.org/x/crypto from 0.10.0 to 0.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1804
- build(deps): Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1803
- build(deps): Bump google.golang.org/grpc from 1.56.1 to 1.56.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1805
- Remove obsoleted PGP public key by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1800
- Add make release for release automation by
[@&#8203;wata727](https://togithub.com/wata727) in
[terraform-linters/tflint#1802
- build(deps): Bump google.golang.org/grpc from 1.56.2 to 1.57.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1815
- build(deps): Bump golang.org/x/crypto from 0.11.0 to 0.12.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1820
- build(deps): Bump golang.org/x/text from 0.11.0 to 0.12.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1821
- build(deps): Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1822
- deps: upgrade to use go1.21 by
[@&#8203;chenrui333](https://togithub.com/chenrui333) in
[terraform-linters/tflint#1823
- build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1829
- build(deps): Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[terraform-linters/tflint#1830

**Full Changelog**:
terraform-linters/tflint@v0.47.0...v0.48.0

</details>

<details>
<summary>twpayne/chezmoi (twpayne/chezmoi)</summary>

###
[`v2.39.1`](https://togithub.com/twpayne/chezmoi/releases/tag/v2.39.1)

[Compare
Source](https://togithub.com/twpayne/chezmoi/compare/v2.39.0...v2.39.1)

#### Changelog

##### Fixes

- [`46e13ed`](https://togithub.com/twpayne/chezmoi/commit/46e13edd) fix:
Ensure default template data when reading .chezmoidata in subdir

##### Documentation updates

- [`fe10a69`](https://togithub.com/twpayne/chezmoi/commit/fe10a696)
docs: Improve developer experience under fish
- [`5b738bd`](https://togithub.com/twpayne/chezmoi/commit/5b738bde)
docs: Fix documentation on dirs vs content in .chezmoiignore

###
[`v2.39.0`](https://togithub.com/twpayne/chezmoi/releases/tag/v2.39.0)

[Compare
Source](https://togithub.com/twpayne/chezmoi/compare/v2.38.0...v2.39.0)

#### Changelog

##### Features

- [`acb8937`](https://togithub.com/twpayne/chezmoi/commit/acb89370)
feat: add .chezmoi.targetFile template variable
- [`205fd6c`](https://togithub.com/twpayne/chezmoi/commit/205fd6c5)
feat: Add age command
- [`f6947d3`](https://togithub.com/twpayne/chezmoi/commit/f6947d39)
feat: Add bitwardenSecrets template function

##### Fixes

- [`40b711d`](https://togithub.com/twpayne/chezmoi/commit/40b711d1) fix:
Handle .chezmoidata files in subdirectories when template has already
been executed
- [`6fa4fe4`](https://togithub.com/twpayne/chezmoi/commit/6fa4fe40) fix:
Update goreleaser changelog

##### Documentation updates

- [`a89e0e0`](https://togithub.com/twpayne/chezmoi/commit/a89e0e08)
docs: Tweak location of private key in age onetime passphrase how-to
- [`da9f3c6`](https://togithub.com/twpayne/chezmoi/commit/da9f3c63)
docs: Use age command in onetime passphrase how-to
- [`fe903d4`](https://togithub.com/twpayne/chezmoi/commit/fe903d4b)
docs: Minor expansion of application order docs
- [`02ffbd7`](https://togithub.com/twpayne/chezmoi/commit/02ffbd76)
docs: Add link to article

</details>

<details>
<summary>weaveworks/eksctl (weaveworks/eksctl)</summary>

###
[`v0.156.0`](https://togithub.com/eksctl-io/eksctl/releases/tag/v0.156.0):
eksctl 0.156.0 (permalink)

[Compare
Source](https://togithub.com/weaveworks/eksctl/compare/0.155.0...0.156.0)

### Release v0.156.0

#### 🚀 Features

- Adopters for eksctl
([#&#8203;7027](https://togithub.com/weaveworks/eksctl/issues/7027))

#### 🐛 Bug Fixes

- Cleanup subnets with invalid AZs before importing VPC from CFN stack
([#&#8203;6935](https://togithub.com/weaveworks/eksctl/issues/6935))

#### 🧰 Maintenance

- Bump dependencies
([#&#8203;7025](https://togithub.com/weaveworks/eksctl/issues/7025))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone
America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/scottames/dots).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external pull request originating outside of the CLI core team
Projects
No open projects
The GitHub CLI
  
Needs review 🤔
Development

Successfully merging this pull request may close these issues.

Add support for clearing cache
4 participants