1. 10 Aug, 2018 3 commits
    • Russ Cox's avatar
      cmd/go: fix module loader and test-only dependencies · a4749604
      Russ Cox authored
      go list all was not behaving as documented - it did not pick up
      test dependencies except when running in "go test" and "go vet".
      It should pick them up always.
      
      Also the module loader was ignoring tests when using "go list -test",
      which led to load failures.
      
      Fixing all required adjustments to mod_patterns test.
      Removed error-prone exact listings.
      
      Fixes #26279.
      Fixes #26906.
      
      Change-Id: I9c5acaf2275be20fd2349859589502190d3e7a78
      Reviewed-on: https://go-review.googlesource.com/128358Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      a4749604
    • Suzy Mueller's avatar
      cmd/go: make 'go list -test' report the correct import path · d611e95c
      Suzy Mueller authored
      When a test variant of a package is created, the two versions cannot
      share memory for the fields that contain information about their
      imports, as these will be different between the two packagse.
      
      Both the Internal.Imports and the Imports fields must be able to be
      updated in the test variant without affecting the values of the
      original.
      
      Fixes golang/go#26880
      
      Change-Id: Id61fad7d976e179c6c7711a394ce43ec8302fd7a
      Reviewed-on: https://go-review.googlesource.com/128836Reviewed-by: default avatarRuss Cox <rsc@golang.org>
      d611e95c
    • Russ Cox's avatar
      cmd/go: add go mod download · 9f4ea6c2
      Russ Cox authored
      go mod download provides a way to force downloading
      of a particular module version into the download cache
      and also to locate its cached files.
      
      Forcing downloads is useful for warming caches, such as
      in base docker images.
      
      Finding the cached files allows caching proxies to use
      go mod download as the way to obtain module files
      on cache miss.
      
      Fixes #26577.
      Fixes #26610.
      
      Change-Id: Ib8065bcce07c9f5105868ec1d87887ef4871f07e
      Reviewed-on: https://go-review.googlesource.com/128355
      Run-TryBot: Russ Cox <rsc@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      9f4ea6c2
  2. 09 Aug, 2018 16 commits
  3. 08 Aug, 2018 5 commits
  4. 07 Aug, 2018 6 commits
  5. 06 Aug, 2018 3 commits
  6. 04 Aug, 2018 1 commit
  7. 03 Aug, 2018 6 commits