From 6e2c9bd2f474ed0e1ce20db4fe370ddd58ae2b8e Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Fri, 3 Sep 2021 11:26:40 +0800 Subject: [PATCH] delete python track1 config --- .../resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 27 ++----------------- .../mediaservices/resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 23 ---------------- .../resource-manager/readme.md | 3 --- .../resource-manager/readme.python.md | 20 -------------- .../security/resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 25 ++--------------- .../servicefabric/resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 21 --------------- .../resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 24 ----------------- 12 files changed, 4 insertions(+), 144 deletions(-) diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index f722746ae620..10f3454a6eb6 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -149,7 +149,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 diff --git a/specification/containerinstance/resource-manager/readme.python.md b/specification/containerinstance/resource-manager/readme.python.md index 548244f12e75..92fe9161d69d 100644 --- a/specification/containerinstance/resource-manager/readme.python.md +++ b/specification/containerinstance/resource-manager/readme.python.md @@ -4,30 +4,13 @@ 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.containerinstance - package-name: azure-mgmt-containerinstance - package-version: 1.0.0 - clear-output-folder: true -``` - ``` yaml $(python) && $(track2) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.containerinstance package-name: azure-mgmt-containerinstance -package-version: 1.0.0 -``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance +package-version: 1.0.0b1 +clear-output-folder: true ``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) @@ -35,12 +18,6 @@ no-namespace-folders: true output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance ``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance -``` - ``` yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 4381acc237a2..e176229e2717 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -202,7 +202,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 diff --git a/specification/mediaservices/resource-manager/readme.python.md b/specification/mediaservices/resource-manager/readme.python.md index 5744ff7aafa0..347e51a99c6e 100644 --- a/specification/mediaservices/resource-manager/readme.python.md +++ b/specification/mediaservices/resource-manager/readme.python.md @@ -4,17 +4,6 @@ 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.media - package-name: azure-mgmt-media - package-version: 1.0.0b1 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) python-mode: create azure-arm: true @@ -25,18 +14,6 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media -``` - -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/media/azure-mgmt-media -``` - ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media diff --git a/specification/redhatopenshift/resource-manager/readme.md b/specification/redhatopenshift/resource-manager/readme.md index 6533fbb8185b..65c9ded62904 100644 --- a/specification/redhatopenshift/resource-manager/readme.md +++ b/specification/redhatopenshift/resource-manager/readme.md @@ -49,9 +49,6 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python - after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-redhatopenshift - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-go - repo: azure-resource-manager-schemas diff --git a/specification/redhatopenshift/resource-manager/readme.python.md b/specification/redhatopenshift/resource-manager/readme.python.md index f321a62ff14e..c7eccacc35bd 100644 --- a/specification/redhatopenshift/resource-manager/readme.python.md +++ b/specification/redhatopenshift/resource-manager/readme.python.md @@ -2,16 +2,6 @@ These settings apply only when `--python` is specified on the command line. -```yaml $(python) && !$(track2) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-redhatopenshift - package-version: 1.0.0b1 - clear-output-folder: true - no-namespace-folders: true -``` ```yaml $(python) && $(track2) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -25,10 +15,6 @@ no-namespace-folders: true Generate all API versions currently shipped for this package -```yaml $(python) && $(multiapi) && !$(track2) -batch: - - tag: package-2020-04-30 -``` ```yaml $(python) && $(multiapi) && $(track2) batch: - tag: package-2020-04-30 @@ -46,12 +32,6 @@ perform-load: false These settings apply only when `--tag=package-2020-04-30 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-04-30' && $(python) && !$(track2) -python: - namespace: azure.mgmt.redhatopenshift.v2020_04_30 - output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30 -``` - ``` yaml $(tag) == 'package-2020-04-30' && $(python) && $(track2) namespace: azure.mgmt.redhatopenshift.v2020_04_30 output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30 diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index af7c25d76a62..faf7ea0c9c48 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -442,7 +442,6 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-go - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/security/resource-manager/readme.python.md b/specification/security/resource-manager/readme.python.md index 448922f953a8..7101f76c7c4d 100644 --- a/specification/security/resource-manager/readme.python.md +++ b/specification/security/resource-manager/readme.python.md @@ -4,17 +4,6 @@ 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.security - package-name: azure-mgmt-security - package-version: 0.1.0 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) python-mode: create azure-arm: true @@ -23,20 +12,8 @@ namespace: azure.mgmt.security package-name: azure-mgmt-security package-version: 1.0.0b1 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)/security/azure-mgmt-security/azure/mgmt/security -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/security/azure-mgmt-security -``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security @@ -47,6 +24,8 @@ output-folder: $(python-sdks-folder)/security/azure-mgmt-security ``` ```yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true directive: - from: swagger-document where: $.definitions.AadConnectivityState.properties.connectivityState diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index d7f8e4e4bafc..da7bd4ca2f9e 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -188,7 +188,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 diff --git a/specification/servicefabric/resource-manager/readme.python.md b/specification/servicefabric/resource-manager/readme.python.md index 404c6ec0210b..7c416efad850 100644 --- a/specification/servicefabric/resource-manager/readme.python.md +++ b/specification/servicefabric/resource-manager/readme.python.md @@ -4,16 +4,6 @@ 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.servicefabric - package-name: azure-mgmt-servicefabric - clear-output-folder: true -``` ``` yaml $(python) && $(track2) python-mode: create azure-arm: true @@ -24,17 +14,6 @@ package-version: 1.0.0b1 clear-output-folder: true ``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric -``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric diff --git a/specification/sqlvirtualmachine/resource-manager/readme.md b/specification/sqlvirtualmachine/resource-manager/readme.md index 85bb4be4390f..984421b4a525 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.md @@ -53,7 +53,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-go - repo: azure-sdk-for-java diff --git a/specification/sqlvirtualmachine/resource-manager/readme.python.md b/specification/sqlvirtualmachine/resource-manager/readme.python.md index 6cfc742b4a47..41109e916a5a 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.python.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.python.md @@ -4,17 +4,6 @@ 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.sqlvirtualmachine - package-name: azure-mgmt-sqlvirtualmachine - package-version: 1.0.0b1 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) python-mode: create azure-arm: true @@ -25,19 +14,6 @@ package-version: 1.0.0b1 clear-output-folder: true ``` - -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/sql/azure-mgmt-sqlvirtualmachine/azure/mgmt/sqlvirtualmachine -``` - -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/sql/azure-mgmt-sqlvirtualmachine -``` - ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/sql/azure-mgmt-sqlvirtualmachine/azure/mgmt/sqlvirtualmachine