mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 00:19:08 +00:00
## Problem The self-hosted docs have an owner on the self-hosted team, but `.github/CODEOWNERS` gives all of `/apps/docs/` to `@supabase/docs` alone. A change to a self-hosted page doesn't request a review from the people who own that content. [#53996](https://github.com/supabase/supabase/pull/53996) merged that way, and [#54013](https://github.com/supabase/supabase/pull/54013) followed up on it. Closes [DOCS-1805](https://linear.app/supabase/issue/DOCS-1805/request-a-self-hosted-review-on-each-self-hosted-docs-pr) ## Solution The self-hosted docs pages are owned by `@supabase/docs` and `@supabase/self-hosted`, the team that already owns `/docker/`. Two patterns cover them: - `apps/docs/content/guides/self-hosting*`: the `self-hosting/` folder and `self-hosting.mdx` - `apps/docs/content/guides/**/*self-hosted*`: any guide whose file name contains `self-hosted`, such as `grafana-self-hosted.mdx` and `expose-self-hosted-queues.mdx`, in `.mdx` or `.md` The last matching line in CODEOWNERS wins, so the new lines sit after `/apps/docs/` and keep `@supabase/docs` as an owner. A PR that changes one of these pages requests a review from both teams. ## Review instructions 1. Check that GitHub reports no CODEOWNERS errors: `gh api "repos/supabase/supabase/codeowners/errors?ref=alexisa/DOCS-1805"` returns `"errors": []`. 2. Check which files the two patterns match. They follow `.gitignore` rules, so `git check-ignore` can list the matches: ```bash printf '/apps/docs/content/guides/self-hosting*\n/apps/docs/content/guides/**/*self-hosted*\n' > /tmp/co.ign git ls-files apps/docs | git -c core.excludesFile=/tmp/co.ign check-ignore --no-index --stdin ``` The list has 25 files: the `self-hosting/` pages, `self-hosting.mdx`, and the guides with `self-hosted` in the name. 3. After merge, open a PR that changes a self-hosted page, and check that GitHub requests a review from `@supabase/self-hosted`. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide). Doesn't apply: this PR changes only CODEOWNERS.
50 lines
2.1 KiB
Plaintext
50 lines
2.1 KiB
Plaintext
/packages/ui/ @supabase/design
|
|
/packages/shared-data/pricing.ts @supabase/billing
|
|
/packages/shared-data/plans.ts @supabase/billing
|
|
/packages/shared-data/scoped-access-token-permissions.ts @supabase/Dashboard @supabase/docs
|
|
/packages/common/telemetry-constants.ts @supabase/growth-eng
|
|
/packages/dev-tools/ @supabase/growth-eng
|
|
# /packages/pg-meta @supabase/postgres @avallete
|
|
/packages/ui-patterns @supabase/design
|
|
|
|
/apps/studio/ @supabase/Dashboard
|
|
|
|
/apps/docs/ @supabase/docs
|
|
/apps/docs/content/guides/self-hosting* @supabase/docs @supabase/self-hosted
|
|
/apps/docs/content/guides/**/*self-hosted* @supabase/docs @supabase/self-hosted
|
|
|
|
# intentionally blank so anyone with write access can approve here
|
|
/apps/docs/public/humans.txt
|
|
|
|
/apps/kb/ @supabase/knowledgebase
|
|
|
|
/apps/www/ @supabase/marketing
|
|
/apps/www/public/images/blog @supabase/marketing
|
|
/apps/www/public/schemas/ @supabase/cli
|
|
/apps/www/lib/redirects.js
|
|
/apps/www/data/legal/ @supabase/frontend
|
|
/apps/www/pages/legal/ @supabase/frontend
|
|
/apps/www/public/legal/ @supabase/frontend
|
|
/apps/www/_go/legal/ @supabase/frontend
|
|
/apps/www/pages/aup.tsx @supabase/frontend
|
|
/apps/www/pages/privacy.tsx @supabase/frontend
|
|
/apps/www/pages/terms.tsx @supabase/frontend
|
|
/apps/www/pages/sla.tsx @supabase/frontend
|
|
/apps/www/pages/enterprise-terms.tsx @supabase/frontend
|
|
/apps/www/pages/support-policy.tsx @supabase/frontend
|
|
/apps/www/components/Legal/ @supabase/frontend
|
|
/apps/www/lib/addenda.ts @supabase/frontend
|
|
/apps/www/lib/addenda-utils.ts @supabase/frontend
|
|
|
|
/docker/ @supabase/cli @supabase/self-hosted
|
|
|
|
/apps/studio/csp.ts @supabase/security
|
|
/apps/studio/components/interfaces/Billing/Payment @supabase/security
|
|
/apps/studio/components/interfaces/Organization/Documents/ @supabase/security
|
|
/apps/studio/routes/_app/new/index.tsx @supabase/security
|
|
|
|
/apps/studio/lib/ai/ @supabase/ai
|
|
/apps/studio/routes/api/ai/ @supabase/ai
|
|
|
|
/packages/shared-data/compute-disk-limits.ts @supabase/platform
|