1. 07 Nov, 2019 19 commits
  2. 06 Nov, 2019 19 commits
  3. 05 Nov, 2019 2 commits
    • Bryan C. Mills's avatar
      cmd: update x/mod to CL 205497 · 649f341e
      Bryan C. Mills authored
      Also revert an incidental 'gofmt' of a vendored file from CL 205240.
      
      Updates #34822
      
      Change-Id: I82a015d865db4d865b4776a8013312f25dbb9181
      Reviewed-on: https://go-review.googlesource.com/c/go/+/205539
      Run-TryBot: Bryan C. Mills <bcmills@google.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      649f341e
    • Bryan C. Mills's avatar
      cmd/go/internal/modfetch: prune +incompatible versions more aggressively · 14a133fe
      Bryan C. Mills authored
      codeRepo.Versions previously checked every possible +incompatible
      version for a 'go.mod' file. That is wasteful and counterproductive.
      
      It is wasteful because typically, a project will adopt modules at some
      major version, after which they will (be required to) use semantic
      import paths for future major versions.
      
      It is counterproductive because it causes an accidental
      '+incompatible' tag to exist, and no compatible tag can have higher
      semantic precedence.
      
      This change prunes out some of the +incompatible versions in
      codeRepo.Versions, eliminating the “wasteful” part but not all of the
      “counterproductive” part: the extraneous versions can still be fetched
      explicitly, and proxies may include them in the @v/list endpoint.
      
      Updates #34165
      Updates #34189
      Updates #34533
      
      Change-Id: Ifc52c725aa396f7fde2afc727d0d5950acd06946
      Reviewed-on: https://go-review.googlesource.com/c/go/+/204439
      Run-TryBot: Bryan C. Mills <bcmills@google.com>
      Reviewed-by: default avatarJay Conrod <jayconrod@google.com>
      14a133fe