blob: ae462612d9d67c37406883506aaf533e7f5770fd [file] [log] [blame]
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package owners
import (
"golang.org/x/build/internal/gophers"
)
func gh(githubUsername string) Owner {
p := gophers.GetPerson("@" + githubUsername)
if p == nil {
panic("person with GitHub username " + githubUsername + " does not exist in the internal/gophers package.")
}
return Owner{GitHubUsername: githubUsername, GerritEmail: p.Gerrit}
}
var (
adonovan = gh("alandonovan")
agl = gh("agl")
agnivade = gh("agnivade")
alexbrainman = gh("alexbrainman")
amedee = gh("cagedmantis")
austin = gh("aclements")
bcmills = gh("bcmills")
bradfitz = gh("bradfitz")
carmen = gh("Lyoness")
cbro = gh("broady")
cherryyz = gh("cherrymui")
cnoellekb = gh("cnoellekb")
dmitshur = gh("dmitshur")
danderson = gh("danderson")
drchase = gh("dr2chase")
dvyukov = gh("dvyukov")
empijei = gh("empijei")
filippo = gh("FiloSottile")
findleyr = gh("findleyr")
gri = gh("griesemer")
hanwen = gh("hanwen")
heschik = gh("heschik")
hyangah = gh("hyangah")
iant = gh("ianlancetaylor")
iancottrell = gh("ianthehat")
jamalc = gh("jamalc")
jayconrod = gh("jayconrod")
jba = gh("jba")
jbd = gh("rakyll")
joetsai = gh("dsnet")
josharian = gh("josharian")
julieqiu = gh("julieqiu")
kardianos = gh("kardianos")
katie = gh("katiehockman")
kevinburke = gh("kevinburke")
kele = gh("kele")
khr = gh("randall77")
martisch = gh("martisch")
matloob = gh("matloob")
mdempsky = gh("mdempsky")
mdlayher = gh("mdlayher")
mikesamuel = gh("mikesamuel")
mikioh = gh("mikioh")
minux = gh("minux")
mknyszek = gh("mknyszek")
mpvl = gh("mpvl")
mvdan = gh("mvdan")
mwhudson = gh("mwhudson")
neelance = gh("neelance")
nigeltao = gh("nigeltao")
pearring = gh("pearring")
prattmic = gh("prattmic")
r = gh("robpike")
rakoczy = gh("toothrot")
roland = gh("rolandshoemaker")
rsc = gh("rsc")
rstambler = gh("stamblerre")
sameer = gh("Sajmani")
shinfan = gh("shinfan")
suzmue = gh("suzmue")
thanm = gh("thanm")
tklauser = gh("tklauser")
tombergan = gh("tombergan")
x1ddos = gh("x1ddos")
toolsTeam = gh("golang/tools-team")
)
// entries is a map of <repo name>/<path>/<domain> to Owner entries.
// It should not be modified at runtime.
var entries = map[string]*Entry{
"arch": {
Primary: []Owner{cherryyz},
},
"build": {
Primary: []Owner{dmitshur, bradfitz, amedee},
},
"build/maintner/cmd/maintserve": {
Primary: []Owner{dmitshur},
},
"crypto": {
Primary: []Owner{filippo},
Secondary: []Owner{agl, katie, roland},
},
"crypto/acme": {
Primary: []Owner{roland, x1ddos},
Secondary: []Owner{filippo},
},
"crypto/acme/autocert": {
Primary: []Owner{bradfitz, x1ddos},
Secondary: []Owner{roland, filippo},
},
"debug": {
Secondary: []Owner{hyangah, khr},
},
"gccgo": {
Primary: []Owner{iant},
Secondary: []Owner{thanm, cherryyz},
},
"go/misc/wasm": wasmOwners,
"go/cmd/compile/internal/wasm": wasmOwners,
"go/cmd/internal/obj/wasm": wasmOwners,
"go/cmd/link/internal/wasm": wasmOwners,
"go/src/archive/tar": {
Primary: []Owner{joetsai},
},
"go/src/archive/zip": {
Primary: []Owner{joetsai},
Secondary: []Owner{bradfitz},
},
"go/src/bufio": {
Primary: []Owner{},
Secondary: []Owner{gri, bradfitz, iant},
},
"go/src/bytes": {
Primary: []Owner{},
Secondary: []Owner{bradfitz, iant},
},
"go/src/cmd/asm": {
Primary: []Owner{cherryyz},
},
"go/src/cmd/compile": {
Primary: []Owner{khr, gri},
Secondary: []Owner{josharian, mdempsky, martisch},
},
"go/src/cmd/compile/amd64": {
Primary: []Owner{khr},
Secondary: []Owner{josharian, rsc, drchase, cherryyz, martisch},
},
"go/src/cmd/compile/arm": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/arm64": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/mips": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/mips64": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/ppc64": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/s390x": {
Primary: []Owner{khr},
Secondary: []Owner{rsc, drchase, cherryyz},
},
"go/src/cmd/compile/x86": {
Primary: []Owner{khr},
Secondary: []Owner{josharian, rsc, drchase, cherryyz, martisch},
},
"go/src/cmd/compile/internal/syntax": {
Primary: []Owner{gri},
Secondary: []Owner{rsc, mdempsky},
},
"go/src/cmd/compile/internal/types": {
Primary: []Owner{gri},
Secondary: []Owner{josharian, mdempsky, rsc},
},
"go/src/cmd/compile/internal/ssa": {
Primary: []Owner{khr},
Secondary: []Owner{josharian, martisch},
},
"go/src/cmd/doc": {
Primary: []Owner{r},
Secondary: []Owner{mvdan},
},
"go/src/cmd/go": {
Primary: []Owner{bcmills, jayconrod, matloob},
Secondary: []Owner{rsc, iant},
},
"go/src/cmd/link": {
Primary: []Owner{cherryyz, rsc, mdempsky, iant},
Secondary: []Owner{mwhudson, thanm},
},
"go/src/cmd/pprof": {
Primary: []Owner{hyangah},
},
"go/src/cmd/trace": {
Primary: []Owner{hyangah},
},
"go/src/cmd/vet": {
Primary: []Owner{adonovan},
},
"go/src/compress/bzip2": {
Primary: []Owner{joetsai},
Secondary: []Owner{mdempsky},
},
"go/src/compress/flate": {
Primary: []Owner{joetsai},
Secondary: []Owner{mdempsky},
},
"go/src/compress/gzip": {
Primary: []Owner{joetsai},
},
"go/src/compress/lzw": {
Primary: []Owner{joetsai},
Secondary: []Owner{mdempsky},
},
"go/src/compress/zlib": {
Primary: []Owner{joetsai},
Secondary: []Owner{mdempsky},
},
"go/src/container/heap": {
Primary: []Owner{gri},
},
"go/src/container/list": {
Primary: []Owner{gri},
},
"go/src/container/ring": {
Primary: []Owner{gri},
},
"go/src/context": {
Primary: []Owner{sameer, bradfitz},
},
"go/src/crypto": {
Primary: []Owner{filippo},
Secondary: []Owner{agl, katie, roland},
},
"go/src/crypto/tls": {
Primary: []Owner{filippo},
Secondary: []Owner{agl, katie, roland, kevinburke},
},
"go/src/database/sql": {
Primary: []Owner{bradfitz, kardianos},
Secondary: []Owner{kevinburke},
},
"go/src/debug/dwarf": {
Primary: []Owner{austin},
Secondary: []Owner{thanm},
},
"go/src/debug/elf": {
Primary: []Owner{iant},
},
"go/src/debug/pe": {
Primary: []Owner{alexbrainman},
},
"go/src/encoding": {
Primary: []Owner{rsc},
},
"go/src/encoding/asn1": {
Primary: []Owner{filippo},
Secondary: []Owner{agl, katie, roland},
},
"go/src/encoding/binary": {
Primary: []Owner{gri},
},
"go/src/encoding/csv": {
Primary: []Owner{},
Secondary: []Owner{joetsai, bradfitz, rsc},
},
"go/src/encoding/gob": {
Primary: []Owner{r},
},
"go/src/encoding/json": {
Primary: []Owner{rsc},
Secondary: []Owner{joetsai, bradfitz, mvdan},
},
"go/src/encoding/xml": {
Primary: []Owner{rsc},
},
"go/src/expvar": {
Primary: []Owner{},
Secondary: []Owner{bradfitz},
},
"go/src/flag": {
Primary: []Owner{r},
},
"go/src/fmt": {
Primary: []Owner{r},
Secondary: []Owner{martisch},
},
"go/src/go/ast": {
Primary: []Owner{gri},
Secondary: []Owner{josharian},
},
"go/src/go/build": {
Primary: []Owner{rsc},
},
"go/src/go/constant": {
Primary: []Owner{gri},
},
"go/src/go/doc": {
Primary: []Owner{gri},
Secondary: []Owner{agnivade},
},
"go/src/go/format": {
Primary: []Owner{gri},
},
"go/src/go/importer": {
Primary: []Owner{gri, adonovan},
},
"go/src/go/internal/gccgoimporter": {
Primary: []Owner{gri, iant},
},
"go/src/go/internal/gcimporter": {
Primary: []Owner{gri},
},
// go/packages doesn't exist yet, but x/tools/go/packages has been proposed to
// move there and many issues already refer to the new path.
"go/src/go/packages": {
Primary: []Owner{matloob},
},
"go/src/go/parser": {
Primary: []Owner{gri},
},
"go/src/go/printer": {
Primary: []Owner{gri},
},
"go/src/go/scanner": {
Primary: []Owner{gri},
},
"go/src/go/token": {
Primary: []Owner{gri},
},
"go/src/go/types": {
Primary: []Owner{gri},
Secondary: []Owner{adonovan},
},
"go/src/hash/maphash": {
Primary: []Owner{khr},
},
"go/src/html/template": {
Primary: []Owner{empijei},
Secondary: []Owner{kele},
},
"go/src/image": {
Primary: []Owner{nigeltao},
Secondary: []Owner{r},
},
"go/src/index/suffixarray": {
Primary: []Owner{gri},
},
"go/src/internal/bytealg": {
Primary: []Owner{khr},
Secondary: []Owner{josharian},
},
"go/src/internal/cpu": {
Primary: []Owner{khr, martisch},
},
"go/src/internal/singleflight": {
Primary: []Owner{bradfitz, iant},
},
"go/src/internal/syscall/unix": {
Primary: []Owner{iant, bradfitz},
Secondary: []Owner{tklauser},
},
"go/src/internal/syscall/windows": {
Primary: []Owner{alexbrainman},
Secondary: []Owner{bradfitz},
},
"go/src/internal/syscall/windows/registry": {
Primary: []Owner{alexbrainman},
Secondary: []Owner{bradfitz},
},
"go/src/internal/syscall/windows/sysdll": {
Primary: []Owner{alexbrainman},
Secondary: []Owner{bradfitz},
},
"go/src/internal/testenv": {
Primary: []Owner{bradfitz, iant},
Secondary: []Owner{josharian},
},
"go/src/io": {
Primary: []Owner{gri},
Secondary: []Owner{iant, bradfitz},
},
"go/src/log": {
Primary: []Owner{r},
},
"go/src/math": {
Primary: []Owner{gri, rsc},
},
"go/src/math/big": {
Primary: []Owner{gri, filippo},
Secondary: []Owner{katie, roland},
},
"go/src/math/bits": {
Primary: []Owner{gri},
Secondary: []Owner{khr, josharian, filippo},
},
"go/src/math/rand": {
Primary: []Owner{gri, rsc},
Secondary: []Owner{josharian, filippo},
},
"go/src/mime": {
Primary: []Owner{bradfitz},
},
"go/src/mime/multipart": {
Primary: []Owner{bradfitz, minux},
},
"go/src/mime/quotedprintable": {
Primary: []Owner{bradfitz, minux},
},
"go/src/net": {
Primary: []Owner{bradfitz, iant},
},
"go/src/net/http": {
Primary: []Owner{bradfitz},
Secondary: []Owner{rsc, empijei},
},
"go/src/net/http/pprof": {
Primary: []Owner{rsc},
},
"go/src/net/internal/socktest": {
Primary: []Owner{},
},
"go/src/net/mail": {
Primary: []Owner{},
Secondary: []Owner{bradfitz},
},
"go/src/net/rpc": {
Primary: []Owner{r},
},
"go/src/net/rpc/jsonrpc": {
Primary: []Owner{r},
},
"go/src/net/smtp": {
Primary: []Owner{},
Secondary: []Owner{bradfitz},
},
"go/src/net/textproto": {
Primary: []Owner{bradfitz, rsc},
},
"go/src/net/url": {
Primary: []Owner{rsc, bradfitz},
},
"go/src/os": {
Primary: []Owner{rsc, r, iant, bradfitz, gri},
},
"go/src/os/exec": {
Primary: []Owner{bradfitz, iant},
},
"go/src/os/signal": {
Primary: []Owner{iant},
},
"go/src/os/user": {
Primary: []Owner{bradfitz},
Secondary: []Owner{kevinburke},
},
"go/src/path": {
Primary: []Owner{r, rsc},
},
"go/src/path/filepath": {
Primary: []Owner{r, rsc},
},
"go/src/plugin": {
Primary: []Owner{iant},
Secondary: []Owner{cherryyz},
},
"go/src/reflect": {
Primary: []Owner{rsc, iant},
},
"go/src/regexp": {
Primary: []Owner{rsc},
Secondary: []Owner{matloob},
},
"go/src/regexp/syntax": {
Primary: []Owner{rsc},
},
"go/src/runtime": {
Primary: []Owner{austin, khr, mknyszek, prattmic},
Secondary: []Owner{iant, dvyukov, martisch},
},
"go/src/runtime/cgo": {
Primary: []Owner{iant},
},
"go/src/runtime/internal/atomic": {
Primary: []Owner{austin, khr},
},
"go/src/runtime/internal/sys": {
Primary: []Owner{austin, khr},
},
"go/src/runtime/pprof": {
Primary: []Owner{hyangah},
},
"go/src/runtime/pprof/internal/protopprof": {
Primary: []Owner{},
Secondary: []Owner{matloob},
},
"go/src/runtime/race": {
Primary: []Owner{dvyukov},
},
"go/src/runtime/trace": {
Primary: []Owner{hyangah, dvyukov},
},
"go/src/sort": {
Primary: []Owner{rsc, gri, iant, bradfitz},
},
"go/src/strconv": {
Primary: []Owner{rsc, gri, iant, bradfitz},
},
"go/src/strings": {
Primary: []Owner{gri},
Secondary: []Owner{iant, bradfitz},
},
"go/src/sync": {
Primary: []Owner{rsc, iant, dvyukov, austin},
},
"go/src/sync/atomic": {
Primary: []Owner{rsc, iant, dvyukov, austin},
},
"go/src/syscall": {
Primary: []Owner{iant, bradfitz},
Secondary: []Owner{tklauser},
},
"go/src/testing": {
Primary: []Owner{},
Secondary: []Owner{mpvl},
},
"go/src/testing/quick": {
Primary: []Owner{},
Secondary: []Owner{agl, katie},
},
"go/src/text/scanner": {
Primary: []Owner{gri},
},
"go/src/text/tabwriter": {
Primary: []Owner{gri},
},
"go/src/text/template": {
Primary: []Owner{r},
Secondary: []Owner{mvdan},
},
"go/src/text/template/parse": {
Primary: []Owner{r},
Secondary: []Owner{mvdan},
},
"go/src/time": {
Primary: []Owner{rsc},
},
"go/src/unicode": {
Primary: []Owner{r},
Secondary: []Owner{mpvl},
},
"go/src/unicode/utf16": {
Primary: []Owner{r},
},
"go/src/unicode/utf8": {
Primary: []Owner{r},
},
"go/src/unsafe": {
Primary: []Owner{gri},
},
"gofrontend": {
Primary: []Owner{iant},
Secondary: []Owner{thanm},
},
"gollvm": {
Primary: []Owner{thanm},
Secondary: []Owner{cherryyz},
},
"mobile": {
Primary: []Owner{hyangah},
},
"mod": {
Primary: []Owner{bcmills, jayconrod, matloob},
},
"net": {
Primary: []Owner{bradfitz, iant},
},
"net/bpf": {
Primary: []Owner{danderson, mdlayher},
},
"net/http": {
Primary: []Owner{bradfitz},
Secondary: []Owner{empijei},
},
"net/http2": {
Primary: []Owner{bradfitz, tombergan},
Secondary: []Owner{empijei},
},
"net/icmp": {
Primary: []Owner{},
},
"net/ipv4": {
Primary: []Owner{iant},
},
"net/ipv6": {
Primary: []Owner{iant},
},
"oauth2": {
Primary: []Owner{bradfitz},
Secondary: []Owner{jbd, cbro, shinfan},
},
"review": {
Secondary: []Owner{kevinburke},
},
"sync": {
Primary: []Owner{bcmills},
},
"sys/unix": {
Primary: []Owner{iant, bradfitz, tklauser},
},
"sys/windows": {
Primary: []Owner{alexbrainman, bradfitz},
},
"text": {
Primary: []Owner{mpvl},
},
"tools/benchmark": {
Primary: []Owner{toolsTeam},
},
"tools/blog": {
Primary: []Owner{toolsTeam},
},
"tools/cmd/compilebench": {
Secondary: []Owner{josharian},
},
"tools/cmd/bundle": {
Primary: []Owner{adonovan},
},
"tools/cmd/auth": {
Primary: []Owner{bcmills},
Secondary: []Owner{jayconrod, matloob},
},
"tools/cmd/godoc": {
Primary: []Owner{dmitshur},
Secondary: []Owner{agnivade, bradfitz, gri, kevinburke},
},
"tools/cmd/goimports": {
Primary: []Owner{heschik},
Secondary: []Owner{bradfitz},
},
"tools/cmd/present2md": {
Primary: []Owner{rsc},
},
"tools/cmd/stringer": {
Secondary: []Owner{mvdan},
},
"tools/container": {
Primary: []Owner{toolsTeam},
},
"tools/cover": {
Primary: []Owner{toolsTeam},
},
"tools/go/analysis": {
Primary: []Owner{matloob},
},
"tools/go/ast": {
Primary: []Owner{gri},
Secondary: []Owner{josharian, dmitshur},
},
"tools/go/buildutil": {
Primary: []Owner{bcmills, jayconrod, matloob},
Secondary: []Owner{dmitshur},
},
"tools/go/callgraph": {
Primary: []Owner{toolsTeam},
},
"tools/go/cfg": {
Primary: []Owner{toolsTeam},
},
"tools/go/expect": {
Primary: []Owner{iancottrell},
},
"tools/go/gccgoexportdata": {
Primary: []Owner{toolsTeam},
},
"tools/go/gcexportdata": {
Primary: []Owner{rstambler, gri},
},
"tools/go/internal/cgo": {
Primary: []Owner{toolsTeam},
},
"tools/go/internal/gccgoimporter": {
Primary: []Owner{toolsTeam},
},
"tools/go/internal/gcimporter": {
Primary: []Owner{rstambler, gri},
},
"tools/go/internal/packagesdriver": {
Primary: []Owner{matloob},
},
"tools/go/loader": {
Primary: []Owner{matloob},
},
"tools/go/packages": {
Primary: []Owner{matloob},
},
"tools/go/packages/packagestest": {
Primary: []Owner{iancottrell},
},
"tools/go/pointer": {
Primary: []Owner{toolsTeam},
},
"tools/go/ssa": {
Primary: []Owner{findleyr},
},
"tools/go/types": {
Primary: []Owner{toolsTeam},
},
"tools/go/vcs": {
Primary: []Owner{dmitshur},
Secondary: []Owner{bcmills, jayconrod, matloob},
},
"tools/godoc": {
Primary: []Owner{dmitshur},
},
"tools/gopls": {
Primary: []Owner{rstambler},
Secondary: []Owner{iancottrell},
},
"tools/imports": {
Primary: []Owner{heschik},
},
"tools/internal/analysisinternal": {
Primary: []Owner{rstambler},
Secondary: []Owner{matloob},
},
"tools/internal/apidiff": {
Primary: []Owner{jba},
Secondary: []Owner{jayconrod, matloob, bcmills},
},
"tools/internal/fastwalk": {
Primary: []Owner{heschik},
},
"tools/internal/gocommand": {
Primary: []Owner{heschik},
},
"tools/internal/gopathwalk": {
Primary: []Owner{heschik},
},
"tools/internal/imports": {
Primary: []Owner{heschik},
},
"tools/internal/jsonrpc2": {
Primary: []Owner{iancottrell},
Secondary: []Owner{findleyr, jba},
},
"tools/internal/lsp": {
Primary: []Owner{rstambler},
Secondary: []Owner{iancottrell},
},
"tools/internal/lsp/cache": {
Primary: []Owner{rstambler},
},
"tools/internal/lsp/fake": {
Primary: []Owner{findleyr},
},
"tools/internal/lsp/lsprpc": {
Primary: []Owner{findleyr},
},
"tools/internal/lsp/regtest": {
Primary: []Owner{findleyr},
},
"tools/internal/lsp/source": {
Primary: []Owner{rstambler},
},
"tools/internal/memoize": {
Primary: []Owner{iancottrell},
},
"tools/internal/packagesinternal": {
Primary: []Owner{rstambler},
Secondary: []Owner{matloob},
},
"tools/internal/proxydir": {
Primary: []Owner{findleyr},
},
"tools/internal/span": {
Primary: []Owner{iancottrell},
Secondary: []Owner{heschik},
},
"tools/internal/telemetry": {
Primary: []Owner{iancottrell},
Secondary: []Owner{findleyr},
},
"tools/internal/testenv": {
Primary: []Owner{bcmills},
},
"tools/internal/tool": {
Primary: []Owner{iancottrell},
},
"tools/internal/xcontext": {
Primary: []Owner{iancottrell},
},
"tools/playground": {
Primary: []Owner{rakoczy},
},
"tools/present": {
Primary: []Owner{rsc},
},
"tools/refactor": {
Primary: []Owner{toolsTeam},
},
"tools/txtar": {
Primary: []Owner{jayconrod, bcmills, matloob},
},
"tools": {
Primary: []Owner{toolsTeam},
},
"pkgsite": {
Primary: []Owner{julieqiu, jba, jamalc},
},
"playground": {
Primary: []Owner{rakoczy},
},
"vscode-go": {
Primary: []Owner{hyangah},
Secondary: []Owner{suzmue},
},
"website": {
Primary: []Owner{dmitshur},
},
// These components are domains, not Go packages.
"learn.go.dev": {
Primary: []Owner{carmen, pearring},
},
"go.dev": {
Primary: []Owner{pearring},
},
}
var wasmOwners = &Entry{
Primary: []Owner{neelance, cherryyz},
}