Skip to content

Commit 4849b70

Browse files
authored
Add desktop review teams (#182972)
Updates CODEOWNERS and labeler to use the new desktop review teams. This ensures folks are automatically notified of desktop PRs. Prior art: #166034 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
1 parent af35e77 commit 4849b70

3 files changed

Lines changed: 47 additions & 0 deletions

File tree

.github/labeler.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,14 @@ platform-linux:
171171
- changed-files:
172172
- any-glob-to-any-file:
173173
- engine/src/flutter/shell/platform/linux/**/*
174+
- packages/flutter_tools/lib/src/linux/**/*
174175

175176
platform-macos:
176177
- changed-files:
177178
- any-glob-to-any-file:
178179
- engine/src/flutter/src/flutter/shell/platform/darwin/common/**/*
179180
- engine/src/flutter/shell/platform/darwin/macos/**/*
181+
- packages/flutter_tools/lib/src/macos/**/*
180182

181183
platform-web:
182184
- changed-files:
@@ -189,6 +191,7 @@ platform-windows:
189191
- changed-files:
190192
- any-glob-to-any-file:
191193
- engine/src/flutter/shell/platform/windows/**/*
194+
- packages/flutter_tools/lib/src/windows/**/*
192195

193196
'customer: gallery':
194197
- changed-files:
@@ -243,6 +246,31 @@ team-ios:
243246
- packages/flutter_tools/**/*ios*
244247
- packages/flutter_tools/**/*macos*
245248

249+
# Keep this synced with CODEOWNERS.
250+
team-linux:
251+
- changed-files:
252+
- any-glob-to-any-file:
253+
- engine/src/flutter/shell/platform/linux/**/*
254+
- packages/flutter_tools/**/linux/*
255+
- packages/flutter_tools/**/*linux*
256+
257+
# Keep this synced with CODEOWNERS.
258+
team-macos:
259+
- changed-files:
260+
- any-glob-to-any-file:
261+
- engine/src/flutter/shell/platform/darwin/common/**/*
262+
- engine/src/flutter/shell/platform/darwin/macos/**/*
263+
- packages/flutter_tools/**/macos/*
264+
- packages/flutter_tools/**/*macos*
265+
266+
# Keep this synced with CODEOWNERS.
267+
team-windows:
268+
- changed-files:
269+
- any-glob-to-any-file:
270+
- engine/src/flutter/shell/platform/windows/**/*
271+
- packages/flutter_tools/**/windows/*
272+
- packages/flutter_tools/**/*windows*
273+
246274
team-tool:
247275
- changed-files:
248276
- any-glob-to-any-file:

CODEOWNERS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,19 @@
3535
/packages/flutter_tools/**/*xcode* @flutter/ios-reviewers
3636
/packages/flutter_tools/**/*ios* @flutter/ios-reviewers
3737
/packages/flutter_tools/**/*macos* @flutter/ios-reviewers
38+
39+
# Linux team - keep this synced with .github/labeler.yml's team-linux section.
40+
/engine/src/flutter/shell/platform/linux/**/* @flutter/linux-reviewers
41+
/packages/flutter_tools/**/linux/* @flutter/linux-reviewers
42+
/packages/flutter_tools/**/*linux* @flutter/linux-reviewers
43+
44+
# macOS team - keep this synced with .github/labeler.yml's team-macos section.
45+
/engine/src/flutter/src/flutter/shell/platform/darwin/common/**/* @flutter/macos-reviewers
46+
/engine/src/flutter/shell/platform/darwin/macos/**/* @flutter/macos-reviewers
47+
/packages/flutter_tools/**/macos/* @flutter/macos-reviewers
48+
/packages/flutter_tools/**/*macos* @flutter/macos-reviewers
49+
50+
# Windows team - keep this synced with .github/labeler.yml's team-windows section.
51+
/engine/src/flutter/shell/platform/windows/**/* @flutter/windows-reviewers
52+
/packages/flutter_tools/**/windows/* @flutter/windows-reviewers
53+
/packages/flutter_tools/**/*windows* @flutter/windows-reviewers

docs/contributing/Contributor-access.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ We currently have the following review teams:
125125
* [`android-reviewers`](https://github.com/orgs/flutter/teams/android-reviewers): for folks working on the Android port of Flutter; use `#hackers-android` for discussions.
126126
* [`devtools-reviewers`](https://github.com/orgs/flutter/teams/devtools-reviewers): for the [devtools](https://github.com/flutter/devtools) repo; use `#hackers-devexp` for discussions.
127127
* [`ios-reviewers`](https://github.com/orgs/flutter/teams/ios-reviewers): for folks working on the iOS port of Flutter; use `#hackers-ios` for discussions.
128+
* [`linux-reviewers`](https://github.com/orgs/flutter/teams/linux-reviewers): for folks working on the Linux port of Flutter; use `#hackers-desktop` for discussions.
129+
* [`macos-reviewers`](https://github.com/orgs/flutter/teams/macos-reviewers): for folks working on the macOS port of Flutter; use `#hackers-desktop` for discussions.
128130
* [`website-reviewers`](https://github.com/orgs/flutter/teams/website-reviewers): for folks working on www.flutter.dev and docs.flutter.dev; use `#hackers-devrel` for discussions.
131+
* [`windows-reviewers`](https://github.com/orgs/flutter/teams/windows-reviewers): for folks working on the Windows port of Flutter; use `#hackers-desktop` for discussions.
129132

130133
To create a new team, contact @github-admin on Discord. You will also need to create a `CODEOWNERS` file to actually trigger the review assignment.
131134

0 commit comments

Comments
 (0)