Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build/cmd/gopherstats: reformat output for easier processing #27632

Closed
ajstarks opened this issue Sep 12, 2018 · 1 comment
Closed

x/build/cmd/gopherstats: reformat output for easier processing #27632

ajstarks opened this issue Sep 12, 2018 · 1 comment
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@ajstarks
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.11 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ajstarks/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ajstarks/gowork"
GOPROXY=""
GORACE=""
GOROOT="/Users/ajstarks/go"
GOTMPDIR=""
GOTOOLDIR="/Users/ajstarks/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ly/55wr2yk15r5bzxvvxxknvfr00000gn/T/go-build073726396=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

$ gopherstats -mode github-issue-close
$ gopherstats -mode gerrit-cls 

What did you expect to see?

easier to parse fields

What did you see instead?

output lines like:

2014q4 closed issues: 178 closes (79.21% goog 141; ext 37), 32 unique people (15 goog, 17 ext)

would be simpler to parse (for example with tools like awk), if they were reformatted something like this:

2014q4 github-issue-close: 178 [ goog: 141 ext: 37  = 79.213/20.786% ]  unique people: 32 [ goog: 15 ext: 17  = 46.875/53.125%]

for --gerrit-cls:

2014q3 gerrit-cls: 638 [ goog: 462 ext: 176 = 74.413/27.586% ]
@gopherbot gopherbot added this to the Unreleased milestone Sep 12, 2018
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Sep 12, 2018
@gopherbot
Copy link

Change https://go.dev/cl/394517 mentions this issue: cmd/gopherstats: delete

@golang golang locked and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants