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/devapp/owners: add owners for less-common GOOS and GOARCHes #28596

Open
bcmills opened this Issue Nov 5, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@bcmills
Copy link
Member

bcmills commented Nov 5, 2018

https://dev.golang.org/owners/ currently lists owners for code components.

However, some issues seem to be specific to a particular GOOS or GOARCH, and in order to diagnose those issues it's helpful to get input from someone with platform-specific expertise (@alexbrainman, @mundaym, @ceseo, @0intro, @neelance, and surely others I'm forgetting).

I've learned a few of those platform-to-expert mappings, but it would be helpful to codify them more explicitly. Can we put them in devapp/owners somewhere, perhaps in a parallel table?

(CC @bradfitz @dmitshur)

@bcmills bcmills added this to the Unreleased milestone Nov 5, 2018

@bradfitz

This comment has been minimized.

Copy link
Member

bradfitz commented Nov 5, 2018

SGTM.

Or we could just add owners for the GOARCH directories:

bradfitz@gdev:~/go/src$ ls cmd/compile/internal/
amd64  arm  arm64  gc  mips  mips64  ppc64  s390x  ssa  syntax  test  types  wasm  x86

But for GOOS, we don't really have directories in general. We just have lots of +build files for runtime & syscall, etc. So maybe we do need an explicit mechanism to record these.

In the meantime I can often find owners by looking at https://farmer.golang.org/builders but that's not quite sufficient.

@bcmills

This comment has been minimized.

Copy link
Member

bcmills commented Nov 5, 2018

GOARCH directories seem like the logical place for that.

Perhaps we could list GOOS owners as owners under build/env? But then we would need some way to identify owners for GOOS values that don't have a corresponding build/env directory: aix, android, dragonfly, hurd, and zos IIUC.

@bcmills

This comment has been minimized.

Copy link
Member

bcmills commented Nov 5, 2018

Hmm, all of those except for hurd and zos have Owner entries in the Hosts and Builders tables in x/build/dashboard/builders.go. So perhaps we could surface those as owners of paths like build/dashboard.Builders/aix-ppc64?

@bradfitz

This comment has been minimized.

Copy link
Member

bradfitz commented Nov 5, 2018

Yeah, good idea, we could make the devapp dashboard use the data from the x/build/dashboard.{Config,HostConfig} data structure directly. Then they don't get out of sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment