From b7d3377cb316ad035e6f2a251f80a97c1987e6a2 Mon Sep 17 00:00:00 2001 From: Wanpeng Li Date: Tue, 6 Aug 2024 12:01:14 +0800 Subject: [PATCH 01/13] test breaking change mlc in js (#3451) * ` * ` * Revert "`" This reverts commit c26fc6a348a2b2d7db82c74a801ae8610c25d65f. --- specificationRepositoryConfiguration.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index b623d3513ea6..efa1e5189e40 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -14,7 +14,8 @@ }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js", + "mainBranch": "test_repo_breaking_change_mlc" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", @@ -82,4 +83,4 @@ "@azure-tools/typespec-ts": "azure-sdk-for-js", "@azure-tools/typespec-go": "azure-sdk-for-go" } -} +} \ No newline at end of file From 729e915db42deeae78eb66ad9e134bca22a9953d Mon Sep 17 00:00:00 2001 From: Peng Jiahui <46921893+Alancere@users.noreply.github.com> Date: Wed, 7 Aug 2024 15:42:41 +0800 Subject: [PATCH 02/13] Update specificationRepositoryConfiguration.json (#3457) --- specificationRepositoryConfiguration.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index efa1e5189e40..9195612d3ad5 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,7 +4,8 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go", + "mainRepository": "Alancere/azure-sdk-for-go", + "mainBranch": "fix_generator_tool_0807", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { @@ -83,4 +84,4 @@ "@azure-tools/typespec-ts": "azure-sdk-for-js", "@azure-tools/typespec-go": "azure-sdk-for-go" } -} \ No newline at end of file +} From 0bc7c1e79795562287755b516934c77fbc1e5759 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 7 Aug 2024 18:02:16 +0800 Subject: [PATCH 03/13] Update specificationRepositoryConfiguration.json (#3459) --- specificationRepositoryConfiguration.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9195612d3ad5..23057aa3e4ac 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -29,7 +29,8 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "Azure/azure-sdk-for-python", + "mainBranch": "pipeline-update" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", From 76baa14ba0cc401a2ee55389187cf5d2955dcb1c Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Fri, 9 Aug 2024 11:49:45 +0800 Subject: [PATCH 04/13] Update specificationRepositoryConfiguration.json (#3462) Revert python repo branch change as it was deleted. --- specificationRepositoryConfiguration.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 23057aa3e4ac..9195612d3ad5 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -29,8 +29,7 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python", - "mainBranch": "pipeline-update" + "mainRepository": "Azure/azure-sdk-for-python" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", From 280602975898abe4f5acc57b440b5057c3fbf1f8 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 9 Aug 2024 15:12:42 +0800 Subject: [PATCH 05/13] Update specificationRepositoryConfiguration.json (#3463) --- specificationRepositoryConfiguration.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9195612d3ad5..6fe32e4ff81c 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -29,7 +29,8 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "Azure/azure-sdk-for-python", + "mainBranch": "pipeline-optimize-for-multi-input" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", From fe891cb5eb257e328e598aaaedf181fc7976f67c Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 7 Oct 2024 14:02:17 -0700 Subject: [PATCH 06/13] Remove azure-resource-manager-schemas --- specificationRepositoryConfiguration.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 6fe32e4ff81c..378fa6d38df2 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -32,10 +32,6 @@ "mainRepository": "Azure/azure-sdk-for-python", "mainBranch": "pipeline-optimize-for-multi-input" }, - "azure-resource-manager-schemas": { - "integrationRepository": "azure-sdk/azure-resource-manager-schemas", - "mainRepository": "Azure/azure-resource-manager-schemas" - }, "azure-powershell": { "integrationRepository": "azure-sdk/azure-powershell", "mainRepository": "Azure/azure-powershell" From f65a55f7c63b5ccb3cabb0a22b6e0694937781fc Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Thu, 17 Oct 2024 23:26:59 +0800 Subject: [PATCH 07/13] change config --- specificationRepositoryConfiguration.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 378fa6d38df2..9c6ad529e741 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,8 +4,7 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Alancere/azure-sdk-for-go", - "mainBranch": "fix_generator_tool_0807", + "mainRepository": "Azure/azure-sdk-for-go", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { @@ -15,8 +14,7 @@ }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "test-repo-billy/azure-sdk-for-js", - "mainBranch": "test_repo_breaking_change_mlc" + "mainRepository": "Azure/azure-sdk-for-js" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", @@ -29,8 +27,7 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python", - "mainBranch": "pipeline-optimize-for-multi-input" + "mainRepository": "Azure/azure-sdk-for-python" }, "azure-powershell": { "integrationRepository": "azure-sdk/azure-powershell", From 13f801140e3f4872b6879fee918eb87d52cdcaa3 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Thu, 17 Oct 2024 23:28:12 +0800 Subject: [PATCH 08/13] Revert "change config" --- specificationRepositoryConfiguration.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9c6ad529e741..378fa6d38df2 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,7 +4,8 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go", + "mainRepository": "Alancere/azure-sdk-for-go", + "mainBranch": "fix_generator_tool_0807", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { @@ -14,7 +15,8 @@ }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js", + "mainBranch": "test_repo_breaking_change_mlc" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", @@ -27,7 +29,8 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "Azure/azure-sdk-for-python", + "mainBranch": "pipeline-optimize-for-multi-input" }, "azure-powershell": { "integrationRepository": "azure-sdk/azure-powershell", From 79a2ef9992f73953052b25257c369a93daa4723d Mon Sep 17 00:00:00 2001 From: XiaofeiCao Date: Thu, 24 Oct 2024 14:16:49 +0800 Subject: [PATCH 09/13] java config --- specificationRepositoryConfiguration.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 378fa6d38df2..9a95f0680257 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -10,7 +10,8 @@ }, "azure-sdk-for-java": { "integrationRepository": "azure-sdk/azure-sdk-for-java", - "mainRepository": "Azure/azure-sdk-for-java", + "mainRepository": "XiaofeiCao/azure-sdk-for-java", + "mainBranch": "breaking_change_detection", "configFilePath": "eng/automation/swagger_to_sdk_config.json" }, "azure-sdk-for-js": { @@ -81,4 +82,4 @@ "@azure-tools/typespec-ts": "azure-sdk-for-js", "@azure-tools/typespec-go": "azure-sdk-for-go" } -} +} \ No newline at end of file From 152d42215263aa8bd9e2d635120581fff0d14608 Mon Sep 17 00:00:00 2001 From: "FAREAST\\chunyu" Date: Mon, 28 Oct 2024 13:31:57 +0800 Subject: [PATCH 10/13] update mainbranch for test --- specificationRepositoryConfiguration.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9a95f0680257..e84b5133618d 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -26,6 +26,7 @@ "azure-sdk-for-net-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-net", "mainRepository": "Azure/azure-sdk-for-net", + "mainBranch": "breaking-changes", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-python": { @@ -82,4 +83,4 @@ "@azure-tools/typespec-ts": "azure-sdk-for-js", "@azure-tools/typespec-go": "azure-sdk-for-go" } -} \ No newline at end of file +} From e855dbe21b28e8df6d1222f6db7b58a9063eb9bd Mon Sep 17 00:00:00 2001 From: albertxavier100 Date: Mon, 4 Nov 2024 10:34:15 +0800 Subject: [PATCH 11/13] . --- specification/ai/DocumentIntelligence/models.tsp | 2 +- specification/ai/DocumentIntelligence/tspconfig.yaml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/specification/ai/DocumentIntelligence/models.tsp b/specification/ai/DocumentIntelligence/models.tsp index f5863bdbeb5f..733272b538b3 100644 --- a/specification/ai/DocumentIntelligence/models.tsp +++ b/specification/ai/DocumentIntelligence/models.tsp @@ -1005,7 +1005,7 @@ model DocumentLanguage { Detected language. Value may an ISO 639-1 language code (ex. \"en\", \"fr\") or BCP 47 language tag (ex. \"zh-Hans\"). """) - locale: string; + locale: int64; @doc(""" Location of the text elements in the concatenated content the language applies diff --git a/specification/ai/DocumentIntelligence/tspconfig.yaml b/specification/ai/DocumentIntelligence/tspconfig.yaml index 35640ce9b98c..4b8b63c17e95 100644 --- a/specification/ai/DocumentIntelligence/tspconfig.yaml +++ b/specification/ai/DocumentIntelligence/tspconfig.yaml @@ -48,11 +48,13 @@ options: model-namespace: false flavor: azure "@azure-tools/typespec-ts": - title: DocumentIntelligence - package-dir: "ai-document-intelligence-rest" generateMetadata: true + generateSample: true + generateTest: true + azureSdkForJs: true + package-dir: "ai-document-intelligence-rest" packageDetails: name: "@azure-rest/ai-document-intelligence" description: "Document Intelligence Rest Client" - version: "1.0.0-beta.1" - flavor: azure + version: "1.0.0-beta.5" + flavor: azure \ No newline at end of file From d23b33134375b1e8160bbb6d59731ed929f0d66d Mon Sep 17 00:00:00 2001 From: Wanpeng Li Date: Mon, 4 Nov 2024 16:02:41 +0800 Subject: [PATCH 12/13] Create branch.txt --- .js/branch.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 .js/branch.txt diff --git a/.js/branch.txt b/.js/branch.txt new file mode 100644 index 000000000000..e60643a837db --- /dev/null +++ b/.js/branch.txt @@ -0,0 +1 @@ +origin/fix-package-path From 1a71b2c104053943dc429db077caa7fb8e5d334e Mon Sep 17 00:00:00 2001 From: "FAREAST\\chunyu" Date: Thu, 7 Nov 2024 11:24:51 +0800 Subject: [PATCH 13/13] update sdk configuration for test --- specificationRepositoryConfiguration.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9c6ad529e741..546e736dea96 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -17,8 +17,9 @@ "mainRepository": "Azure/azure-sdk-for-js" }, "azure-sdk-for-net": { - "integrationRepository": "azure-sdk/azure-sdk-for-net", - "mainRepository": "Azure/azure-sdk-for-net" + "integrationRepository": "Azure/azure-sdk-for-net", + "mainRepository": "test-repo-billy/azure-sdk-for-net", + "mainBranch": "Fix9221" }, "azure-sdk-for-net-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-net",