| // 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 golang.org/x/build/internal/gophers package") | |
| } | |
| return Owner{GitHubUsername: githubUsername, GerritEmail: p.Gerrit} | |
| } | |
| // archOsTeam returns the *Entry for an architecture or OS team at github | |
| func archOsTeam(teamName string) *Entry { | |
| return &Entry{Primary: []Owner{gh("golang/" + teamName)}} | |
| } | |
| var ( | |
| adonovan = gh("adonovan") | |
| agl = gh("agl") | |
| agnivade = gh("agnivade") | |
| alexbrainman = gh("alexbrainman") | |
| amedee = gh("cagedmantis") | |
| aputman = gh("aputman") | |
| austin = gh("aclements") | |
| bradfitz = gh("bradfitz") | |
| cherryyz = gh("cherrymui") | |
| codyoss = gh("codyoss") | |
| cuonglm = gh("cuonglm") | |
| cpu = gh("cpu") | |
| dmitshur = gh("dmitshur") | |
| danderson = gh("danderson") | |
| drakkan = gh("drakkan") | |
| drchase = gh("dr2chase") | |
| dvyukov = gh("dvyukov") | |
| eliben = gh("eliben") | |
| filippo = gh("FiloSottile") | |
| findleyr = gh("findleyr") | |
| gri = gh("griesemer") | |
| hajimehoshi = gh("hajimehoshi") | |
| hxjiang = gh("h9jiang") | |
| iant = gh("ianlancetaylor") | |
| jba = gh("jba") | |
| jbd = gh("rakyll") | |
| sunny = gh("JunyangShao") | |
| joetsai = gh("dsnet") | |
| jorropo = gh("jorropo") | |
| kardianos = gh("kardianos") | |
| katie = gh("katiehockman") | |
| kevinburke = gh("kevinburke") | |
| khr = gh("randall77") | |
| markfreeman = gh("mrkfrmn") | |
| martisch = gh("martisch") | |
| matloob = gh("matloob") | |
| mauri870 = gh("mauri870") | |
| mdempsky = gh("mdempsky") | |
| mdlayher = gh("mdlayher") | |
| minux = gh("minux") | |
| mkalil = gh("madelinekalil") | |
| mknyszek = gh("mknyszek") | |
| mpvl = gh("mpvl") | |
| mvdan = gh("mvdan") | |
| nealpatel = gh("thatnealpatel") | |
| neelance = gh("neelance") | |
| neild = gh("neild") | |
| nigeltao = gh("nigeltao") | |
| nsh = gh("nicholashusin") | |
| prattmic = gh("prattmic") | |
| pjw = gh("pjweinb") | |
| qmuntal = gh("qmuntal") | |
| r = gh("robpike") | |
| roland = gh("rolandshoemaker") | |
| rsc = gh("rsc") | |
| sameer = gh("Sajmani") | |
| shinfan = gh("shinfan") | |
| thanm = gh("thanm") | |
| tklauser = gh("tklauser") | |
| tombergan = gh("tombergan") | |
| zpavlinovic = gh("zpavlinovic") | |
| compilerTeam = gh("golang/compiler") | |
| oscarTeam = gh("golang/oscar-team") | |
| pkgsiteTeam = gh("golang/pkgsite") | |
| releaseTeam = gh("golang/release") | |
| runtimeTeam = gh("golang/runtime") | |
| securityTeam = gh("golang/security") | |
| telemetryTeam = gh("golang/telemetry") | |
| toolsTeam = gh("golang/tools-team") | |
| vulndbTeam = gh("golang/vulndb") | |
| windowsTeam = gh("golang/windows") | |
| ) | |
| // entries is a map of <repo name>/<path>, <domain>, or <branch> to Owner | |
| // entries. For <repo name>/<path>, there is an implicit prefix of | |
| // go.googlesource.com. This map should not be modified at runtime. | |
| var entries = map[string]*Entry{ | |
| // Go standard library. | |
| "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{compilerTeam}, | |
| Secondary: []Owner{cherryyz}, | |
| }, | |
| "go/src/cmd/compile": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, gri, cuonglm}, | |
| }, | |
| "go/src/cmd/compile/internal/amd64": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/arm": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/arm64": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/mips": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/mips64": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/ppc64": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/s390x": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/x86": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, drchase, cherryyz}, | |
| }, | |
| "go/src/cmd/compile/internal/syntax": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{gri}, | |
| }, | |
| "go/src/cmd/compile/internal/types": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{gri}, | |
| }, | |
| "go/src/cmd/compile/internal/types2": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{gri, findleyr}, | |
| }, | |
| "go/src/cmd/compile/internal/ssa": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{khr, jorropo}, | |
| }, | |
| "go/src/cmd/compile/internal/wasm": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: wasmOwners, | |
| }, | |
| "go/src/cmd/cgo": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/covdata": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/cover": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/go": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/cmd/gofmt": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{mvdan}, | |
| }, | |
| "go/src/cmd/internal/archive": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/bio": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/codesign": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/cov": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/dwarf": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/gcprog": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/goobj": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/notsha256": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/obj": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/objabi": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/objfile": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/src": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/sys": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/internal/obj/wasm": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: wasmOwners, | |
| }, | |
| "go/src/cmd/link": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{cherryyz, iant, thanm}, | |
| }, | |
| "go/src/cmd/link/internal/wasm": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: wasmOwners, | |
| }, | |
| "go/src/cmd/nm": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/objdump": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/pack": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/cmd/pprof": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{cherryyz}, | |
| }, | |
| "go/src/cmd/trace": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/cmd/vet": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{matloob}, | |
| }, | |
| "go/src/cmp": { | |
| Primary: []Owner{iant}, | |
| Secondary: []Owner{eliben}, | |
| }, | |
| "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{neild, sameer}, | |
| }, | |
| "go/src/crypto": { | |
| Primary: []Owner{filippo, roland, cpu, securityTeam}, | |
| Secondary: []Owner{nealpatel}, | |
| }, | |
| "go/src/crypto/tls": { | |
| Primary: []Owner{filippo, roland, cpu, securityTeam}, | |
| Secondary: []Owner{kevinburke, nealpatel}, | |
| }, | |
| "go/src/database/sql": { | |
| Primary: []Owner{bradfitz, kardianos}, | |
| Secondary: []Owner{kevinburke}, | |
| }, | |
| "go/src/debug/dwarf": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{austin, thanm}, | |
| }, | |
| "go/src/debug/elf": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{iant}, | |
| }, | |
| "go/src/debug/pe": { | |
| Primary: []Owner{windowsTeam}, | |
| Secondary: []Owner{qmuntal, alexbrainman}, | |
| }, | |
| "go/src/embed": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "go/src/encoding": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/encoding/asn1": { | |
| Primary: []Owner{filippo, roland, cpu, securityTeam}, | |
| }, | |
| "go/src/encoding/binary": { | |
| // Same as internal/byteorder. | |
| 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}, | |
| }, | |
| "go/src/go/ast": { | |
| Primary: []Owner{gri}, | |
| }, | |
| "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}, | |
| Secondary: []Owner{mvdan}, | |
| }, | |
| "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/src/go/parser": { | |
| Primary: []Owner{gri}, | |
| }, | |
| "go/src/go/printer": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{mvdan}, | |
| }, | |
| "go/src/go/scanner": { | |
| Primary: []Owner{gri}, | |
| }, | |
| "go/src/go/token": { | |
| Primary: []Owner{gri}, | |
| }, | |
| "go/src/go/types": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{findleyr}, | |
| }, | |
| "go/src/hash": { | |
| Primary: []Owner{securityTeam}, | |
| }, | |
| "go/src/hash/maphash": { | |
| Primary: []Owner{khr}, | |
| }, | |
| "go/src/html": { | |
| Primary: []Owner{securityTeam}, | |
| }, | |
| "go/src/html/template": { | |
| Primary: []Owner{securityTeam}, | |
| }, | |
| "go/src/image": { | |
| Primary: []Owner{nigeltao}, | |
| }, | |
| "go/src/index/suffixarray": { | |
| Primary: []Owner{gri}, | |
| }, | |
| "go/src/internal/abi": { | |
| Primary: []Owner{compilerTeam, runtimeTeam}, | |
| Secondary: []Owner{mknyszek, cherryyz}, | |
| }, | |
| "go/src/internal/asan": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, cherryyz, mauri870}, | |
| }, | |
| "go/src/internal/bisect": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{drchase, rsc}, | |
| }, | |
| "go/src/internal/buildcfg": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/internal/bytealg": { | |
| Primary: []Owner{khr}, | |
| }, | |
| "go/src/internal/byteorder": { | |
| // Same as encoding/binary. | |
| Primary: []Owner{gri}, | |
| }, | |
| "go/src/internal/cfg": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/cgrouptest": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic}, | |
| }, | |
| "go/src/internal/chacha8rand": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{filippo, rsc, securityTeam}, | |
| }, | |
| "go/src/internal/copyright": { | |
| Primary: []Owner{releaseTeam}, | |
| Secondary: []Owner{dmitshur}, | |
| }, | |
| "go/src/internal/coverage": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/internal/cpu": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{khr, martisch}, | |
| }, | |
| "go/src/internal/dag": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{austin, rsc}, | |
| }, | |
| "go/src/internal/diff": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/exportdata": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{gri, markfreeman}, | |
| }, | |
| "go/src/internal/filepathlite": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{neild}, | |
| }, | |
| "go/src/internal/fmtsort": { | |
| Primary: []Owner{runtimeTeam}, | |
| }, | |
| "go/src/internal/fuzz": { | |
| Primary: []Owner{securityTeam}, | |
| Secondary: []Owner{katie, roland}, | |
| }, | |
| "go/src/internal/goarch": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/godebug": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/godebugs": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/goexperiment": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{austin, mknyszek}, | |
| }, | |
| "go/src/internal/goos": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/goroot": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/gover": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/goversion": { | |
| Primary: []Owner{releaseTeam}, | |
| }, | |
| "go/src/internal/itoa": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic}, | |
| }, | |
| "go/src/internal/lazyregexp": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/lazytemplate": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/msan": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, cherryyz, mauri870}, | |
| }, | |
| "go/src/internal/nettrace": { | |
| // Same as net/http. | |
| Primary: []Owner{neild, nsh}, | |
| Secondary: []Owner{rsc}, | |
| }, | |
| "go/src/internal/obscuretestdata": { | |
| Primary: []Owner{releaseTeam}, | |
| Secondary: []Owner{rsc}, | |
| }, | |
| "go/src/internal/oserror": { | |
| // Same as os. | |
| Primary: []Owner{rsc, iant, bradfitz, gri}, | |
| }, | |
| "go/src/internal/pkgbits": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/internal/platform": { | |
| Primary: []Owner{releaseTeam}, | |
| }, | |
| "go/src/internal/poll": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, prattmic}, | |
| }, | |
| "go/src/internal/profile": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{cherryyz, prattmic}, | |
| }, | |
| "go/src/internal/profilerecord": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, mknyszek}, | |
| }, | |
| "go/src/internal/race": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{dvyukov, iant}, | |
| }, | |
| "go/src/internal/reflectlite": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{rsc, iant}, | |
| }, | |
| "go/src/internal/routebsd": { | |
| // Same as net. | |
| Primary: []Owner{iant, neild}, | |
| }, | |
| // Fallback for subpackages not listed below. | |
| "go/src/internal/runtime": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, mknyszek, amedee, cherryyz}, | |
| }, | |
| "go/src/internal/runtime/atomic": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{austin, khr, mknyszek, mauri870}, | |
| }, | |
| "go/src/internal/runtime/gc": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek}, | |
| }, | |
| "go/src/internal/runtime/maps": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, khr}, | |
| }, | |
| "go/src/internal/runtime/sys": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{austin, khr}, | |
| }, | |
| "go/src/internal/runtime/syscall": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, mknyszek, austin}, | |
| }, | |
| "go/src/internal/saferio": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, iant}, | |
| }, | |
| "go/src/internal/singleflight": { | |
| Primary: []Owner{bradfitz, iant}, | |
| }, | |
| "go/src/internal/stringslite": { | |
| // Same as strings. | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{iant, bradfitz}, | |
| }, | |
| "go/src/internal/sync": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/synctest": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{neild, prattmic}, | |
| }, | |
| "go/src/internal/syscall": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, mknyszek}, | |
| }, | |
| "go/src/internal/syscall/unix": { | |
| Primary: []Owner{iant, bradfitz}, | |
| Secondary: []Owner{tklauser}, | |
| }, | |
| "go/src/internal/syscall/windows": { | |
| Primary: []Owner{runtimeTeam, windowsTeam}, | |
| Secondary: []Owner{qmuntal, alexbrainman, bradfitz}, | |
| }, | |
| "go/src/internal/sysinfo": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic}, | |
| }, | |
| "go/src/internal/syslist": { | |
| // Same as internal/platform. | |
| Primary: []Owner{releaseTeam}, | |
| }, | |
| "go/src/internal/testenv": { | |
| Primary: []Owner{bradfitz, iant}, | |
| }, | |
| "go/src/internal/testhash": { | |
| Primary: []Owner{securityTeam}, | |
| Secondary: []Owner{roland, austin}, | |
| }, | |
| "go/src/internal/testlog": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/testpty": { | |
| // Same as internal/testpty. | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, prattmic}, | |
| }, | |
| "go/src/internal/trace": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/internal/texttar": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "go/src/internal/types": { | |
| // Same as go/types. | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{findleyr}, | |
| }, | |
| "go/src/internal/xcoff": { | |
| Primary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/internal/unsafeheader": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{prattmic, mknyszek}, | |
| }, | |
| "go/src/internal/zstd": { | |
| // Same as debug/elf. | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{iant}, | |
| }, | |
| "go/src/io": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{iant, bradfitz}, | |
| }, | |
| "go/src/log": { | |
| Primary: []Owner{jba}, | |
| }, | |
| "go/src/log/slog": { | |
| Primary: []Owner{jba}, | |
| }, | |
| "go/src/maps": { | |
| Primary: []Owner{iant}, | |
| }, | |
| "go/src/math": { | |
| Primary: []Owner{gri, rsc, nealpatel}, | |
| }, | |
| "go/src/math/big": { | |
| Primary: []Owner{gri, nealpatel, securityTeam}, | |
| Secondary: []Owner{filippo, roland}, | |
| }, | |
| "go/src/math/bits": { | |
| Primary: []Owner{gri, nealpatel}, | |
| Secondary: []Owner{khr, filippo, securityTeam}, | |
| }, | |
| "go/src/math/rand": { | |
| Primary: []Owner{gri, rsc, nealpatel}, | |
| Secondary: []Owner{filippo, securityTeam}, | |
| }, | |
| "go/src/mime": { | |
| Primary: []Owner{neild}, | |
| }, | |
| "go/src/mime/multipart": { | |
| Primary: []Owner{neild, minux}, | |
| }, | |
| "go/src/mime/quotedprintable": { | |
| Primary: []Owner{neild, minux}, | |
| }, | |
| "go/src/net": { | |
| // Same as internal/routebsd. | |
| Primary: []Owner{iant, neild, nsh}, | |
| }, | |
| "go/src/net/http": { | |
| // Same as internal/nettrace. | |
| Primary: []Owner{neild, nsh}, | |
| Secondary: []Owner{rsc}, | |
| }, | |
| "go/src/net/http/pprof": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{cherryyz, rsc}, | |
| }, | |
| "go/src/net/internal/socktest": { | |
| Primary: []Owner{}, | |
| }, | |
| "go/src/net/mail": { | |
| Primary: []Owner{}, | |
| Secondary: []Owner{bradfitz}, | |
| }, | |
| "go/src/net/rpc": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/net/rpc/jsonrpc": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/net/smtp": { | |
| Primary: []Owner{}, | |
| Secondary: []Owner{bradfitz}, | |
| }, | |
| "go/src/net/textproto": { | |
| Primary: []Owner{bradfitz, rsc}, | |
| }, | |
| "go/src/net/url": { | |
| Primary: []Owner{neild, rsc, nsh}, | |
| }, | |
| "go/src/os": { | |
| // Same as internal/oserror. | |
| Primary: []Owner{rsc, iant, bradfitz, gri}, | |
| }, | |
| "go/src/os/exec": { | |
| Primary: []Owner{bradfitz, iant}, | |
| }, | |
| "go/src/os/signal": { | |
| // Same as internal/testpty. | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, prattmic}, | |
| }, | |
| "go/src/os/user": { | |
| Primary: []Owner{bradfitz}, | |
| Secondary: []Owner{kevinburke}, | |
| }, | |
| "go/src/path": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/path/filepath": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/plugin": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, cherryyz}, | |
| }, | |
| "go/src/reflect": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{rsc, iant}, | |
| }, | |
| "go/src/regexp": { | |
| Primary: []Owner{rsc}, | |
| Secondary: []Owner{matloob}, | |
| }, | |
| "go/src/regexp/syntax": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/runtime": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{austin, khr, mknyszek, prattmic, amedee, iant, dvyukov}, | |
| }, | |
| "go/src/runtime/cgo": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, cherryyz}, | |
| }, | |
| "go/src/runtime/coverage": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{compilerTeam}, | |
| }, | |
| "go/src/runtime/metrics": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic}, | |
| }, | |
| "go/src/runtime/pprof": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{cherryyz, prattmic}, | |
| }, | |
| "go/src/runtime/race": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{dvyukov, iant}, | |
| }, | |
| "go/src/runtime/trace": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{mknyszek, prattmic, dvyukov}, | |
| }, | |
| "go/src/simd": { | |
| Primary: []Owner{compilerTeam}, | |
| Secondary: []Owner{drchase, sunny}, | |
| }, | |
| "go/src/slices": { | |
| Primary: []Owner{iant}, | |
| Secondary: []Owner{eliben}, | |
| }, | |
| "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{runtimeTeam}, | |
| Secondary: []Owner{rsc, iant, dvyukov, austin}, | |
| }, | |
| "go/src/sync/atomic": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{rsc, iant, dvyukov, austin, mauri870}, | |
| }, | |
| "go/src/syscall": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, bradfitz, tklauser}, | |
| }, | |
| "go/src/testing": { | |
| Primary: []Owner{adonovan, neild}, | |
| 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}, | |
| }, | |
| "go/src/text/template/parse": { | |
| Primary: []Owner{r}, | |
| }, | |
| "go/src/time": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "go/src/unicode": { | |
| Primary: []Owner{securityTeam}, | |
| Secondary: []Owner{mpvl}, | |
| }, | |
| "go/src/unicode/utf16": { | |
| Primary: []Owner{r}, | |
| }, | |
| "go/src/unicode/utf8": { | |
| Primary: []Owner{r}, | |
| }, | |
| "go/src/unsafe": { | |
| Primary: []Owner{gri}, | |
| }, | |
| // Misc. additional tooling in the Go repository. | |
| "go/misc/wasm": { | |
| Primary: wasmOwners, | |
| }, | |
| "go/lib/wasm": { | |
| Primary: wasmOwners, | |
| }, | |
| // golang.org/x/ repositories. | |
| "arch": { | |
| Primary: []Owner{cherryyz}, | |
| }, | |
| "benchmarks": { | |
| Primary: []Owner{runtimeTeam, releaseTeam}, | |
| }, | |
| "build": { | |
| Primary: []Owner{releaseTeam}, | |
| Secondary: []Owner{dmitshur, amedee}, | |
| }, | |
| "build/maintner/cmd/maintserve": { | |
| Primary: []Owner{dmitshur}, | |
| }, | |
| "crypto": { | |
| Primary: []Owner{filippo, roland, cpu, securityTeam}, | |
| }, | |
| "crypto/acme": { | |
| Primary: []Owner{roland, securityTeam}, | |
| Secondary: []Owner{filippo, cpu}, | |
| }, | |
| "crypto/acme/autocert": { | |
| Primary: []Owner{bradfitz, roland, securityTeam}, | |
| Secondary: []Owner{filippo, cpu}, | |
| }, | |
| "crypto/ssh": { | |
| Primary: []Owner{drakkan, securityTeam}, | |
| Secondary: []Owner{filippo, roland}, | |
| }, | |
| "debug": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{khr}, | |
| }, | |
| "exp/stats": { | |
| Primary: []Owner{nealpatel}, | |
| }, | |
| "exp/vulncheck": { | |
| Primary: []Owner{vulndbTeam}, | |
| }, | |
| "mobile": { | |
| Primary: []Owner{hajimehoshi}, | |
| }, | |
| "mod": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "net": { | |
| Primary: []Owner{neild, iant, nsh}, | |
| }, | |
| "net/bpf": { | |
| Primary: []Owner{danderson, mdlayher}, | |
| }, | |
| "net/http": { | |
| Primary: []Owner{neild, nsh}, | |
| Secondary: []Owner{}, | |
| }, | |
| "net/http2": { | |
| Primary: []Owner{neild, tombergan, nsh}, | |
| Secondary: []Owner{}, | |
| }, | |
| "net/icmp": { | |
| Primary: []Owner{}, | |
| }, | |
| "net/ipv4": { | |
| Primary: []Owner{iant}, | |
| }, | |
| "net/ipv6": { | |
| Primary: []Owner{iant}, | |
| }, | |
| "oauth2": { | |
| Secondary: []Owner{jbd, shinfan, codyoss}, | |
| }, | |
| "oscar": { | |
| Primary: []Owner{oscarTeam}, | |
| }, | |
| "perf": { | |
| Primary: []Owner{runtimeTeam, releaseTeam}, | |
| }, | |
| "review": { | |
| Primary: []Owner{austin, rsc}, | |
| Secondary: []Owner{dmitshur, kevinburke}, | |
| }, | |
| "sync": { | |
| Primary: []Owner{adonovan}, | |
| }, | |
| "sys/unix": { | |
| Primary: []Owner{runtimeTeam}, | |
| Secondary: []Owner{iant, bradfitz, tklauser}, | |
| }, | |
| "sys/windows": { | |
| Primary: []Owner{runtimeTeam, windowsTeam}, | |
| Secondary: []Owner{qmuntal, alexbrainman, bradfitz}, | |
| }, | |
| "text": { | |
| Primary: []Owner{mpvl}, | |
| }, | |
| "telemetry": { | |
| Primary: []Owner{telemetryTeam}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| // default owners of x/tools/... | |
| "tools": { | |
| // for issue triage. | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/cmd/bundle": { | |
| Primary: []Owner{adonovan}, | |
| }, | |
| "tools/cmd/godoc": { | |
| Secondary: []Owner{agnivade, bradfitz, gri, kevinburke}, | |
| }, | |
| "tools/cmd/goimports": { | |
| Primary: []Owner{pjw, hxjiang}, | |
| Secondary: []Owner{toolsTeam, bradfitz}, | |
| }, | |
| "tools/cmd/present2md": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "tools/cmd/stringer": { | |
| Secondary: []Owner{mvdan}, | |
| }, | |
| "tools/go/analysis": { | |
| Primary: []Owner{mkalil}, | |
| Secondary: []Owner{toolsTeam, adonovan}, | |
| }, | |
| "tools/go/ast": { | |
| Primary: []Owner{adonovan, gri}, | |
| Secondary: []Owner{dmitshur}, | |
| }, | |
| "tools/go/buildutil": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{dmitshur}, | |
| }, | |
| "tools/go/callgraph": { | |
| Primary: []Owner{adonovan, zpavlinovic}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/go/gcexportdata": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{toolsTeam, findleyr}, | |
| }, | |
| "tools/go/internal/gcimporter": { | |
| Primary: []Owner{gri}, | |
| Secondary: []Owner{toolsTeam, findleyr}, | |
| }, | |
| "tools/go/internal/packagesdriver": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/go/loader": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/go/packages": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/go/ssa": { | |
| Primary: []Owner{aputman}, | |
| Secondary: []Owner{toolsTeam, adonovan}, | |
| }, | |
| "tools/imports": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/analysisinternal": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/fastwalk": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/refactor/inline": { | |
| Primary: []Owner{hxjiang}, | |
| Secondary: []Owner{toolsTeam, adonovan}, | |
| }, | |
| "tools/internal/gocommand": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/gopathwalk": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/imports": { | |
| Primary: []Owner{pjw, hxjiang}, | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "tools/internal/jsonrpc2": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{jba, findleyr}, | |
| }, | |
| "tools/internal/tool": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam, findleyr}, | |
| }, | |
| "tools/internal/xcontext": { | |
| Primary: []Owner{adonovan}, | |
| Secondary: []Owner{toolsTeam, findleyr}, | |
| }, | |
| "tools/playground": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "tools/present": { | |
| Primary: []Owner{rsc}, | |
| }, | |
| "tools/refactor": { | |
| Primary: []Owner{toolsTeam}, | |
| Secondary: []Owner{findleyr, adonovan}, | |
| }, | |
| "tools/txtar": { | |
| Primary: []Owner{matloob}, | |
| }, | |
| "pkgsite": { | |
| Primary: []Owner{pkgsiteTeam}, | |
| }, | |
| "playground": { | |
| Secondary: []Owner{toolsTeam}, | |
| }, | |
| "vuln": { | |
| Primary: []Owner{vulndbTeam}, | |
| }, | |
| "vulndb": { | |
| Primary: []Owner{vulndbTeam}, | |
| }, | |
| "website": { | |
| Primary: []Owner{toolsTeam}, | |
| }, | |
| "website/cmd/admingolangorg": { | |
| Secondary: []Owner{dmitshur}, | |
| }, | |
| "website/cmd/golangorg": { | |
| Secondary: []Owner{dmitshur}, | |
| }, | |
| "website/internal/dl": { | |
| Primary: []Owner{dmitshur}, | |
| }, | |
| "website/internal/history": { | |
| Primary: []Owner{dmitshur}, | |
| }, | |
| // Misc. other Go repositories. | |
| "gccgo": { | |
| Primary: []Owner{iant}, | |
| Secondary: []Owner{thanm, cherryyz}, | |
| }, | |
| "gofrontend": { | |
| Primary: []Owner{iant}, | |
| Secondary: []Owner{thanm}, | |
| }, | |
| "gollvm": { | |
| Primary: []Owner{thanm}, | |
| Secondary: []Owner{cherryyz}, | |
| }, | |
| "vscode-go": { | |
| Primary: []Owner{toolsTeam}, | |
| Secondary: []Owner{hxjiang, mkalil}, | |
| }, | |
| // These components are domains, not Go packages. | |
| "index.golang.org": modProxyOwners, | |
| "proxy.golang.org": modProxyOwners, | |
| "sum.golang.org": modProxyOwners, | |
| } | |
| // archOses is a map of <architecture> or <OS> to Owner entries, | |
| // used in the same way as entries above. | |
| // This map should not be modified at runtime. | |
| var archOses = map[string]*Entry{ | |
| // OSes and architectures have teams. | |
| // OSes. There is no team for "linux" | |
| "aix": archOsTeam("aix"), | |
| "android": archOsTeam("android"), | |
| "darwin": archOsTeam("darwin"), | |
| "dragonfly": archOsTeam("dragonfly"), | |
| "freebsd": archOsTeam("freebsd"), | |
| "illumos": archOsTeam("illumos"), | |
| "ios": archOsTeam("ios"), | |
| "js": archOsTeam("js"), | |
| "netbsd": archOsTeam("netbsd"), | |
| "openbsd": archOsTeam("openbsd"), | |
| "plan9": archOsTeam("plan9"), | |
| "solaris": archOsTeam("solaris"), // team is empty as of 2022-10 | |
| "wasip1": archOsTeam("wasm"), | |
| "windows": archOsTeam("windows"), | |
| // Architectures. There is no team for "x86" or "amd64". | |
| "arm": archOsTeam("arm"), | |
| "arm64": archOsTeam("arm"), | |
| "mips": archOsTeam("mips"), | |
| "mips64": archOsTeam("mips"), | |
| "ppc64": archOsTeam("ppc64"), | |
| "riscv64": archOsTeam("riscv64"), | |
| "loong64": archOsTeam("loong64"), | |
| "s390x": archOsTeam("s390x"), | |
| "wasm": archOsTeam("wasm"), | |
| } | |
| var wasmOwners = []Owner{neelance, cherryyz} | |
| var modProxyOwners = &Entry{ | |
| Primary: []Owner{toolsTeam}, | |
| Secondary: []Owner{nsh}, | |
| } |