From c203538557910184ddc852f49ce075b16ff92bef Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Mon, 14 Mar 2022 17:45:53 +0800 Subject: [PATCH 1/4] update readme --- .../resource-manager/readme.python.md | 9 ++---- .../resource-manager/readme.python.md | 31 ++----------------- .../peering/resource-manager/readme.python.md | 8 ++--- .../quota/resource-manager/readme.python.md | 9 ++---- .../search/resource-manager/readme.python.md | 8 ++--- 5 files changed, 10 insertions(+), 55 deletions(-) diff --git a/specification/agrifood/resource-manager/readme.python.md b/specification/agrifood/resource-manager/readme.python.md index 8d1ac3775c76..a28f9e0a5bfe 100644 --- a/specification/agrifood/resource-manager/readme.python.md +++ b/specification/agrifood/resource-manager/readme.python.md @@ -3,7 +3,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(python) && $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.agrifood @@ -12,12 +12,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/agrifood/azure-mgmt-agrifood -``` diff --git a/specification/deploymentmanager/resource-manager/readme.python.md b/specification/deploymentmanager/resource-manager/readme.python.md index 8e3defca69cf..6a2a44be9a01 100644 --- a/specification/deploymentmanager/resource-manager/readme.python.md +++ b/specification/deploymentmanager/resource-manager/readme.python.md @@ -4,20 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.deploymentmanager - package-name: azure-mgmt-deploymentmanager - package-version: 0.9.1 - clear-output-folder: true - override-client-name: DeploymentManagerClient -``` - -``` yaml $(python) && $(track2) +``` yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -28,21 +15,7 @@ clear-output-folder: true modelerfour: lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/deploymentmanager/azure-mgmt-deploymentmanager/azure/mgmt/deploymentmanager -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/deploymentmanager/azure-mgmt-deploymentmanager -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/deploymentmanager/azure-mgmt-deploymentmanager/azure/mgmt/deploymentmanager -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/deploymentmanager/azure-mgmt-deploymentmanager ``` \ No newline at end of file diff --git a/specification/peering/resource-manager/readme.python.md b/specification/peering/resource-manager/readme.python.md index c02f0b8dc61d..776e99553f75 100644 --- a/specification/peering/resource-manager/readme.python.md +++ b/specification/peering/resource-manager/readme.python.md @@ -4,7 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.peering @@ -13,11 +13,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering/azure/mgmt/peering -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering ``` \ No newline at end of file diff --git a/specification/quota/resource-manager/readme.python.md b/specification/quota/resource-manager/readme.python.md index 48f46463ffa3..38d418a187ce 100644 --- a/specification/quota/resource-manager/readme.python.md +++ b/specification/quota/resource-manager/readme.python.md @@ -4,7 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && $(track2) +``` yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -14,12 +14,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota/azure/mgmt/quota ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/quota/azure-mgmt-quota -``` diff --git a/specification/search/resource-manager/readme.python.md b/specification/search/resource-manager/readme.python.md index 610b7669a722..4a0e0004146a 100644 --- a/specification/search/resource-manager/readme.python.md +++ b/specification/search/resource-manager/readme.python.md @@ -4,7 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.search @@ -12,11 +12,7 @@ package-name: azure-mgmt-search package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/search/azure-mgmt-search/azure/mgmt/search ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/search/azure-mgmt-search -``` From 9853ca342513e30c89ec276ac95f3d5325f36c3c Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 11:17:47 +0800 Subject: [PATCH 2/4] Update readme.python.md --- .../deploymentmanager/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/deploymentmanager/resource-manager/readme.python.md b/specification/deploymentmanager/resource-manager/readme.python.md index 6a2a44be9a01..68c7f5c85c4f 100644 --- a/specification/deploymentmanager/resource-manager/readme.python.md +++ b/specification/deploymentmanager/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 11:18:16 +0800 Subject: [PATCH 3/4] Update readme.python.md --- specification/quota/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/quota/resource-manager/readme.python.md b/specification/quota/resource-manager/readme.python.md index 38d418a187ce..e140ab7c49a3 100644 --- a/specification/quota/resource-manager/readme.python.md +++ b/specification/quota/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 16:21:40 +0800 Subject: [PATCH 4/4] Update readme.md --- specification/deploymentmanager/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md index 2049916d7156..3d07d0f597cb 100644 --- a/specification/deploymentmanager/resource-manager/readme.md +++ b/specification/deploymentmanager/resource-manager/readme.md @@ -107,7 +107,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go