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

Migrate from mitchellh/cli to hashicorp/cli #311

Closed
bflad opened this issue Dec 20, 2023 · 1 comment · Fixed by #322
Closed

Migrate from mitchellh/cli to hashicorp/cli #311

bflad opened this issue Dec 20, 2023 · 1 comment · Fixed by #322
Assignees
Labels
dependencies Pull requests that update a dependency file
Milestone

Comments

@bflad
Copy link
Member

bflad commented Dec 20, 2023

Description

The mitchellh/cli dependency is being archived, per this announcement. HashiCorp had already made the fork and published v1.1.6 release. Terraform itself has already been migrated.

Proposal

Replace Go imports of github.com/mitchellh/cli with github.com/hashicorp/cli. It should be a drop-in replacement.

go get github.com/hashicorp/cli@v1.1.6
go mod tidy

The github.com/mitchellh/cli dependency should no longer be a direct dependency in go.mod.

@bflad bflad added the dependencies Pull requests that update a dependency file label Dec 20, 2023
@bflad bflad added this to the v0.17.0 milestone Dec 20, 2023
@bflad bflad self-assigned this Jan 11, 2024
bflad added a commit that referenced this issue Jan 11, 2024
Reference: #311

Done via:

```
go get github.com/hashicorp/cli@v1.1.6
# replace mitchellh/cli with hashicorp/cli
go mod tidy
```
bflad added a commit that referenced this issue Jan 12, 2024
Reference: #311

Done via:

```
go get github.com/hashicorp/cli@v1.1.6
# replace mitchellh/cli with hashicorp/cli
go mod tidy
```
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant