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

go.mod: require go-delve/liner instead of peterh/liner #2905

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

hyangah
Copy link
Contributor

@hyangah hyangah commented Feb 13, 2022

Use of replace in go.mod breaks delve installation using
go install. (see golang/go#40276)
Workaround this limitation by explicitly require the fork
github.com/go-delve/liner.

go-delve/[email protected] already has go.mod module name fixed
to be github.com/go-delve/liner. go-delve/[email protected] also
has complete go.mod that made github.com/mattn/go-runewidth
declared as an implicit dependency and get pulled into the vendor
directory correctly.

Fixes #2904

Use of `replace` in go.mod breaks delve installation using
`go install`. (see golang/go#40276)
Workaround this limitation by explicitly require the fork
github.com/go-delve/liner.

go-delve/[email protected] already has go.mod module name fixed
to be github.com/go-delve/liner.

Fixes go-delve#2904
@hyangah
Copy link
Contributor Author

hyangah commented Feb 14, 2022

cc @derekparker

@aarzilli
Copy link
Member

Is vscode-go still installing @master?

@hyangah
Copy link
Contributor Author

hyangah commented Feb 14, 2022

Not any more, but some systems depending on github/vscode dev containers still install dlv from master. Fixes in github&vscode were committed, but not released. So some users in downstream are stuck. :-(

@aarzilli aarzilli merged commit cec23c0 into go-delve:master Feb 14, 2022
@aarzilli
Copy link
Member

Merged for charitable reasons, Derek can always revert.

@hyangah
Copy link
Contributor Author

hyangah commented Feb 14, 2022

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

go install dlv@master is broken due to the use of 'replace'
2 participants