Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
9ee214a
{Misc.} Update CODEOWNERS (#12149)
fengzhou-msft Feb 13, 2020
650a87f
{Packaging} Update version management policy (#12095)
fengzhou-msft Feb 13, 2020
3d94001
[AppConfig]Add customer managed key when updating stores. (#12102)
shenmuxiaosen Feb 13, 2020
47843a0
{Network} Connection Monitor V2 feature (#12140)
Feb 13, 2020
d3beab8
[Compute] BREAKING CHANGE: Fix #10728: `az vm create`: create subnet …
arrownj Feb 13, 2020
800e711
[Aladdin] Parse generated examples into commands' _help.py (#11716)
Feb 13, 2020
b2ed027
[Compute] Increase robustness of vm image list (#12134)
qwordy Feb 13, 2020
eb12ac4
{KeyVault} Modify command group name `private-endpoint` to `private-e…
bim-msft Feb 13, 2020
6957c33
{Compute} Add missing parameter to attach disk example command (#12045)
gaoruifeng Feb 13, 2020
9ac96e9
[AppService] Add support for v3 function apps and node 12. (#11987)
gzuber Feb 13, 2020
6042531
[AppService] az webapp list-runtimes: Fix the bug for list-runtimes (…
Juliehzl Feb 13, 2020
2211d62
{Packaging} Get rid of psutil dependency (#11665)
avoidik Feb 13, 2020
f74992b
{Release} Auto generate history notes (#12098)
fengzhou-msft Feb 13, 2020
46a142f
[AppService] az webapp|functionapp config ssl create: Add new command…
madsd Feb 13, 2020
2415e51
{Packaging} Remove Python 2 in setup and doc (#12155)
fengzhou-msft Feb 13, 2020
86219a4
{Core} use caseless matching for provisioning_state (#12154)
fengzhou-msft Feb 13, 2020
6ff8dfc
Fix az group deployment create has an error when using large paramet…
zhoxing-ms Feb 14, 2020
62cdb8d
[ACR] `az acr login`: Throw a CLIError if there are errors returned b…
Wwwsylvia Feb 14, 2020
7c770bd
[Backup] Fix for item level recovery flow in OLR (#12118)
Feb 14, 2020
6ca41c4
[Backup] az backup recoveryconfig show: Add more parameters to suppor…
Feb 14, 2020
031525f
{Release} Upgrade to Azure CLI 2.1.0 (#12195)
Feb 14, 2020
fe295a0
[ARM] az resource: Improve the examples of the resource module (#11981)
zhoxing-ms Feb 14, 2020
92e5bea
{CI} Remove files related to Travis only (#12203)
Feb 15, 2020
14906a4
{Monitor} az monitor autoscale create: add example for custom rule ba…
mmyyrroonn Feb 15, 2020
5edbd82
{azdev} Remove urllib3==1.24.2 from requirements.txt (#12211)
jiasli Feb 17, 2020
99daea9
[AKS] fix the aks browse in cloud shell. (#12174)
andyliuliming Feb 18, 2020
86ff170
{Storage} az storage share-rm: Add process_resource_group for resourc…
Juliehzl Feb 18, 2020
d9e9cc8
[AKS] az aks: Fix monitoring addon and agentpool NoneType errors. (#1…
JunSun17 Feb 19, 2020
1236adc
{SignalR} Fix show command fails with unexpected error when the resou…
stan-sz Feb 20, 2020
882791c
Do not copy tests dirs in docker image (#12208)
sylr Feb 21, 2020
df3943f
[Storage] az storage blob delete-batch: Misbehaving `--dryrun` flag (…
qianwens Feb 21, 2020
37dc3d8
[ACR] Fix: `az acr login` wrongly raise error (#12282)
Wwwsylvia Feb 21, 2020
458e8cb
[Network] az network application-gateway rewrite-rule create: support…
mmyyrroonn Feb 21, 2020
da554c3
[Network] az network dns zone import: --zone-name will be case insens…
mmyyrroonn Feb 21, 2020
3a09b76
fix (#12300)
mmyyrroonn Feb 21, 2020
13eff82
[AppService] Fix #2258: Fixing issue where trying to create a webapp …
panchagnula Feb 21, 2020
d92bb6c
{Network} Supplemnt help message of --source-address-prefixes and --d…
Feb 23, 2020
27fb3d7
{doc} Add Import Directive from docutils.parsers.rst for old API depr…
bluca Feb 23, 2020
358e599
{Document} update install troubleshooting (#12230)
fengzhou-msft Feb 23, 2020
0a9ce67
{Network} Fix wrong import ZoneType of DNS (#12322)
Feb 23, 2020
2263f5d
update codeowners (#12201)
yungezz Feb 24, 2020
af4fca8
{Storage} Change api version range for storage account kind (#12265)
Juliehzl Feb 24, 2020
1644eec
[CosmosDB] Add Sql stored procedure, udf and trigger cmdlets (#11999)
MehaKaushik Feb 24, 2020
8effd10
[ACS] (BREAKING CHANGE:) (az aks:) support msi changes for GF and BF …
rashmichandrashekar Feb 24, 2020
3467fe7
[ARM] az policy assignment list: Support listing policy assignments a…
pilor Feb 24, 2020
9387d58
{Packaging/Ubuntu} remove cosmic packaging (#12330)
fengzhou-msft Feb 24, 2020
3d2c62d
{Container monitoring} - Add case insensitive string compare for msi …
rashmichandrashekar Feb 25, 2020
42b6205
[KeyVault] keyvault create: enable soft-delete by default (#12204)
jiasli Feb 25, 2020
b7c9fbf
make PE and PLS GA (#12326)
mmyyrroonn Feb 25, 2020
ea7c279
[Network]az network bastion: support bastion (#12331)
mmyyrroonn Feb 25, 2020
e5a1c43
[AKS] az aks use-dev-spaces: Adding endpoint type option to use-dev-s…
rakeshvanga Feb 25, 2020
5410c7f
[AKS] add tag for nodepool (#12145)
zqingqing1 Feb 26, 2020
539554b
{Packaging/Homebrew} Remove patch when upgrade (#12344)
fengzhou-msft Feb 26, 2020
f68ed49
{Find} az find: Remove EUII (#12349)
mirdaki Feb 26, 2020
e5776ab
delete azure-cli-extension (#12362)
mmyyrroonn Feb 26, 2020
0a35920
[Compute] sig image-version: add --data-snapshot-luns (#12303)
qwordy Feb 27, 2020
5fb5981
[AppService] functionapp: Added error message to deployment command i…
gzuber Feb 27, 2020
75e73e3
[AppService] fixing flag cited in warning message (#12364)
brandonh-msft Feb 27, 2020
991cb7c
[ARM] Refactor deployment commands (#10751)
Tiano2017 Feb 27, 2020
1a4a043
[ACR] Add new command `az acr helm install-cli` (#12336)
Wwwsylvia Feb 27, 2020
77fcc2b
[Network] az network vnet list-available-ips: support list available …
mmyyrroonn Feb 28, 2020
2242523
Validate ip-address parameter + tests (#12312)
madsd Feb 28, 2020
797ddfd
[AppService] functionapp: Updated container image configuration for L…
gzuber Feb 28, 2020
03a8234
[Network] Add new commands to manage flow-log and deprecate old confi…
Feb 29, 2020
1bc0fd0
{Packaging/windows pip} Use local python for az.bat (#12323)
fengzhou-msft Mar 2, 2020
3a5f1ea
[Storage] az storage account network-rule add (bug fix): add operatio…
qianwens Mar 2, 2020
0155eff
[AKS] Add support of creating private cluster (#12353)
feiskyer Mar 2, 2020
b520017
[SQL] Sql midb Add: list-deleted, show-deleted, update-retention, sho…
djnisic Mar 2, 2020
f62b257
{KeyVault} Fix the case sensitive issue while running commands withou…
bim-msft Mar 3, 2020
29d381e
{Storage} az storage file copy start: add examples for snapshot #12410
Juliehzl Mar 3, 2020
06a83a4
{Documentation}Command guideline for private endpoint connection and …
mmyyrroonn Mar 4, 2020
e42d9f7
[AKS] add support for creation time node labels (#12418)
Mar 4, 2020
b5b000b
move propagate_env_change.exe to storage account (#12401)
fengzhou-msft Mar 4, 2020
7e52eea
{Telemetry} Disable telemetry for some clouds (#12400)
fengzhou-msft Mar 4, 2020
02a2ed3
[Storage] az storage account create/update: Add Routing Preference su…
Juliehzl Mar 4, 2020
39ca86e
{Monitor}show command should return 3 (#12404)
mmyyrroonn Mar 4, 2020
462988b
{Find} Suppress old find extension (#12432)
mirdaki Mar 4, 2020
71a9ab2
[Storage] Upgrade azure-mgmt-storage version to 8.0.0 (#12437)
Juliehzl Mar 4, 2020
74c3e5c
[ACR]: private link and CMK support (#12381)
yugangw-msft Mar 4, 2020
9d6d195
[AppService] Fix #12251 app settings race condition during zip deploy…
qwordy Mar 5, 2020
4a77dc2
Acr: remove private .wheel file (#12450)
mmyyrroonn Mar 5, 2020
a7c612f
[RDBMS] Support Private Endpoint Connections (#12394)
Mar 5, 2020
4eb8354
[Compute] ppg show: add --colocation-status to Enable fetching the co…
qwordy Mar 5, 2020
024e0cb
{Compute} fix none check when list vmss extension. (#11914)
yungezz Mar 5, 2020
57e18e2
[AKS] add missing / in the dashboard url. (#12411)
qwordy Mar 5, 2020
eed09f2
add allowProtectedAppendWrite (#12448)
Juliehzl Mar 5, 2020
c7efd3e
[Monitor] az monitor metrics alert create: support `~` in `--conditio…
mmyyrroonn Mar 5, 2020
191186e
update codeowners (#12453)
yonzhan Mar 5, 2020
b91666c
Improve the help of az policy assignment create (#12343)
zhoxing-ms Mar 5, 2020
8a93edf
Fix the bug that automatically generated name of policy assignment ex…
zhoxing-ms Mar 5, 2020
d230ddf
[Cosmos DB] az cosmosdb create: add --key-uri to support adding key v…
Juliehzl Mar 5, 2020
6ddc00c
[ARM] az group deployment create: Add parameter `--aux-tenants` to su…
zhoxing-ms Mar 5, 2020
253058e
[ACR] add 'private-link-resource list' command (#12454)
yugangw-msft Mar 5, 2020
b75e121
{Documentation}fix documenttation (#12435)
mmyyrroonn Mar 5, 2020
fef1731
[AKS] Support create aks clusters enabling managed identity (#12420)
arrownj Mar 5, 2020
836da49
[CDN] Add CDN WAF commands (#12071)
mmyyrroonn Mar 5, 2020
607bf30
[Core] az cloud show: add insights telemetry channel endpoint for Chi…
arrownj Mar 5, 2020
9115d12
[Storage] Add support for private link resource (#12383)
Juliehzl Mar 5, 2020
e235711
[Compute] az vmss create/update: support automatic repairs (#12374)
arrownj Mar 5, 2020
61fbe31
[AKS] Validate network plugin to be either "azure" or "kubenet". (#12…
fengzhou-msft Mar 5, 2020
36cba3d
[AppService] Fix #5720946: az webapp backup fails to set name (#11929)
panchagnula Mar 5, 2020
37d1526
[RBAC] az ad group show: fix --group value treated as regex problem (…
arrownj Mar 6, 2020
d08a69c
[Storage] Add PITR support (#12372)
Juliehzl Mar 6, 2020
6957274
{KeyVault} Modify private link commands to align with storage (#12457)
bim-msft Mar 6, 2020
95ab1ee
{Core} Change help example hook (#12431)
mirdaki Mar 6, 2020
8aecc13
[AKS] Add aad session key support. (#12290)
JunSun17 Mar 6, 2020
5299e9b
{Release} use pat for github requests (#12474)
fengzhou-msft Mar 6, 2020
0071a8a
{Packaging} bump up pyyaml (#12440)
fengzhou-msft Mar 6, 2020
f22b7cd
[RDBMS] Updating RDBMS Private Endpoint Tests (#12475)
ramnov Mar 6, 2020
f6e542a
[Compute] image builder create: add --image-template\n[Compute] [BREA…
qwordy Mar 6, 2020
554f1c9
[SQL] az sql server create/update: Add --enable-public-network to sup…
emgu-ms Mar 6, 2020
0bb3972
[SQL DB, SQL MI] Add minimal_tls_version property for MI and SQL DB (…
cicovica Mar 6, 2020
efd6f49
[AppConfig] Unblock using appconfig kv set to add keyvault reference …
shenmuxiaosen Mar 6, 2020
4493a83
{Release} Upgrade to Azure CLI 2.2.0 (#12486)
Mar 6, 2020
86541c2
{Document} Fix dead documentation link to Microsoft open source page …
kimsey0 Mar 6, 2020
1174a33
{Compute} Delay vm image accept-terms expiration (#12487)
jiasli Mar 6, 2020
0ea2726
{Packaging} Use python3 abspath in az script. (#12467)
mryan1539 Mar 11, 2020
f4c01bf
add test and fix 12387 (#12518)
mmyyrroonn Mar 11, 2020
8e369b9
{CDN} Delay importing ErrorResponseException (#12535)
jiasli Mar 11, 2020
dd9326d
Merge branch 'dev' of https://github.com/Azure/azure-cli into ANF-448…
audunn Mar 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
!LICENSE.txt
# Exclude build droppings, as mentioned in .gitignore
src/build*
# Exclude tests
src/azure-cli/azure/cli/command_modules/*/tests
# Exclude python cache
**/*.pyc
**/__pycache__
13 changes: 6 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/tools/ @haroldrandom @fengzhou-msft
/scripts/ @haroldrandom @fengzhou-msft
/src/azure-cli-testsdk/ @bim-msft @MyronFanQiu @haroldrandom
/src/azure-cli-core/ @jiasli @Juliehzl @haroldrandom @fengzhou-msft @qianwens
/src/azure-cli-core/ @jiasli @Juliehzl @haroldrandom @fengzhou-msft @qianwens @arrownj
/src/azure-cli/azure/cli/command_modules/acr/ @djyou
/src/azure-cli/azure/cli/command_modules/acs/ @rjtsdl
/src/azure-cli/azure/cli/command_modules/advisor/ @Prasanna-Padmanabhan
Expand All @@ -17,25 +17,24 @@
/src/azure-cli/azure/cli/command_modules/batch/ @bgklein
/src/azure-cli/azure/cli/command_modules/batchai/ @AlexanderYukhanov
/src/azure-cli/azure/cli/command_modules/cosmosdb/ @dmakwana
/src/azure-cli/azure/cli/command_modules/cloud/ @jiasli
/src/azure-cli/azure/cli/command_modules/cloud/ @jiasli @fengzhou-msft
/src/azure-cli/azure/cli/command_modules/container/ @samkreter
/src/azure-cli/azure/cli/command_modules/consumption/ @sandeepnl
/src/azure-cli/azure/cli/command_modules/dls/ @lewu-msft
/src/azure-cli/azure/cli/command_modules/eventgrid/ @kalyanaj
/src/azure-cli/azure/cli/command_modules/extension/ @zikalino
/src/azure-cli/azure/cli/command_modules/keyvault/ @bim-msft @fengzhou-msft @jiasli
/src/azure-cli/azure/cli/command_modules/monitor/ @MyronFanQiu
/src/azure-cli/azure/cli/command_modules/natgateway/ @khannarheams @MyronFanQiu @haroldrandom
/src/azure-cli/azure/cli/command_modules/network/ @MyronFanQiu @haroldrandom
/src/azure-cli/azure/cli/command_modules/privatedns/ @MyronFanQiu @haroldrandom
/src/azure-cli/azure/cli/command_modules/policyinsights/ @cheggert
/src/azure-cli/azure/cli/command_modules/profile/ @jiasli
/src/azure-cli/azure/cli/command_modules/resource/ @Juliehzl @zhoxing-ms
/src/azure-cli/azure/cli/command_modules/profile/ @jiasli @arrownj
/src/azure-cli/azure/cli/command_modules/resource/ @Juliehzl @zhoxing-ms @qianwens
/src/azure-cli/azure/cli/command_modules/role/ @jiasli
/src/azure-cli/azure/cli/command_modules/storage/ @Juliehzl
/src/azure-cli/azure/cli/command_modules/storage/ @Juliehzl @qianwens
/src/azure-cli/azure/cli/command_modules/servicefabric/ @QingChenmsft
/src/azure-cli/azure/cli/command_modules/sql/ @jaredmoo @Juliehzl
/src/azure-cli/azure/cli/command_modules/vm/ @qwordy
/src/azure-cli/azure/cli/command_modules/vm/ @qwordy @arrownj
/src/azure-cli/azure/cli/command_modules/eventhubs/ @v-ajnava
/src/azure-cli/azure/cli/command_modules/servicebus/ @v-ajnava
/src/azure-cli/azure/cli/command_modules/apim/ @kevinhillinger @jonlester
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,7 @@ pip.log
# Tox
.tox/

# exe
*.exe

az_command_coverage.txt
52 changes: 0 additions & 52 deletions .travis.yml

This file was deleted.

42 changes: 2 additions & 40 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,6 @@ jobs:
- BuildUbuntuBionic
- BuildDebianJessie
- BuildDebianStretch
- BuildUbuntuCosmic
- BuildUbuntuDisco
- BuildUbuntuEoan
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual'))
Expand Down Expand Up @@ -1022,13 +1021,6 @@ jobs:
artifactName: ubuntu-bionic


- task: DownloadPipelineArtifact@1
displayName: 'Download Ubuntu:Cosmic Builds'
inputs:
TargetPath: '$(Build.ArtifactStagingDirectory)/debian'
artifactName: ubuntu-cosmic


- task: DownloadPipelineArtifact@1
displayName: 'Download Ubuntu:Disco Builds'
inputs:
Expand Down Expand Up @@ -1077,8 +1069,8 @@ jobs:
done

# Distros that do require libssl1.1
DISTROS=(bionic cosmic disco eoan buster)
BASE_IMAGES=(ubuntu:bionic ubuntu:cosmic ubuntu:disco ubuntu:eoan debian:buster)
DISTROS=(bionic disco eoan buster)
BASE_IMAGES=(ubuntu:bionic ubuntu:disco ubuntu:eoan debian:buster)

for i in ${!DISTROS[@]}; do
echo "== Test debian package on ${DISTROS[$i]} =="
Expand All @@ -1091,36 +1083,6 @@ jobs:
done
displayName: 'Bash Script'

- job: BuildUbuntuCosmic
displayName: Build Ubuntu Cosmic

dependsOn: BuildPythonWheel
condition: and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Manual'))
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: DownloadPipelineArtifact@1
displayName: 'Download Build Artifacts'
inputs:
TargetPath: '$(Build.ArtifactStagingDirectory)/pypi'
artifactName: pypi


- task: Bash@3
displayName: 'Bash Script'
inputs:
targetType: 'filePath'
filePath: scripts/release/debian/pipeline.sh
env:
DISTRO: cosmic
DISTRO_BASE_IMAGE: ubuntu:cosmic

- task: PublishPipelineArtifact@0
displayName: 'Publish Artifact: debian'
inputs:
TargetPath: $(Build.ArtifactStagingDirectory)
ArtifactName: ubuntu-cosmic

- job: CheckStyle
displayName: "Check CLI Style"

Expand Down
Binary file not shown.
16 changes: 16 additions & 0 deletions build_scripts/windows/scripts/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set PYTHON_VERSION=3.6.6

set WIX_DOWNLOAD_URL="https://azurecliprod.blob.core.windows.net/msi/wix310-binaries-mirror.zip"
set PYTHON_DOWNLOAD_URL="https://azurecliprod.blob.core.windows.net/util/Python366-32.zip"
set PROPAGATE_ENV_CHANGE_DOWNLOAD_URL="https://azurecliprod.blob.core.windows.net/util/propagate_env_change.zip"

:: Set up the output directory and temp. directories
echo Cleaning previous build artifacts...
Expand All @@ -26,6 +27,7 @@ set TEMP_SCRATCH_FOLDER=%ARTIFACTS_DIR%\cli_scratch
set BUILDING_DIR=%ARTIFACTS_DIR%\cli
set WIX_DIR=%ARTIFACTS_DIR%\wix
set PYTHON_DIR=%ARTIFACTS_DIR%\Python366-32
set PROPAGATE_ENV_CHANGE_DIR=%~dp0..\propagate_env_change

set REPO_ROOT=%~dp0..\..\..

Expand Down Expand Up @@ -154,6 +156,20 @@ for /d /r %BUILDING_DIR%\Lib\site-packages\pip %%d in (__pycache__) do (

if %errorlevel% neq 0 goto ERROR

::ensure propagate_env_change.exe is available
if exist "%PROPAGATE_ENV_CHANGE_DIR%\propagate_env_change.exe" (
echo Using existing propagate_env_change.exe at %PROPAGATE_ENV_CHANGE_DIR%
) else (
pushd %PROPAGATE_ENV_CHANGE_DIR%
echo Downloading propagate_env_change.exe.
curl -o propagate_env_change.zip %PROPAGATE_ENV_CHANGE_DOWNLOAD_URL% -k
unzip -q propagate_env_change.zip
if %errorlevel% neq 0 goto ERROR
del propagate_env_change.zip
echo propagate_env_change.exe downloaded and extracted successfully.
popd
)

echo Building MSI...
msbuild /t:rebuild /p:Configuration=Release %REPO_ROOT%\build_scripts\windows\azure-cli.wixproj

Expand Down
19 changes: 10 additions & 9 deletions doc/authoring_command_modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ Submitting Pull Requests

### Format PR Title

History notes are auto-generated based on commit messages and descriptions starting from [S165](https://github.com/Azure/azure-cli/milestone/82). The commmit message for the squashed merge commit defaults to the PR title. Starting from 01/30/2020, we require all the PR titles to follow the below format:
1. [**Mandatory**] Each commit message must start with `[Component Name]` or `{Component Name}`.
History notes are auto-generated based on PR titles and descriptions starting from [S165](https://github.com/Azure/azure-cli/milestone/82). Starting from 01/30/2020, we require all the PR titles to follow the below format:
1. [**Mandatory**] Each PR title must start with `[Component Name]` or `{Component Name}`.
* `Component Name` shall be replaced by the real ones such as `Storage`, `Compute`. It could be the name of a command module, but in title case with necessary spaces for better readability, such as `API Management`, `Managed Service`. Other possible component names include but are not limited to: `Packaging`, `Misc.`, `Aladdin`.
* `[]` means this change is customer-facing and the message will be put into `HISTORY.rst`. `{}` means this change is not customer-facing and the message will **NOT** be included in `HISTORY.rst`.
* If the component name is `Core`, the message will be written in `src/azure-cli-core/HISTORY.rst`. Otherwise, the message will be written in `src/azure-cli/HISTORY.rst`.
2. [**Mandatory**] If it's a breaking change, the second part should be `BREAKING CHANGE` followed by a colon. In the case of hotfix, put `Hotfix` in this part. For other cases, this part should be empty.
2. [**Mandatory**] If it's a breaking change, the second part should be `BREAKING CHANGE` followed by a colon. In the case of hotfix, put `Hotfix` in this part. If it's related to fixing an issue, put `Fix #number` in this part. For other cases, this part could be empty.
3. [**Recommendation**] If the change can be mapped into a command, then the next part could be the command name, followed by a colon.
4. [**Recommendation**] Use the right verb with present-tense in original form to descibe what is done:
* **Add** for new features.
Expand All @@ -215,22 +215,23 @@ History notes are auto-generated based on commit messages and descriptions start
* **Remove** for deprecated features removed in this release.
* **Fix** for any bug fixes.

An example title of customer-facing change PR:
Examples of customer-facing change PR title:

>[Storage] BREAKING CHANGE: az storage remove: remove --auth-mode argument
>[Storage] BREAKING CHANGE: az storage remove: remove --auth-mode argument
>[ARM] Fix #10246: az resource tag crashes when the parameter --ids passed in is resource group ID

An example title of non-customer-facing change PR:
An example of non-customer-facing change PR title:

>{Aladdin} Add help example for dns

### Format PR Description

If you would like to write multiple history notes for one PR, please write the notes under `History Notes` section in the PR description, following the same format described above. In this case, the PR title should be a summary of all the changes in this PR and will not be put into `HISTORY.rst`.
If you would like to write multiple history notes for one PR, please write the notes under `History Notes` section in the PR description, following the same format described above. The PR template already contains the history note template, just change it if needed. In this case, the PR title should be a summary of all the changes in this PR and will not be put into `HISTORY.rst`. You can delete the `History Notes` section if not needed.

Other than that, you can put any reasonable information in the description above the `History Notes` part.

### Only Modify HISTORY.rst for Hotfix
As described above, history notes will be auto-generated and inserted into `HISTORY.rst` during release. When submitting a normal PR, you don't need to modify `HISTORY.rst` manually. In the case of hotfix, you should create a hotfix branch based on release branch and submit a PR to merge hotfix into release. In this PR, if you have customer-facing changes, you need to modify `HISTORY.rst` to add history notes. Later on you also need to merge the hotfix branch into dev branch and the second part of the PR title should be `Hotfix`. The auto-generation of history notes for the next release will ignore the commit that contains `Hotfix`.
### Submit Hotfix
In the case of hotfix, you should create a hotfix branch based on release branch and submit a PR to merge hotfix into release. In this PR, the second part of the PR title should be `Hotfix`. If you have customer-facing changes, you need to modify `HISTORY.rst` to add history notes. The auto generated history notes for the next release will ignore the PR that contains `Hotfix`. You also need to submit a PR to merge the release branch back into dev branch before next release. Do **NOT** squash and merge this PR. After the PR gets approved by code owners, you should fast forward dev to release on your local machine and then push dev to upstream repository.

An example title of hotfix change PR:

Expand Down
3 changes: 1 addition & 2 deletions doc/command_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@ Virtual Network Rule Arguments

## Coding Practices

- All code must support Python 2 & 3.
The CLI supports 2.7, 3.5, 3.6, 3.7 and 3.8
- All code must support Python 3.5, 3.6, 3.7 and 3.8
- PRs to Azure/azure-cli and Azure/azure-cli-extensions must pass CI
- Code must pass style checks with pylint and pep8
- (*) All commands should have tests
6 changes: 3 additions & 3 deletions doc/configuring_your_machine.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Setting up your development environment
========================================
The Azure Python CLI projects sources are located on GitHub (https://github.com/Azure/azure-cli/). In order to contribute to the project, you are expected to:
- Have a GitHub account. For Microsoft contributors, follow the guidelines on https://opensourcehub.microsoft.com/ to create, configure and link your account
- Have a GitHub account. For Microsoft contributors, follow the guidelines on https://opensource.microsoft.com/ to create, configure and link your account
- Fork the https://github.com/Azure/azure-cli/ repository into your private GitHub account
- Create pull requests against the https://github.com/azure/azure-cli repository to get your code changes merged into the project repository.

Expand All @@ -20,7 +20,7 @@ The Azure Python CLI projects sources are located on GitHub (https://github.com/
1. Both VS 2015 and 2017 support Python development, but VS 2015 is more relible, particular on the intellisense and "Test Explorer". VS 2019's Python support is being actively improved, and we will recommend it here once the evalution result is promising.
2. Steps to setup VS 2015:

- You can install VS 2015 from https://visualstudio.microsoft.com/vs/older-downloads/
- You can install VS 2015 from https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2015-family
- Click menu "View->Other Windows->Python Environment" and create a new one by pointing to a local installed Python like 3.7.0.
- Click menu "File->New Project", and in the dialog select "Python->From Existing Python Code". This will create a project from your local clone.
- Go through the wizard
Expand All @@ -38,7 +38,7 @@ The Azure Python CLI projects sources are located on GitHub (https://github.com/
Experimental steps – still haven’t been able to get virtual environments to work well with VSCode

1. Install VS Code
2. Install (one of) the python extension(s) (https://marketplace.visualstudio.com/items?itemName=donjayamanne.python)
2. Install (one of) the python extension(s) (https://marketplace.visualstudio.com/items?itemName=ms-python.python)
3. Put [breakpoints](https://code.visualstudio.com/docs/editor/debugging#_breakpoints) in your code, then click on the Debug icon in the Activity Bar on the side of Visual Studio Code, and select `Azure CLI Debug` from the drop down menu. After that, press the play button to start debugging.
4. To add custom arguments to the command that you want to debug, press the gear icon beside the drop down menu and modify the `args` field in `launch.json`

Expand Down
2 changes: 1 addition & 1 deletion doc/debug/debug_in_vs_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* Visual Studio Code [Link](http://code.visualstudio.com/)
* Visual Studio Code Python Extension [Link](https://marketplace.visualstudio.com/items?itemName=donjayamanne.python)
* Python 2.7 or 3.5
* Python 3.5+
* Set up development environment [Link](https://github.com/Azure/azure-cli/blob/master/doc/configuring_your_machine.md)

## Quick start
Expand Down
8 changes: 4 additions & 4 deletions doc/extensions/authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ See [Extension Metadata](metadata.md) for more information.

- When you run `az --version` it will list your normal extensions directory as well as any directories being used to find developer extensions. Developer extensions will appear in the output with a path next to the version number.

### Test your extension on both Python 2 & 3
### Test your extension on Python 3

- The CLI supports both Python 2 & 3 so verify that your extension does the same.
- You can create both a Python 2 and 3 virtual environment and run your extension in both.
- e.g. `virtualenv env27` and `virtualenv -p /usr/local/bin/python3 env`.
- The CLI supports Python 3.5, 3.6, 3.7, 3.8 so verify that your extension does the same.
- You can create virtual environments for different versions and run your extension in them.
- e.g. `python3.6 -m venv env36` and `python3.8 -m venv env38`.


:zap: IMPORTANT :zap:
Expand Down
Loading