Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] delete python track1 config #15904

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion specification/containerinstance/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,20 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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)
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
Expand Down
1 change: 0 additions & 1 deletion specification/mediaservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 0 additions & 23 deletions specification/mediaservices/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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
Expand All @@ -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
Expand Down
3 changes: 0 additions & 3 deletions specification/redhatopenshift/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions specification/redhatopenshift/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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
Expand Down
1 change: 0 additions & 1 deletion specification/security/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 2 additions & 23 deletions specification/security/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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
Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion specification/servicefabric/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 0 additions & 21 deletions specification/servicefabric/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion specification/sqlvirtualmachine/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
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
Expand All @@ -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
Expand Down