Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

What differentiates the app from the native Code Owners feature of Bitbucket Cloud?

As of March 2024, Bitbucket Cloud includes a native Code Owners feature.

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

  • file/ folder path patterns

βœ… πŸ”—

/features/FeatureCode.java @developer

βœ…

/features/FeatureCode.java @developer
  • file extension patterns

βœ… πŸ”—

*.css @developer

βœ…

*.css @developer
  • exclusion patterns

βœ… πŸ”—

frontend/* @frontend-team
# no mandatory review for tests
!frontend/*/tests/**

❌

  • Match options of patterns

βœ… πŸ”—

src/{main/**,test/**} @devs
**.{ts,js} @web-devs

❌

  • assign user

βœ… πŸ”—

  • Display Name

  • Nickname (Public name) of Bitbucket Cloud users

NOT supported:

  • e-mail addresses or user slugs

foo.py    @"Michael Foo"

βœ…

foo.py    individual@example.com
bar.py    @individual-username  
baz.py    @workspace-slug/group-name
  • assign user groups

βœ… πŸ”—

src/** @@developers
@@@<newgroupname> <members>

βœ…

  • Bitbucket Cloud groups

  • custom groups defined in teams.yml:

backend:
  contributors:
    - individual1@example.com
    - individual2@example.com
  • assign random subset of reviewers

βœ… πŸ”—

CODEOWNERS.toplevel.assignment_routing random 2

βœ…

*.scala   @workspace-slug/reviewer-group:random(2)
  • assign least busy (have the fewest active PR reviews) reviewers

❌

βœ…

*.scala   @workspace-slug/reviewer-group:least_busy(2)
  • custom merge checks

βœ… πŸ”—

# At least one senior and two code owners in total must approve.
OverallCheck(2)
Check(@@Seniors >= 1)

❌

  • Fallback groups
    (users who can be added as reviewers and whose approval counts for merge checks in case of code owners absence)

βœ… πŸ”— βœ… πŸ”—

@@@FallbackOwners @paul @monica

❌

  • mono-repos support: possibility to have different CODEOWNERS files in different folders

βœ… πŸ”—

❌

  • Code Owners Playground for interactive experimentation

βœ… πŸ”—

❌


I encounter rate limits while using the app. How can avoid this from happening?

Use separate user account for installing the app, so that the calls to Bitbucket API are isolated for Code Owners app and independent to other installed apps.

  • If using same user account to install multiple apps, you risk to hit API rate limit, as the calls the installed apps make count towards the same, shared limit.

  • This user must be able to:

  • No labels