ソースを参照

Update our `CODEOWNERS` based on the merging repos. (#206)

We've already started the merge, but this tries to lay out a reasonable
trajectory for things to move along.

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
Chandler Carruth 5 年 前
コミット
751ee936a8
1 ファイル変更21 行追加6 行削除
  1. 21 6
      CODEOWNERS

+ 21 - 6
CODEOWNERS

@@ -2,14 +2,29 @@
 # Exceptions. See /LICENSE for license information.
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
-# Global owners.
-*           @carbon-language/admin-team
+# Most of the repository consists of implementation code or other supporting
+# material for the implementation of Carbon. Rather than enumerate these, we
+# default them to toolchain team ownership, which will be overridden by later
+# lines.
+*                   @carbon-language/toolchain-team
+
+# Co-own top-level config files. Ownership is actually mixed, but low value to
+# separate. Top-level docs will be overridden as core-team-owned files.
+/*                  @carbon-language/toolchain-team @carbon-language/infra-team
+
+# Directories that contain infrastructure and support scripts.
+/.github/           @carbon-language/infra-team
+/github/            @carbon-language/infra-team
+/website/           @carbon-language/infra-team
 
 # The core team owns the core language and project documentation.
-/docs/      @carbon-language/core-team
+/*.md               @carbon-language/core-team
+/LICENSE            @carbon-language/core-team
+/docs/              @carbon-language/core-team
 
 # The review managers own updates to the proposals.
-/proposals/ @carbon-language/review-managers
+/proposals/         @carbon-language/review-managers
 
-# This directory contains infrastructure and support scripts
-/src/       @carbon-language/infra-team
+# ACLs are owned by the admin team and handled last to avoid accidentally being
+# overridden by later patterns.
+CODEOWNERS          @carbon-language/admin-team