Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: rename internal repo (#41003)

Div Arora999e7ab11bda
diff --git a/apps/studio/README.md b/apps/studio/README.md
index 155c40ee873..93fe45fda3a 100644
--- a/apps/studio/README.md
+++ b/apps/studio/README.md
@@ -34,7 +34,7 @@ Project settings are managed outside of the Dashboard. If you use docker compose
### Developer Quickstart
> [!NOTE]
-> **Supabase internal use:** To develop on Studio locally with the backend services, see the instructions in the [internal `infrastructure` repo](https://github.com/supabase/infrastructure/blob/develop/docs/contributing.md).
+> **Supabase internal use:** To develop on Studio locally with the backend services, see the instructions in the [internal `infrastructure` repo](https://github.com/supabase/platform/blob/develop/docs/contributing.md).
```bash
# You'll need to be on Node v20
@@ -45,8 +45,8 @@ pnpm install # install dependencies
pnpm run dev # start dev server
## For internal contributors
-## First clone the private supabase/infrastructure repo and follow instructions for setting up mise
-mise studio # Run from supabase/infrastructure alongside `mise infra`
+## First clone the private supabase/platform repo and follow instructions for setting up mise
+mise studio # Run from supabase/platform alongside `mise infra`
## For all
pnpm run test # run tests
diff --git a/apps/studio/components/interfaces/DiskManagement/DiskManagement.constants.ts b/apps/studio/components/interfaces/DiskManagement/DiskManagement.constants.ts
index 0882b1bfecf..aa06149d371 100644
--- a/apps/studio/components/interfaces/DiskManagement/DiskManagement.constants.ts
+++ b/apps/studio/components/interfaces/DiskManagement/DiskManagement.constants.ts
@@ -1,5 +1,5 @@
// [Joshen] These should eventually be in shared-types so that it can be used between infra and dashboard
-// https://github.com/supabase/infrastructure/blob/a466d85ece3179cf7b6da1b15c11f2ed2be49bd6/shared/src/volumes.ts#L5-L24
+// https://github.com/supabase/platform/blob/a466d85ece3179cf7b6da1b15c11f2ed2be49bd6/shared/src/volumes.ts#L5-L24
// https://docs.aws.amazon.com/ebs/latest/userguide/provisioned-iops.html#io2-bx-considerations
export const IO2_AVAILABLE_REGIONS = [
'ap-east-1',
diff --git a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
index 2dc509a0c8d..92372df1baf 100644
--- a/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/ui/DiskManagement.constants.tsx
@@ -8,7 +8,7 @@ export enum DiskType {
IO2 = 'io2',
}
-// [Joshen] As per https://github.com/supabase/infrastructure/pull/20478
+// [Joshen] As per https://github.com/supabase/platform/pull/20478
export const DISK_AUTOSCALE_CONFIG_DEFAULTS = {
growthPercent: 50,
minIncrementSize: 4,
diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
index 576f19937ff..4fbdd2e7a2e 100644
--- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
+++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecret.tsx
@@ -25,7 +25,7 @@ interface EdgeFunctionSecretProps {
const EdgeFunctionSecret = ({ secret, onSelectEdit, onSelectDelete }: EdgeFunctionSecretProps) => {
const { can: canUpdateSecrets } = useAsyncCheckPermissions(PermissionAction.SECRETS_WRITE, '*')
// [Joshen] Following API's validation:
- // https://github.com/supabase/infrastructure/blob/develop/api/src/routes/v1/projects/ref/secrets/secrets.controller.ts#L106
+ // https://github.com/supabase/platform/blob/develop/api/src/routes/v1/projects/ref/secrets/secrets.controller.ts#L106
const isReservedSecret = !!secret.name.match(/^(SUPABASE_).*/)
return (
diff --git a/apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.constants.ts b/apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.constants.ts
index e2e49a2b487..0c055fab81f 100644
--- a/apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.constants.ts
+++ b/apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.constants.ts
@@ -1,5 +1,5 @@
// https://supabase.com/docs/guides/platform/performance#optimizing-the-number-of-connections
-// https://github.com/supabase/infrastructure/blob/develop/worker/src/lib/constants.ts#L544-L596
+// https://github.com/supabase/platform/blob/develop/worker/src/lib/constants.ts#L544-L596
// https://github.com/supabase/supabase-admin-api/blob/master/optimizations/pgbouncer.go
// [Joshen] This matches for both Supavisor and PgBouncer
diff --git a/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts b/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts
index 7a58ea07e25..6a46647ac4a 100644
--- a/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts
+++ b/apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/NetworkRestrictions.utils.ts
@@ -57,7 +57,7 @@ export const getAddressEndRange = (type: 'IPv4' | 'IPv6', address: string) => {
}
// [Joshen] Using same logic as worker
-// https://github.com/supabase/infrastructure/blob/840c9596e8bf9e9090ec94de1756bd511e67393a/worker/src/tasks/db/add_as_pooler_tenant.ts#L176C15-L176C15
+// https://github.com/supabase/platform/blob/840c9596e8bf9e9090ec94de1756bd511e67393a/worker/src/tasks/db/add_as_pooler_tenant.ts#L176C15-L176C15
export const normalize = (address: string) => {
const [isIpV4] = Validator.isValidIPv4String(address.split('/')[0])
if (isIpV4) {
diff --git a/apps/studio/data/config/project-postgrest-config-query.ts b/apps/studio/data/config/project-postgrest-config-query.ts
index 178defcfb8c..a50c479e685 100644
--- a/apps/studio/data/config/project-postgrest-config-query.ts
+++ b/apps/studio/data/config/project-postgrest-config-query.ts
@@ -25,7 +25,7 @@ export async function getProjectPostgrestConfig(
})
if (error) handleError(error)
// [Joshen] Not sure why but db_pool isn't part of the API typing
- // https://github.com/supabase/infrastructure/blob/develop/api/src/routes/platform/projects/ref/config/postgrest.dto.ts#L6
+ // https://github.com/supabase/platform/blob/develop/api/src/routes/platform/projects/ref/config/postgrest.dto.ts#L6
return data as unknown as PostgrestConfigResponse
}
diff --git a/apps/studio/data/config/project-settings-v2-query.ts b/apps/studio/data/config/project-settings-v2-query.ts
index c86950615f7..a7684df716b 100644
--- a/apps/studio/data/config/project-settings-v2-query.ts
+++ b/apps/studio/data/config/project-settings-v2-query.ts
@@ -43,7 +43,7 @@ export const useProjectSettingsV2Query = <TData = ProjectSettingsData>(
}: UseCustomQueryOptions<ProjectSettingsData, ProjectSettingsError, TData> = {}
) => {
// [Joshen] Sync with API perms checking here - shouldReturnApiKeys
- // https://github.com/supabase/infrastructure/blob/develop/api/src/routes/platform/projects/ref/settings.controller.ts#L92
+ // https://github.com/supabase/platform/blob/develop/api/src/routes/platform/projects/ref/settings.controller.ts#L92
const { can: canReadAPIKeys } = useAsyncCheckPermissions(
PermissionAction.TENANT_SQL_ADMIN_WRITE,
'*'
diff --git a/apps/studio/data/integrations/vercel-integration-create-mutation.ts b/apps/studio/data/integrations/vercel-integration-create-mutation.ts
index 996dd0507f6..4eb1e164389 100644
--- a/apps/studio/data/integrations/vercel-integration-create-mutation.ts
+++ b/apps/studio/data/integrations/vercel-integration-create-mutation.ts
@@ -37,7 +37,7 @@ export async function createVercelIntegration({
if (error) handleError(error)
// [Joshen] API isn't typed on this endpoint
- // https://github.com/supabase/infrastructure/blob/develop/api/src/routes/platform/integrations/vercel/vercel-integration.controller.ts#L50
+ // https://github.com/supabase/platform/blob/develop/api/src/routes/platform/integrations/vercel/vercel-integration.controller.ts#L50
return data as { id: string }
}
diff --git a/apps/studio/data/read-replicas/replicas-status-query.ts b/apps/studio/data/read-replicas/replicas-status-query.ts
index 796d485c240..c815755af56 100644
--- a/apps/studio/data/read-replicas/replicas-status-query.ts
+++ b/apps/studio/data/read-replicas/replicas-status-query.ts
@@ -6,7 +6,7 @@ import type { ResponseError, UseCustomQueryOptions } from 'types'
import { replicaKeys } from './keys'
// [Joshen] Is it possible to import this from the code gen?
-// https://github.com/supabase/infrastructure/blob/develop/api/src/routes/platform/projects/ref/databases-statuses.dto.ts#L7
+// https://github.com/supabase/platform/blob/develop/api/src/routes/platform/projects/ref/databases-statuses.dto.ts#L7
export enum ReplicaInitializationStatus {
'InProgress' = 'in_progress',
'Completed' = 'completed',