-
Notifications
You must be signed in to change notification settings - Fork 29
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 support for Go modules. #92
Comments
I plan to implement Go module support in Go Package Store during this year. |
I'm not a big fan of people chiming in on issues just to say "I want this", but I was pulling the direct changes to Hugo yesterday, and even if the number of changed modules wasn't that high, doing a manual inspection of the changes (finding the repo on GitHub, browse the commit log) was time-consuming... I suspect most people just close their eyes and go a |
@bep I've been using https://dependabot.com/ for a while (it became free after Github acquired them). Assuming you are on Github, it's just a couple clicks to install and it will open PRs with updates to your go.mod file, including changelogs/commits from the upstream module. |
@ligustah OK, that I didn't know. Thanks, I will try. |
By now I'm very familiar with module mode. In order to implement support for it, I need to make decisions about what updates to display. In GOPATH mode, there was only one obvious answer: display all updates that you would get with In module mode, there are more possibilities/questions:
Perhaps to achieve the best experience, a UI redesign will be necessary. But I think it makes sense to start by finding a reasonable way to reuse the existing UI, and then consider further changes based on the experience. |
I've thought about this and picked some initial answers to start with.
For now, I'll do the simplest thing, which is to do what the go command does. If it's desirable to provide more flexibility, that can be done later.
For now, I'll include indirect updates by default, or make them optional via a flag. I'll try to make it show up in the UI whether or not it's an indirect dependency. |
The govendor tool has been deprecated in favor of Go module mode, see kardianos/govendor@e31350d. Remove all support for its vendor.json file format. Updates #92.
Go Package Store was created for working with the current
go get -u
model with a GOPATH workspace. The vgo experiment (https://research.swtch.com/vgo) considers changing that significantly. This is both an opportunity and a potential requirement to keep Go Package Store useful.This issue is to track information and developments in this area.
I haven't explored vgo yet aside from reading over the announcement posts.
The text was updated successfully, but these errors were encountered: