Skip to content

Commit 629616f

Browse files
authored
delete python track1 config (#15904)
1 parent 31a7b11 commit 629616f

File tree

12 files changed

+4
-144
lines changed

12 files changed

+4
-144
lines changed

specification/containerinstance/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ This is not used by Autorest itself.
149149
``` yaml $(swagger-to-sdk)
150150
swagger-to-sdk:
151151
- repo: azure-sdk-for-net
152-
- repo: azure-sdk-for-python
153152
- repo: azure-sdk-for-python-track2
154153
- repo: azure-sdk-for-java
155154
- repo: azure-sdk-for-go

specification/containerinstance/resource-manager/readme.python.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,20 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.containerinstance
14-
package-name: azure-mgmt-containerinstance
15-
package-version: 1.0.0
16-
clear-output-folder: true
17-
```
18-
197
``` yaml $(python) && $(track2)
208
azure-arm: true
219
license-header: MICROSOFT_MIT_NO_VERSION
2210
namespace: azure.mgmt.containerinstance
2311
package-name: azure-mgmt-containerinstance
24-
package-version: 1.0.0
25-
```
26-
27-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
28-
python:
29-
no-namespace-folders: true
30-
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance
12+
package-version: 1.0.0b1
13+
clear-output-folder: true
3114
```
3215
3316
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3417
no-namespace-folders: true
3518
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance
3619
```
3720
38-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
39-
python:
40-
basic-setup-py: true
41-
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance
42-
```
43-
4421
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
4522
basic-setup-py: true
4623
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance

specification/mediaservices/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ This is not used by Autorest itself.
202202
```yaml $(swagger-to-sdk)
203203
swagger-to-sdk:
204204
- repo: azure-sdk-for-net
205-
- repo: azure-sdk-for-python
206205
- repo: azure-sdk-for-python-track2
207206
- repo: azure-sdk-for-java
208207
- repo: azure-sdk-for-go

specification/mediaservices/resource-manager/readme.python.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.media
14-
package-name: azure-mgmt-media
15-
package-version: 1.0.0b1
16-
clear-output-folder: true
17-
```
187
``` yaml $(python) && $(track2)
198
python-mode: create
209
azure-arm: true
@@ -25,18 +14,6 @@ package-version: 1.0.0b1
2514
clear-output-folder: true
2615
```
2716
28-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
29-
python:
30-
no-namespace-folders: true
31-
output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media
32-
```
33-
34-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
35-
python:
36-
basic-setup-py: true
37-
output-folder: $(python-sdks-folder)/media/azure-mgmt-media
38-
```
39-
4017
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
4118
no-namespace-folders: true
4219
output-folder: $(python-sdks-folder)/media/azure-mgmt-media/azure/mgmt/media

specification/redhatopenshift/resource-manager/readme.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ This is not used by Autorest itself.
4949

5050
```yaml $(swagger-to-sdk)
5151
swagger-to-sdk:
52-
- repo: azure-sdk-for-python
53-
after_scripts:
54-
- python ./scripts/multiapi_init_gen.py azure-mgmt-redhatopenshift
5552
- repo: azure-sdk-for-python-track2
5653
- repo: azure-sdk-for-go
5754
- repo: azure-resource-manager-schemas

specification/redhatopenshift/resource-manager/readme.python.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
These settings apply only when `--python` is specified on the command line.
44

5-
```yaml $(python) && !$(track2)
6-
python:
7-
azure-arm: true
8-
license-header: MICROSOFT_MIT_NO_VERSION
9-
payload-flattening-threshold: 2
10-
package-name: azure-mgmt-redhatopenshift
11-
package-version: 1.0.0b1
12-
clear-output-folder: true
13-
no-namespace-folders: true
14-
```
155
```yaml $(python) && $(track2)
166
azure-arm: true
177
license-header: MICROSOFT_MIT_NO_VERSION
@@ -25,10 +15,6 @@ no-namespace-folders: true
2515
2616
Generate all API versions currently shipped for this package
2717
28-
```yaml $(python) && $(multiapi) && !$(track2)
29-
batch:
30-
- tag: package-2020-04-30
31-
```
3218
```yaml $(python) && $(multiapi) && $(track2)
3319
batch:
3420
- tag: package-2020-04-30
@@ -46,12 +32,6 @@ perform-load: false
4632
These settings apply only when `--tag=package-2020-04-30 --python` is specified on the command line.
4733
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
4834

49-
``` yaml $(tag) == 'package-2020-04-30' && $(python) && !$(track2)
50-
python:
51-
namespace: azure.mgmt.redhatopenshift.v2020_04_30
52-
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
53-
```
54-
5535
``` yaml $(tag) == 'package-2020-04-30' && $(python) && $(track2)
5636
namespace: azure.mgmt.redhatopenshift.v2020_04_30
5737
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30

specification/security/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ This is not used by Autorest itself.
442442
swagger-to-sdk:
443443
- repo: azure-sdk-for-net
444444
- repo: azure-sdk-for-go
445-
- repo: azure-sdk-for-python
446445
- repo: azure-sdk-for-python-track2
447446
- repo: azure-sdk-for-js
448447
- repo: azure-sdk-for-node

specification/security/resource-manager/readme.python.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.security
14-
package-name: azure-mgmt-security
15-
package-version: 0.1.0
16-
clear-output-folder: true
17-
```
187
``` yaml $(python) && $(track2)
198
python-mode: create
209
azure-arm: true
@@ -23,20 +12,8 @@ namespace: azure.mgmt.security
2312
package-name: azure-mgmt-security
2413
package-version: 1.0.0b1
2514
clear-output-folder: true
26-
modelerfour:
27-
lenient-model-deduplication: true
2815
```
2916
30-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
31-
python:
32-
no-namespace-folders: true
33-
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security
34-
```
35-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
36-
python:
37-
basic-setup-py: true
38-
output-folder: $(python-sdks-folder)/security/azure-mgmt-security
39-
```
4017
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
4118
no-namespace-folders: true
4219
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
4724
```
4825
4926
```yaml $(python) && $(track2)
27+
modelerfour:
28+
lenient-model-deduplication: true
5029
directive:
5130
- from: swagger-document
5231
where: $.definitions.AadConnectivityState.properties.connectivityState

specification/servicefabric/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ This is not used by Autorest itself.
188188
``` yaml $(swagger-to-sdk)
189189
swagger-to-sdk:
190190
- repo: azure-sdk-for-net
191-
- repo: azure-sdk-for-python
192191
- repo: azure-sdk-for-python-track2
193192
- repo: azure-sdk-for-java
194193
- repo: azure-sdk-for-go

specification/servicefabric/resource-manager/readme.python.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.servicefabric
14-
package-name: azure-mgmt-servicefabric
15-
clear-output-folder: true
16-
```
177
``` yaml $(python) && $(track2)
188
python-mode: create
199
azure-arm: true
@@ -24,17 +14,6 @@ package-version: 1.0.0b1
2414
clear-output-folder: true
2515
```
2616
27-
28-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
29-
python:
30-
no-namespace-folders: true
31-
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric
32-
```
33-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
34-
python:
35-
basic-setup-py: true
36-
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric
37-
```
3817
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3918
no-namespace-folders: true
4019
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric

0 commit comments

Comments
 (0)