From 115751668dee6c02abd195f854b2206dc75ed363 Mon Sep 17 00:00:00 2001 From: 00Kai0 Date: Wed, 15 Apr 2020 10:27:29 +0800 Subject: [PATCH 1/7] update appconfiguration python.md for track2 --- .../resource-manager/readme.python.md | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index 4b37490f2f0a..21af7a9ea1bc 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -4,17 +4,26 @@ 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) +``` yaml !$(track2) python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.appconfiguration - package-name: azure-mgmt-appconfiguration - package-version: 0.1.0 - clear-output-folder: true +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.appconfiguration +package-name: azure-mgmt-appconfiguration +package-version: 0.1.0 +clear-output-folder: true ``` + +These settings apply only when `--track2` is specified on the command line. + +``` yaml $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-appconfiguration +no-namespace-folders: true +package-version: 0.1.0 +``` + ``` yaml $(python) && $(python-mode) == 'update' python: no-namespace-folders: true From 8a48238bffd6afedc5bb37653d71205d7ae132ab Mon Sep 17 00:00:00 2001 From: 00Kai0 Date: Wed, 15 Apr 2020 11:51:28 +0800 Subject: [PATCH 2/7] remove $(python) --- .../resource-manager/readme.python.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index 21af7a9ea1bc..bedd62389ce5 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -24,13 +24,11 @@ no-namespace-folders: true package-version: 0.1.0 ``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration +``` yaml $(python-mode) == 'update' +no-namespace-folders: true +output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration ``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration +``` yaml $(python-mode) == 'create' +basic-setup-py: true +output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration ``` From 5996b7b7832f71197850bf43c12cd3f2dbef54c0 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 15 Apr 2020 07:58:41 +0200 Subject: [PATCH 3/7] Update readme.python.md --- .../resource-manager/readme.python.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index bedd62389ce5..0e3fcc02363c 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -5,13 +5,14 @@ Please also specify `--python-sdks-folder= Date: Wed, 15 Apr 2020 07:59:39 +0200 Subject: [PATCH 4/7] Update readme.python.md --- .../appconfiguration/resource-manager/readme.python.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index 0e3fcc02363c..ac7f62107f7f 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -5,9 +5,10 @@ Please also specify `--python-sdks-folder= Date: Wed, 15 Apr 2020 08:00:04 +0200 Subject: [PATCH 5/7] Update readme.python.md --- .../appconfiguration/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index ac7f62107f7f..785b67c4bc84 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -9,8 +9,8 @@ python-mode: create python: azure-arm: true payload-flattening-threshold: 2 - license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.appconfiguration + license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-appconfiguration package-version: 0.1.0 clear-output-folder: true From eae195b582d25578d7e848f74539f6704bfb3590 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 15 Apr 2020 08:00:31 +0200 Subject: [PATCH 6/7] Update readme.python.md --- .../appconfiguration/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index 785b67c4bc84..1f9aa023808f 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -8,9 +8,9 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat python-mode: create python: azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 namespace: azure.mgmt.appconfiguration - license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-appconfiguration package-version: 0.1.0 clear-output-folder: true From 5260d87c9ca6cf063e43939c807d0439e4561203 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 15 Apr 2020 09:55:53 +0200 Subject: [PATCH 7/7] Update readme.python.md --- .../appconfiguration/resource-manager/readme.python.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md index 1f9aa023808f..1a125d702381 100644 --- a/specification/appconfiguration/resource-manager/readme.python.md +++ b/specification/appconfiguration/resource-manager/readme.python.md @@ -27,10 +27,16 @@ package-version: 0.1.0 ``` ``` yaml $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration no-namespace-folders: true output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration ``` ``` yaml $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration basic-setup-py: true output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration ```