go/src/cmd
Bryan C. Mills 2d68380713 cmd/go/internal/web2: make netrc parsing more robust
- Respect the NETRC environment variable if set.

- Ignore lines that contain macro definitions.

- Associate the 'machine' token with only the tokens that follow (not
  precede) it.

Updates #29888
Updates #26232

Change-Id: I3128b7d6da2d6492df7c864e165eea1a27384f0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/161698
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2019-04-02 19:51:13 +00:00
..
addr2line internal/testenv: remove SetModVendor 2019-03-08 23:40:24 +00:00
api cmd/api: use 'go list' to locate transitive dependencies of std 2019-03-08 15:14:27 +00:00
asm cmd/asm: add 'insert program mask' instruction for s390x 2019-03-29 17:34:06 +00:00
buildid
cgo runtime: create library startup for aix/ppc64 2019-03-27 17:22:11 +00:00
compile cmd/compile: trim more unnecessary escape analysis messages 2019-04-02 18:00:32 +00:00
cover cmd/cover: add go.mod file in lineDupDir 2019-03-15 13:00:24 +00:00
dist runtime, cmd/dist, misc/cgo: enable c-archive for aix/ppc64 2019-04-02 16:03:24 +00:00
doc cmd/doc: correctly indent pre-formatted blocks 2019-03-31 23:35:35 +00:00
fix cmd/fix,cmd/cgo,misc/cgo: map the EGLDisplay C type to uintptr in Go 2018-12-15 19:27:41 +00:00
go cmd/go/internal/web2: make netrc parsing more robust 2019-04-02 19:51:13 +00:00
gofmt go/ast: fix SortImports to handle block comments 2019-03-28 23:49:52 +00:00
internal compile,link: export package name in debug_info 2019-04-02 17:40:36 +00:00
link compile,link: export package name in debug_info 2019-04-02 17:40:36 +00:00
nm cmd/nm: fix cgo tests for aix/ppc64 2019-03-20 13:50:44 +00:00
objdump internal/testenv: remove SetModVendor 2019-03-08 23:40:24 +00:00
pack
pprof all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
test2json
trace all: fix typos as reported by 'misspell' 2019-02-26 23:02:05 +00:00
vendor cmd: update go.mod versions for vetall bug 2019-03-26 03:57:49 +00:00
vet cmd/vet/all: enable AIX checks 2019-03-28 19:34:53 +00:00
go.mod cmd: update go.mod versions for vetall bug 2019-03-26 03:57:49 +00:00
go.sum cmd: update go.mod versions for vetall bug 2019-03-26 03:57:49 +00:00