Skip to content

Commit 708774f

Browse files
fix(backend): align cloud exclude.repos matching with new identifier format
Update cloudShouldExcludeRepo to match against workspace/PROJECT_KEY/repo instead of full_name (workspace/repo), consistent with the new displayName format. Also update schema examples to reflect the correct formats. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 73bf6e6 commit 708774f

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

docs/snippets/schemas/v3/bitbucket.schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@
104104
},
105105
"examples": [
106106
[
107-
"cloud_workspace/repo1",
108-
"server_project/repo2"
107+
"cloud_workspace/PROJECT_KEY/repo1",
108+
"SERVER_PROJECT_KEY/repo2"
109109
]
110110
],
111111
"description": "List of specific repos to exclude from syncing."

docs/snippets/schemas/v3/connection.schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,8 @@
781781
},
782782
"examples": [
783783
[
784-
"cloud_workspace/repo1",
785-
"server_project/repo2"
784+
"cloud_workspace/PROJECT_KEY/repo1",
785+
"SERVER_PROJECT_KEY/repo2"
786786
]
787787
],
788788
"description": "List of specific repos to exclude from syncing."

docs/snippets/schemas/v3/index.schema.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,8 @@
11961196
},
11971197
"examples": [
11981198
[
1199-
"cloud_workspace/repo1",
1200-
"server_project/repo2"
1199+
"cloud_workspace/PROJECT_KEY/repo1",
1200+
"SERVER_PROJECT_KEY/repo2"
12011201
]
12021202
],
12031203
"description": "List of specific repos to exclude from syncing."

packages/schemas/src/v3/bitbucket.schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ const schema = {
103103
},
104104
"examples": [
105105
[
106-
"cloud_workspace/repo1",
107-
"server_project/repo2"
106+
"cloud_workspace/PROJECT_KEY/repo1",
107+
"SERVER_PROJECT_KEY/repo2"
108108
]
109109
],
110110
"description": "List of specific repos to exclude from syncing."

packages/schemas/src/v3/connection.schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@ const schema = {
780780
},
781781
"examples": [
782782
[
783-
"cloud_workspace/repo1",
784-
"server_project/repo2"
783+
"cloud_workspace/PROJECT_KEY/repo1",
784+
"SERVER_PROJECT_KEY/repo2"
785785
]
786786
],
787787
"description": "List of specific repos to exclude from syncing."

packages/schemas/src/v3/index.schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,8 +1195,8 @@ const schema = {
11951195
},
11961196
"examples": [
11971197
[
1198-
"cloud_workspace/repo1",
1199-
"server_project/repo2"
1198+
"cloud_workspace/PROJECT_KEY/repo1",
1199+
"SERVER_PROJECT_KEY/repo2"
12001200
]
12011201
],
12021202
"description": "List of specific repos to exclude from syncing."

0 commit comments

Comments
 (0)