Skip to content

Commit 0ae31ff

Browse files
authored
add maintenance track2 config (#11971)
1 parent 8cef801 commit 0ae31ff

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

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

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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)
7+
``` yaml $(python) && !$(track2)
88
python-mode: create
99
python:
1010
azure-arm: true
@@ -15,15 +15,34 @@ python:
1515
package-version: 1.1.0
1616
clear-output-folder: true
1717
```
18+
``` yaml $(python) && $(track2)
19+
python-mode: create
20+
azure-arm: true
21+
license-header: MICROSOFT_MIT_NO_VERSION
22+
namespace: azure.mgmt.maintenance
23+
package-name: azure-mgmt-maintenance
24+
package-version: 1.1.0
25+
clear-output-folder: true
26+
```
1827
19-
``` yaml $(python) && $(python-mode) == 'update'
28+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
2029
python:
2130
no-namespace-folders: true
2231
output-folder: $(python-sdks-folder)/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance
2332
```
2433
25-
``` yaml $(python) && $(python-mode) == 'create'
34+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
2635
python:
2736
basic-setup-py: true
2837
output-folder: $(python-sdks-folder)/maintenance/azure-mgmt-maintenance
29-
```
38+
```
39+
40+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
41+
no-namespace-folders: true
42+
output-folder: $(python-sdks-folder)/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance
43+
```
44+
45+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
46+
basic-setup-py: true
47+
output-folder: $(python-sdks-folder)/maintenance/azure-mgmt-maintenance
48+
```

0 commit comments

Comments
 (0)