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

[AutoPR track2_azure-mgmt-appconfiguration] Microsoft.AppConfiguration: Add 2020-07-01-preview API version #1639

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
c4241e3
Added more docstring context and sample code for `receive_messages()`…
tasherif-msft Sep 25, 2020
046e192
Replace docstring code blocks with literalincludes (#13948)
chlowell Sep 25, 2020
ebd382c
Correct azure-eventhub example (#14050)
chlowell Sep 26, 2020
6414ea4
Update CODEOWNERS (#14054)
geneh Sep 27, 2020
eb141f3
Update Key Vault readmes (#14068)
chlowell Sep 28, 2020
e7e5d4f
[eventgrid] Update README.md (#14030)
egelfand Sep 28, 2020
b75b8b0
commit metrics advisor (#14072)
xiangyan99 Sep 28, 2020
8053071
Fix typo in track 2 migration guide (#14006)
nickzhums Sep 29, 2020
832a035
[metricsadvisor] get pylint clean (#14094)
kristapratico Sep 29, 2020
4077423
use aka.ms url (#14112)
xiangyan99 Sep 29, 2020
b8a4ad1
ContainerClient.delete_blob() version_id docstring (#14051)
tasherif-msft Sep 29, 2020
2e26618
[Devtool][Fix]StorageAccountsOperations object has no attribute creat…
xiafu-msft Sep 29, 2020
75a4280
Pin Minimum Deps in min-dependency tests, Hotfix SDK-Tools for backw…
scbedd Sep 29, 2020
806fe87
[metricsadvisor] mypy (#14120)
kristapratico Sep 29, 2020
ced720f
revert crypto pin (#14117)
scbedd Sep 29, 2020
fc38db1
[metricsadvisor] update sample links (#14122)
kristapratico Sep 29, 2020
e9a8bc8
Fix tests creating vaults they don't use (#14119)
chlowell Sep 30, 2020
da42018
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 30, 2020
eb4ed0a
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 30, 2020
21d7d12
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 30, 2020
82e6145
[metricsadvisor] Fix docstring formatting and resolve sphinx errors (…
kristapratico Sep 30, 2020
ca15e4d
[text analytics] remove length property (#14135)
iscai-msft Sep 30, 2020
f23c752
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 30, 2020
8b06c80
shorten names (#14146)
kristapratico Sep 30, 2020
ebea399
rename use_detection_result_to_filter_anomalies to negation_operation…
kristapratico Sep 30, 2020
f6dab60
raise value error if connection string has incorrect padding (#14145)
xiangyan99 Sep 30, 2020
dd4d79e
add some brief introduction for samples (#14156)
xiangyan99 Sep 30, 2020
e4b2bc1
Update Opentelemetry Version to 0.13b.0 (#14136)
Oct 1, 2020
96a605d
update release date (#14170)
xiangyan99 Oct 1, 2020
7ee103c
Filter authentication metadata requests during recording (#14113)
chlowell Oct 1, 2020
d9d8aeb
Fix broken link and reference in the repo
weshaggard Oct 1, 2020
fa6c1b8
addressing issues with docs and readme (#13988)
seankane-msft Oct 1, 2020
9257cfe
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Oct 1, 2020
0c4234f
azure-communication-administration - Update package Readme; Remove lo…
turalf Oct 1, 2020
891be83
remove aad support (#14174)
xiangyan99 Oct 1, 2020
f49aa84
regenerate code from preview/2020-06-30 (#14056)
xiangyan99 Oct 1, 2020
32a8510
update readme (#14181)
xiangyan99 Oct 1, 2020
0b5ac66
Increment package version after release of azure_storage_blob_changef…
azure-sdk Oct 1, 2020
ec5aaa2
Set version artificially for the test template runs (#14151)
chidozieononiwu Oct 1, 2020
72086d9
Allow RC of CPython to install our dev req (#14185)
lmazuel Oct 1, 2020
53b50db
Increment version for storage releases (#13687)
azure-sdk Oct 1, 2020
f4f8836
[formrecognizer] un-redact non-sensitive headers and update readme lo…
kristapratico Oct 1, 2020
d4fded0
Cosmos Decorator and Tests (#14114)
seankane-msft Oct 1, 2020
aaa94eb
Add sample showing custom credential types (#14052)
chlowell Oct 1, 2020
ef3006d
[core] [mgmt core] fix bug that didn't allow us to do LRO + relative …
iscai-msft Oct 1, 2020
d0a00b8
Add Keyvault event type mappings to EventGrid (#14190)
Oct 2, 2020
32bfb29
Distributed Tracing support for CloudEvents (#14127)
Oct 2, 2020
20eb242
make logging tests live only (#14196)
kristapratico Oct 2, 2020
54b6cbf
readme + samples improvement (#14128)
Oct 2, 2020
c2af651
fix link in readme, remove swagger.json (#14189)
fangchen0601 Oct 2, 2020
e236147
Doc warnings for Service Bus (#14197)
Oct 2, 2020
a77fbd6
Update buffered sender (#13851)
xiangyan99 Oct 2, 2020
51049f5
[KeyVault] Add Status Methods to Query Backup and Restore Operations …
mccoyp Oct 2, 2020
5f61290
Update communication pacakges to version b2 (#14209)
turalf Oct 2, 2020
97c43d1
Feature/storage stg74 (#14175)
xiafu-msft Oct 2, 2020
72ac607
fixes python 2.7 issue with unicode and strings again! (#14216)
seankane-msft Oct 2, 2020
641d569
[Storage][STG74]ChangeLog (#14192)
tasherif-msft Oct 2, 2020
0895b0c
[text analytics] regen TA with GA autorest (#14215)
iscai-msft Oct 2, 2020
5c56b81
[ServiceBus] CI Test hotfixes (#14195)
KieranBrantnerMagee Oct 2, 2020
e0b6f60
Update Key Vault changelogs for October release (#14226)
chlowell Oct 2, 2020
ce3c59e
Increment version for storage releases (#14224)
azure-sdk Oct 2, 2020
bfaaad3
[KeyVault] Handle Role Definition UUID Name Internally (#14218)
mccoyp Oct 2, 2020
cf1672b
app config owner (#12986)
xiangyan99 Oct 3, 2020
6e5caf2
[ServiceBus]remove topic parameter object settability (#14116)
KieranBrantnerMagee Oct 3, 2020
26f7137
[ServiceBus] make amqp_message properties read-only (#14095)
KieranBrantnerMagee Oct 3, 2020
6fee44a
Add code reviewers (#14229)
turalf Oct 3, 2020
66cd75c
Resolve Failing Documentation Build for azure-mgmt-core (#14239)
scbedd Oct 5, 2020
026580e
[text analytics] fix query param in cli call to get endpoint (#14243)
iscai-msft Oct 5, 2020
ac9406e
Azure Communication Service - Phone Number Administration (#14237)
HeliWang Oct 5, 2020
2549ec0
Increment version for appconfiguration releases (#14245)
azure-sdk Oct 5, 2020
e8cb470
move the environment prep above the tooling that needs it (#14246)
scbedd Oct 5, 2020
2b29cb3
small changes to documentation, updated link in samples README, updat…
seankane-msft Oct 5, 2020
82188ac
small fixes while going through release checklist (#14250)
kristapratico Oct 5, 2020
0c2e175
update api version enum (#14254)
kristapratico Oct 5, 2020
4cabc99
[form recognizer] Remove unnecessary code (#14257)
iscai-msft Oct 5, 2020
657a918
upadted min dep on blob (#14252)
tasherif-msft Oct 5, 2020
a049376
[ServiceBus] b7 release doc fixes (#14247)
KieranBrantnerMagee Oct 5, 2020
d004c4c
[EventGrid] Prepare for beta3 release (#14262)
Oct 5, 2020
6bde1db
redo the dep update (#14264)
tasherif-msft Oct 5, 2020
0e5934f
Increment version for servicebus releases (#14265)
azure-sdk Oct 5, 2020
488b72c
Revise get_token docs (#14263)
chlowell Oct 5, 2020
1ba7a75
SetDevVersion Is Triggering Oddly (#14261)
scbedd Oct 5, 2020
022f655
Computer Vision 0.7.0 release (#14269)
Oct 6, 2020
6703b01
[text analytics] changelog add release date, fix wording (#14286)
iscai-msft Oct 6, 2020
a921388
Changelog for azure-identity 1.5.0b2 (#14288)
chlowell Oct 6, 2020
3e2f6f7
Update Changelog for communication packages (#14268)
turalf Oct 6, 2020
c1e5348
Increment version for search releases (#14290)
azure-sdk Oct 6, 2020
9cc9e96
update release date (#14291)
xiangyan99 Oct 6, 2020
cde89ce
add back code (#14289)
kristapratico Oct 6, 2020
d4bff7b
[form recognizer] add sample business cards to test forms (#14303)
iscai-msft Oct 6, 2020
25e0ffd
[formrecognizer] add locale to receipt samples (#14292)
kristapratico Oct 6, 2020
fa0db3a
Increment version for textanalytics releases (#14295)
azure-sdk Oct 6, 2020
b111f08
Increment package version after release of azure_data_tables (#14309)
azure-sdk Oct 6, 2020
f06ccf0
[ServiceBus] ServiceBus Operation Timeout Support (#13854)
yunhaoling Oct 7, 2020
babe3de
[Storage][FileShare]Regenerate code for file tier (#14302)
xiafu-msft Oct 7, 2020
0415c8a
Sync eng/common directory with azure-sdk-tools for PR 1052 (#14232)
azure-sdk Oct 7, 2020
a56ef3e
Pin Deps in "TestOldest" Regression (#14316)
scbedd Oct 7, 2020
bf778b1
Increment version for metricsadvisor releases (#14343)
azure-sdk Oct 7, 2020
3308b38
Merge azure-identity 1.4.1 hotfix into master (#14349)
chlowell Oct 7, 2020
d623abd
Increment version for keyvault releases (#14312)
azure-sdk Oct 7, 2020
aecfb64
Add tests.yml file to template sdk directory. (#14324)
mitchdenny Oct 7, 2020
45a7f58
Communication SMS package - nspkg dependency update (#14346)
turalf Oct 8, 2020
66cbc08
Sync eng/common directory with azure-sdk-tools for PR 1066 (#14333)
azure-sdk Oct 8, 2020
397ba46
Increment package version after release of azure_identity (#14351)
azure-sdk Oct 8, 2020
b712e8a
add metrics advisor to package mapping for docs (#14350)
kristapratico Oct 8, 2020
0d70c4b
Sync eng/common directory with azure-sdk-tools for PR 1077 (#14329)
azure-sdk Oct 8, 2020
de390a6
[form recognizer] add receipt locale tests (#14327)
iscai-msft Oct 8, 2020
2fed772
[formrecognizer] composed model (#14029)
kristapratico Oct 8, 2020
bec97a3
[Cosmos] 4.2.0 (#14358)
southpolesteve Oct 9, 2020
15ac220
Adding one more item to the limitations list (#13953)
Rodrigossz Oct 9, 2020
c199cdd
Increment package version after release of azure_cosmos (#14392)
azure-sdk Oct 9, 2020
3922de0
update to actual sample links in repo (#14375)
kristapratico Oct 9, 2020
b1018f0
[formrecognizer] rename display_name -> model_name (#14376)
kristapratico Oct 9, 2020
a2d5a3a
Convert CRLF to LF (#13903)
bluca Oct 9, 2020
9d7c6ac
Support env vars with hyphens when printing output (#14378)
azure-sdk Oct 9, 2020
dad3cbe
ServiceBusAdministrationClient now uses _parse_conn_str from base_han…
bradleydamato Oct 9, 2020
ff54d72
Track2 keyvault (#14103)
msyyc Oct 10, 2020
94ed1a7
fix typo and broken links (#14435)
xiangyan99 Oct 12, 2020
1a0c7e4
Dadoolab/update swagger and readme (#14404)
danieldoolabh Oct 12, 2020
3648ea6
Support Pre-GA Python Versions (#14160)
scbedd Oct 12, 2020
5eced3f
[metricsadvisor] live tests setup (#14396)
kristapratico Oct 12, 2020
b1df860
[formrecognizer] initial business cards (#14026)
kristapratico Oct 12, 2020
bc8939e
Sync eng/common directory with azure-sdk-tools for PR 1081 (#14445)
azure-sdk Oct 13, 2020
e261627
Communication Administration: Add on-demand resource creation for liv…
turalf Oct 13, 2020
ddece48
[ServiceBus] Small stress test and sample touchups (#14304)
KieranBrantnerMagee Oct 13, 2020
167351f
Codegen for Azure Monitor (#14057)
Oct 13, 2020
c288d78
[Storage][FileShare]Regenerate for delete leased snapshot (#14469)
xiafu-msft Oct 13, 2020
7707e15
add repr to models (#14475)
kristapratico Oct 13, 2020
4446cc0
remove validations (#14476)
xiangyan99 Oct 13, 2020
91ca08f
Ma remove readonly assignments (#14478)
xiangyan99 Oct 13, 2020
d2cfea4
Ensure azure-identity readme has exactly one H1 (#14480)
chlowell Oct 14, 2020
23e3963
Sync eng/common directory with azure-sdk-tools for PR 1088 (#14482)
azure-sdk Oct 14, 2020
c6eef9b
enable live tests (#14467)
kristapratico Oct 14, 2020
c1e79e2
Removed asynctestcase.py (#14444)
bradleydamato Oct 14, 2020
6c59c00
testcase.py now uses AzureTestCase (#14443)
bradleydamato Oct 14, 2020
28a99a0
Change name to <entity>_name naming for remaining "name" parameters i…
KieranBrantnerMagee Oct 14, 2020
ae5587f
Minimize packages installed for depends test (#13957)
chlowell Oct 14, 2020
4232f34
Update Azure.Identity and KeyVault codeowners (#14470)
chlowell Oct 14, 2020
bf35163
[form recognizer] Add selection forms (#14511)
iscai-msft Oct 14, 2020
692f01f
[ServiceBus] Add type hint (#14507)
yunhaoling Oct 14, 2020
756abf9
Fixed Misleading docstrings for block ID (#14471)
tasherif-msft Oct 15, 2020
c9c98c2
fixed README for changefeed (#14320)
tasherif-msft Oct 15, 2020
ca6201b
add PATCH for polling (#14485)
changlong-liu Oct 15, 2020
febf3e0
ci.yml (#14526)
msyyc Oct 15, 2020
ff76080
【T2】 datadog 1.0.0b1 (#14481)
msyyc Oct 15, 2020
efd6587
Add canary region to smoke test matrix (#14513)
benbp Oct 15, 2020
565d7ac
Increment package version after release of azure_communication_sms (#…
azure-sdk Oct 15, 2020
a9cfcdc
Fix pypi_tools.pypi ImportError (#14533)
chlowell Oct 15, 2020
3b315d2
added exception if set service properties is empty (#14462)
tasherif-msft Oct 15, 2020
d2441fc
Mypy Compatibilty for EventGrid (#14344)
Oct 16, 2020
2fed5b9
[formrecognizer] initial selection marks (#14024)
kristapratico Oct 16, 2020
863467b
Fix anchor links so they work when converting to html
weshaggard Oct 16, 2020
b6c571f
Ma accept str for datetime (#14517)
xiangyan99 Oct 16, 2020
91244f5
add sample tests for business cards and model compose (#14515)
kristapratico Oct 16, 2020
8e7562c
update deps for multiapi (#14534)
kristapratico Oct 16, 2020
6a3f9d4
[formrecognizer] add logic to set page_number on `ContactNames` field…
kristapratico Oct 16, 2020
815d2c9
Only check the touched markdown files in PR for the Verify link step …
sima-zhu Oct 16, 2020
ae380a5
Sync eng/common directory with azure-sdk-tools for PR 1091 (#14550)
azure-sdk Oct 16, 2020
9c365cb
Failed the anchor links with Uppercase. (#14535)
azure-sdk Oct 16, 2020
bdc2e9f
Enable Codespaces. (#14564)
mitchdenny Oct 16, 2020
2635f65
Add parse_key_vault_certificate_id method and tests (#14518)
mccoyp Oct 16, 2020
d2ac6c4
[EventHubs & ServiceBus] add python3.9 support (#14301)
yunhaoling Oct 16, 2020
6198e25
[Fileshare] Added support for set share properties including access t…
tasherif-msft Oct 18, 2020
9bc0c44
Switch the content from array to string. (#14576)
azure-sdk Oct 19, 2020
5eac660
Enable the link check for link verification step. (#14604)
azure-sdk Oct 19, 2020
9e91077
Update .gitignore (#14609)
lmazuel Oct 19, 2020
730293b
Remove extra newline at the end of the file (#14608)
azure-sdk Oct 19, 2020
5301e57
[form recognizer] add multipage business card form (#14613)
iscai-msft Oct 19, 2020
2320792
samples updates from other branch (#14598)
kristapratico Oct 19, 2020
383b324
[form recognizer] fix typo in multipage name (#14615)
iscai-msft Oct 19, 2020
5d87d7a
Sync eng/common directory with azure-sdk-tools for PR 968 (#14614)
azure-sdk Oct 19, 2020
5b1fdb4
[Storage][DataLake]Default DirectoryProperties/FileProperties deleted…
xiafu-msft Oct 20, 2020
ade1d86
Rename AutoLockRenew to AutoLockRenewer (#14537)
Oct 20, 2020
11302ab
[form recognizer] add business multipage tests (#14636)
iscai-msft Oct 20, 2020
e3fdb08
Allow test PRs in SubmitPullRequest.ps1 script, updates to Invoke-Git…
azure-sdk Oct 20, 2020
48ff819
Communication: Fix live-test failures (#14611)
turalf Oct 20, 2020
b4d16d1
Make DeviceCodeCredential client_id parameter optional (#14474)
chlowell Oct 20, 2020
027de57
update readme to remove metrics advisor prefix in env (#14646)
xiangyan99 Oct 20, 2020
71f8a68
Added kwargs to ShareProtocolSettings, ShareSmbSettings, SmbMultichan…
tasherif-msft Oct 20, 2020
5dd8cab
Added headers to every PUT request (#14194)
tasherif-msft Oct 20, 2020
4744012
Restructure eng ommon sync control flow (#14647)
azure-sdk Oct 20, 2020
98f2d34
Sync eng/common directory with azure-sdk-tools repository (#14652)
azure-sdk Oct 21, 2020
ae16c5d
Moved install template and prepare template to eng/common. (#14654)
azure-sdk Oct 21, 2020
f64b1e2
Fix condition in prepare pipeline. (#14658)
azure-sdk Oct 21, 2020
bf41acc
adjust sample test for selection marks (#14675)
kristapratico Oct 21, 2020
27175c2
Initial creation of Azure DigitalTwins SDK (#13852)
Oct 21, 2020
aba3bcf
Add prepare pipelines. (#14667)
mitchdenny Oct 22, 2020
a150b8d
Generated from 0e5a9dba02e521c7f89a7364a3560cfee8c4f9ec
Oct 22, 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
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.145.0/containers/codespaces-linux/.devcontainer/base.Dockerfile

FROM mcr.microsoft.com/vscode/devcontainers/universal:0-linux

USER root

# [Option] Install Docker CLI
ARG INSTALL_DOCKER="false"
COPY library-scripts/docker-debian.sh /tmp/library-scripts/
RUN if [ "${INSTALL_DOCKER}" = "true" ]; then \
rm -f /usr/local/share/docker-init.sh \
&& bash /tmp/library-scripts/docker-debian.sh "true" "/var/run/docker-host.sock" "/var/run/docker.sock" "codespace"; \
fi \
&& rm -rf /var/lib/apt/lists/* /tmp/library-scripts/

USER codespace

# ** [Optional] Uncomment this section to install additional packages. **
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

52 changes: 52 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "GitHub Codespaces (Default)",
"build": {
"dockerfile": "Dockerfile",
"args": {
"INSTALL_DOCKER": "true"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"go.useGoProxyToCheckForToolUpdates": false,
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go",
"go.toolsGopath": "/go/bin",
"python.pythonPath": "/opt/python/latest/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
"lldb.executable": "/usr/bin/lldb",
"files.watcherExclude": {
"**/target/**": true
}
},
"remoteUser": "codespace",
"overrideCommand": false,
"workspaceMount": "source=${localWorkspaceFolder},target=/home/codespace/workspace,type=bind,consistency=cached",
"workspaceFolder": "/home/codespace/workspace",
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind" ],
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"GitHub.vscode-pull-request-github",
"MS-vsliveshare.vsliveshare",
"VisualStudioExptTeam.vscodeintellicode"
]

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a"
}
172 changes: 172 additions & 0 deletions .devcontainer/library-scripts/docker-debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
#
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/docker.md
#
# Syntax: ./docker-debian.sh [enable non-root docker socket access flag] [source socket] [target socket] [non-root user]

ENABLE_NONROOT_DOCKER=${1:-"true"}
SOURCE_SOCKET=${2:-"/var/run/docker-host.sock"}
TARGET_SOCKET=${3:-"/var/run/docker.sock"}
USERNAME=${4:-"automatic"}

set -e

if [ "$(id -u)" -ne 0 ]; then
echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
exit 1
fi

# Determine the appropriate non-root user
if [ "${USERNAME}" = "auto" ] || [ "${USERNAME}" = "automatic" ]; then
USERNAME=""
POSSIBLE_USERS=("vscode" "node" "codespace" "$(awk -v val=1000 -F ":" '$3==val{print $1}' /etc/passwd)")
for CURRENT_USER in ${POSSIBLE_USERS[@]}; do
if id -u ${CURRENT_USER} > /dev/null 2>&1; then
USERNAME=${CURRENT_USER}
break
fi
done
if [ "${USERNAME}" = "" ]; then
USERNAME=root
fi
elif [ "${USERNAME}" = "none" ] || ! id -u ${USERNAME} > /dev/null 2>&1; then
USERNAME=root
fi

# Function to run apt-get if needed
apt-get-update-if-needed()
{
if [ ! -d "/var/lib/apt/lists" ] || [ "$(ls /var/lib/apt/lists/ | wc -l)" = "0" ]; then
echo "Running apt-get update..."
apt-get update
else
echo "Skipping apt-get update."
fi
}

# Ensure apt is in non-interactive to avoid prompts
export DEBIAN_FRONTEND=noninteractive

# Install apt-transport-https, curl, lsb-release, gpg if missing
if ! dpkg -s apt-transport-https curl ca-certificates lsb-release > /dev/null 2>&1 || ! type gpg > /dev/null 2>&1; then
apt-get-update-if-needed
apt-get -y install --no-install-recommends apt-transport-https curl ca-certificates lsb-release gnupg2
fi

# Install Docker CLI if not already installed
if type docker > /dev/null 2>&1; then
echo "Docker CLI already installed."
else
curl -fsSL https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | (OUT=$(apt-key add - 2>&1) || echo $OUT)
echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list
apt-get update
apt-get -y install --no-install-recommends docker-ce-cli
fi

# Install Docker Compose if not already installed
if type docker-compose > /dev/null 2>&1; then
echo "Docker Compose already installed."
else

LATEST_COMPOSE_VERSION=$(curl -sSL "https://api.github.com/repos/docker/compose/releases/latest" | grep -o -P '(?<="tag_name": ").+(?=")')
curl -sSL "https://github.com/docker/compose/releases/download/${LATEST_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
fi

# If init file already exists, exit
if [ -f "/usr/local/share/docker-init.sh" ]; then
exit 0
fi

# By default, make the source and target sockets the same
if [ "${SOURCE_SOCKET}" != "${TARGET_SOCKET}" ]; then
touch "${SOURCE_SOCKET}"
ln -s "${SOURCE_SOCKET}" "${TARGET_SOCKET}"
fi

# Add a stub if not adding non-root user access, user is root
if [ "${ENABLE_NONROOT_DOCKER}" = "false" ] || [ "${USERNAME}" = "root" ]; then
echo '/usr/bin/env bash -c "\$@"' > /usr/local/share/docker-init.sh
chmod +x /usr/local/share/docker-init.sh
exit 0
fi

# If enabling non-root access and specified user is found, setup socat and add script
chown -h "${USERNAME}":root "${TARGET_SOCKET}"
if ! dpkg -s socat > /dev/null 2>&1; then
apt-get-update-if-needed
apt-get -y install socat
fi
tee /usr/local/share/docker-init.sh > /dev/null \
<< EOF
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

set -e

SOCAT_PATH_BASE=/tmp/vscr-dind-socat
SOCAT_LOG=\${SOCAT_PATH_BASE}.log
SOCAT_PID=\${SOCAT_PATH_BASE}.pid

# Wrapper function to only use sudo if not already root
sudoIf()
{
if [ "\$(id -u)" -ne 0 ]; then
sudo "\$@"
else
"\$@"
fi
}

# Log messages
log()
{
echo -e "[\$(date)] \$@" | sudoIf tee -a \${SOCAT_LOG} > /dev/null
}

echo -e "\n** \$(date) **" | sudoIf tee -a \${SOCAT_LOG} > /dev/null
log "Ensuring ${USERNAME} has access to ${SOURCE_SOCKET} via ${TARGET_SOCKET}"

# If enabled, try to add a docker group with the right GID. If the group is root,
# fall back on using socat to forward the docker socket to another unix socket so
# that we can set permissions on it without affecting the host.
if [ "${ENABLE_NONROOT_DOCKER}" = "true" ] && [ "${SOURCE_SOCKET}" != "${TARGET_SOCKET}" ] && [ "${USERNAME}" != "root" ] && [ "${USERNAME}" != "0" ]; then
SOCKET_GID=\$(stat -c '%g' ${SOURCE_SOCKET})
if [ "\${SOCKET_GID}" != "0" ]; then
log "Adding user to group with GID \${SOCKET_GID}."
if [ "\$(cat /etc/group | grep :\${SOCKET_GID}:)" = "" ]; then
sudoIf groupadd --gid \${SOCKET_GID} docker-host
fi
# Add user to group if not already in it
if [ "\$(id ${USERNAME} | grep -E 'groups=.+\${SOCKET_GID}\(')" = "" ]; then
sudoIf usermod -aG \${SOCKET_GID} ${USERNAME}
fi
else
# Enable proxy if not already running
if [ ! -f "\${SOCAT_PID}" ] || ! ps -p \$(cat \${SOCAT_PID}) > /dev/null; then
log "Enabling socket proxy."
log "Proxying ${SOURCE_SOCKET} to ${TARGET_SOCKET} for vscode"
sudoIf rm -rf ${TARGET_SOCKET}
(sudoIf socat UNIX-LISTEN:${TARGET_SOCKET},fork,mode=660,user=${USERNAME} UNIX-CONNECT:${SOURCE_SOCKET} 2>&1 | sudoIf tee -a \${SOCAT_LOG} > /dev/null & echo "\$!" | sudoIf tee \${SOCAT_PID} > /dev/null)
else
log "Socket proxy already running."
fi
fi
log "Success"
fi

# Execute whatever commands were passed in (if any). This allows us
# to set this script to ENTRYPOINT while still executing the default CMD.
set +e
exec "\$@"
EOF
chmod +x /usr/local/share/docker-init.sh
chown ${USERNAME}:root /usr/local/share/docker-init.sh
echo "Done!"
34 changes: 34 additions & 0 deletions .devcontainer/library-scripts/git-lfs-debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
#
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/master/script-library/docs/git-lfs.md
#
# Syntax: ./git-lfs-debian.sh

set -e

if [ "$(id -u)" -ne 0 ]; then
echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.'
exit 1
fi

export DEBIAN_FRONTEND=noninteractive

# Install git and curl if missing
if ! dpkg -s git curl ca-certificates > /dev/null 2>&1; then
if [ ! -d "/var/lib/apt/lists" ] || [ "$(ls /var/lib/apt/lists/ | wc -l)" = "0" ]; then
apt-get update
fi
apt-get -y install --no-install-recommends git curl ca-certificates
fi

# Install Git LFS
echo "Downloading Git LFS..."
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
echo "Installing Git LFS..."
apt-get install -yq git-lfs
git lfs install
echo "Done!"
18 changes: 14 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,36 @@
# Service team
####
# PRLabel: %Azure.Identity
/sdk/identity/ @chlowell @schaabs
/sdk/identity/ @chlowell @mccoyp @schaabs

# PRLabel: %Event Hubs
/sdk/eventhub/ @annatisch @yunhaoling @KieranBrantnerMagee

# PRLabel: %Storage
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @rakshith91 @xiafu-msft @tasherif-msft @kasobol-msft

/sdk/applicationinsights/ @alexeldeib
# PRLabel: %App Configuration
/sdk/appconfiguration/ @xiangyan99

/sdk/applicationinsights/azure-applicationinsights/ @divya-jay @geneh @alongafni
/sdk/loganalytics/azure-loganalytics/ @divya-jay @geneh @alongafni

# PRLabel: %Batch
/sdk/batch/ @bgklein @xingwu1
/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/ @areddish

# PRLabel: %Communication
/sdk/communication/ @RezaJooyandeh @turalf
/sdk/communication/ @RezaJooyandeh @turalf @ankitarorabit @Azure/azure-sdk-communication-code-reviewers

# PRLabel: %KeyVault
/sdk/keyvault/ @schaabs @chlowell @iscai-msft
/sdk/keyvault/ @schaabs @chlowell @mccoyp

# PRLabel: %Monitor - LogAnalytics
/sdk/loganalytics/ @alexeldeib

# PRLabel: %Monitor - Exporter
/sdk/monitor/opentelemetry-exporter-azuremonitor @rakshith91 @lmazuel @hectorhdzg @lzchen

# PRLabel: %Consumption
/sdk/consumption/ @sandeepnl

Expand Down Expand Up @@ -97,6 +104,9 @@
# PRLabel: %Cognitive - Form Recognizer
/sdk/formrecognizer/ @kristapratico @iscai-msft @rakshith91

# PRLabel: %Cognitive - Metrics Advisor
/sdk/metricsadvisor/ @xiangyan99 @kristapratico

# PRLabel: %Tables
/sdk/tables/ @seankane-msft

Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ __pycache__/
# Virtual environment
env*/

# Codespace virtual environment
pythonenv*/

# PTVS analysis
.ptvs/

Expand Down Expand Up @@ -96,4 +99,4 @@ sdk/storage/azure-storage-file-datalake/tests/settings_real.py
sdk/cosmos/azure-cosmos/test/test_config.py

# temp path to to run regression test
.tmp_code_path/
.tmp_code_path/
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ The client libraries are supported on Python 2.7 and 3.5.3 or later.
## Packages available

Each service might have a number of libraries available from each of the following categories:
* [Client - New Releases](#Client-New-Releases)
* [Client - Previous Versions](#Client-Previous-Versions)
* [Management - New Releases](#Management-New-Releases)
* [Management - Previous Versions](#Management-Previous-Versions)
* [Client - New Releases](#client-new-releases)
* [Client - Previous Versions](#client-previous-versions)
* [Management - New Releases](#management-new-releases)
* [Management - Previous Versions](#management-previous-versions)

### Client: New Releases

Expand All @@ -36,7 +36,7 @@ Last stable versions of packages that have been provided for usage with Azure an

### Management: New Releases
A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
Documentation and code samples for these new libraries can be found [here](http://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://azure.github.io/azure-sdk-for-python/mgmt_preview_quickstart.html#migration-guide).
Documentation and code samples for these new libraries can be found [here](http://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/sphinx/mgmt_quickstart.rst#migration-guide).

You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/mgmt/python.html)

Expand Down
6 changes: 6 additions & 0 deletions common/smoketest/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
OSVmImage: ubuntu-18.04
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
ArmTemplateParameters: $(azureCloudArmParameters)
Python_38_Linux (AzureCloud Canary):
PythonVersion: '3.8'
OSVmImage: ubuntu-18.04
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview)
ArmTemplateParameters: $(azureCloudArmParameters)
Location: 'eastus2euap'
Python_37_Windows (AzureCloud):
PythonVersion: '3.7'
OSVmImage: windows-2019
Expand Down
Loading