...
The following table aims at providing users with a clear understanding of the feature set available for the native Bitbucket Code Owners feature and our Code Owners app:
Feature | Code Owners for Bitbucket app | Bitbucket native Code Owners feature |
---|
auto-assignment of reviewers | ✅ | ✅ |
| ✅ 🔗 Code Block |
---|
/features/FeatureCode.java @developer-1 |
| ✅ Code Block |
---|
/features/FeatureCode.java @developer-1 |
|
| ✅ 🔗 Code Block |
---|
*.css @developer-1 |
| ✅ Code Block |
---|
*.css @developer-1 |
|
| ✅ 🔗 Code Block |
---|
frontend/* @frontend-team
# no mandatory review for tests
!frontend/*/tests/**.css @developer-1 |
| ❌ |
| ✅ 🔗 Code Block |
---|
src/{main/**,test/**} @devs
**.{ts,js} @web-devs |
| ❌ |
| ✅ 🔗 NOT supported: Code Block |
---|
foo.py @"Michael Foo" |
| ✅ Code Block |
---|
foo.py individual@example.com
bar.py @individual-username
baz.py @workspace-slug/group-name |
|
| ✅ 🔗 Code Block |
---|
src/** @@developers |
Code Block |
---|
@@@<newgroupname> <members> |
| ✅ Code Block |
---|
backend:
contributors:
- individual1@example.com
- individual2@example.com |
|
| ✅ 🔗 Code Block |
---|
CODEOWNERS.toplevel.assignment_routing random 2 |
| ❌ (only supported in the DC edition) | ✅ Code Block |
---|
*.scala @workspace-slug/reviewer-group:random(2) |
|
| ❌ | ✅ Code Block |
---|
*.scala @workspace-slug/reviewer-group:least_busy(2) |
|
| ✅ 🔗 Code Block |
---|
# At least aone senior and two code owners in total must approve.
OverallCheck(2)
Check(@@Seniors >= 1) |
| ❌ |
| ✅ 🔗 ✅ 🔗 Code Block |
---|
@@@FallbackOwners @paul @monica |
| ❌ |
| ✅ 🔗 | ❌ |
| ✅ 🔗 | ❌ |
...