tools/go/packages
Heschi Kreinick f727befe75 go/packages: improve debug logging
Address a few irritating glitches in the go list debug logging.
- Print a fully runnable command line, with args like "a" "b" "c"
instead of [a b c].
- Include stderr in the debug logs for cases where the command fails.
- Print the correct PWD environment var from cmd instead of cfg.

Change-Id: I58e77b370baf8378a21377b81ee2ba5d21a557ab
Reviewed-on: https://go-review.googlesource.com/c/163497
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-02-26 20:51:52 +00:00
..
gopackages go/package/gopackages: update gopackages to use the new tool library for its main function 2019-01-08 19:17:02 +00:00
packagestest internal/lsp: type-check packages from source 2019-02-08 22:27:37 +00:00
testdata go/packages: add name= query 2018-10-16 20:20:09 +00:00
doc.go go/packages: rename name= query and "disable" it 2019-01-29 21:16:23 +00:00
example_test.go go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00
external.go go/packages: use packagesdriver to fetch sizes for "go list" 2018-12-19 20:36:29 +00:00
golist.go go/packages: improve debug logging 2019-02-26 20:51:52 +00:00
golist_fallback.go go/packages: make tests pass with custom GOCACHE 2019-01-16 20:24:37 +00:00
golist_fallback_testmain.go go/packages: add missing test variants to fallback loader 2018-09-25 16:56:39 +00:00
golist_overlay.go go/packages: check for containing files after overlay is processed 2018-12-06 19:48:17 +00:00
packages.go go/packages: use strings.EqualFold in sameFile to handle case-insensitive file systems 2019-02-06 17:56:59 +00:00
packages110_test.go go/packages: generate test main files from the golist fallback 2018-09-17 22:19:12 +00:00
packages_test.go go/packages: fix broken tests to handle changes to packagestest 2019-02-06 22:14:03 +00:00
packagescgo_test.go go/...: use recommended issue tracker URLs 2018-12-05 01:41:16 +00:00
stdlib_test.go go/...: use recommended issue tracker URLs 2018-12-05 01:41:16 +00:00
visit.go go/packages: make visit order stable 2018-11-02 02:37:01 +00:00