Closed jerome-laforge closed 4 months ago
CC @jayconrod @matloob
Honestly, I'm surprised that list
doesn't already support -u=patch
. (I think we should just do this — no need for a formal proposal.)
Change https://go.dev/cl/432536 mentions this issue: cmd/go: add -u=patch option for go list
@bcmills , seems like the review is stuck on waiting for your reply. Could you come back to it when it'll be convenient for you?
@rsc @matloob and I discussed this today. We're going to wait on #67420 to get approved and add this functionality alongside it. I will close this issue in favor of the other one. :)
Marking as duplicate
Background
Currently, it is not possible to list available update module only for patch. For example:
I want to know if a new patch version if available (here v1.3.7 and not v1.4.0), but I don't know how to do. The given example here https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies is for direct with minor and patch (I just want patch). And yet, the v1.3.7 has been released (https://pkg.go.dev/mod/go.mongodb.org/mongo-driver@v1.3.7).
Description
I propose to add -u=patch (as already proposed for
go get
)