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 azure-mgmt-resource] Fix minor issues in policy exemptions #3923

Closed
wants to merge 1,556 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1556 commits
Select commit Hold shift + click to select a range
08e498d
fix portal readme (#15836)
00Kai0 Dec 17, 2020
83c53b7
GA security track2 (#15804)
00Kai0 Dec 17, 2020
aaa52a3
[formrecognizer] fix readme sample (#15851)
kristapratico Dec 17, 2020
5792b5b
[text analytics] fix analyze example (#15852)
iscai-msft Dec 17, 2020
7368ddf
[metricsadvisor] fix sample/readme issues (#15854)
kristapratico Dec 17, 2020
f8e4255
OpenTelemetry Exporter use Resources API to retrieve cloud role props…
hectorhdzg Dec 17, 2020
e56698f
Add secrets migration guide, fix sample/readme (#15853)
mccoyp Dec 17, 2020
6a108ae
Sync eng/common directory with azure-sdk-tools for PR 1287 (#15855)
azure-sdk Dec 17, 2020
c4b9e91
Mention local capabilities in CryptographyClient documentation (#15859)
chlowell Dec 17, 2020
185c0f1
[Key Vault] Add migration guide for azure-keyvault-keys (#15819)
mccoyp Dec 17, 2020
d2ff478
Disable mgmt tests (#15860)
turalf Dec 18, 2020
b62d6a0
Create API review using eng common (#15868)
praveenkuttappan Dec 18, 2020
6d4efde
[Key Vault] Add sample for parsing private key/public certificate fro…
mccoyp Dec 18, 2020
cc4cbde
[SeriviceBus/EventHub] Update 3.9.0 to 3.9 in test yml (#15877)
yunhaoling Dec 18, 2020
44b21a1
[Storage][LiveTest]replace the fixed blob names (#15862)
xiafu-msft Dec 18, 2020
bf04111
Sequence number in Event Data is of type int, not long (#15801)
ramya-rao-a Dec 19, 2020
c9240aa
Remove preview note for Service Bus package (#15881)
ramya-rao-a Dec 19, 2020
5b1777e
Add unit test for 32 partition greedy ownership to attempt and valida…
KieranBrantnerMagee Dec 21, 2020
e43995b
[Communication] Fix async identity client decode - url bug (#15894)
turalf Dec 22, 2020
2e5419b
[Blob][Datalake] Generated Blob & Datalake using newest autorest vers…
tasherif-msft Dec 22, 2020
b9eb382
fix keyerror issue in blobcheckpointstore and update test code (#15752)
yunhaoling Dec 22, 2020
4e11bdc
removed unittest.main() from test files (#15318)
seankane-msft Dec 22, 2020
febfe9d
[ServiceBus] Run black to format the code (#15529)
yunhaoling Dec 22, 2020
c5745c1
Added live tests for identity client aad (#15909)
jbeauregardb Dec 22, 2020
b24e6f8
[T2] datamigration (#15886)
00Kai0 Dec 23, 2020
00c9044
GA loganalytics track2 sdk (#15847)
00Kai0 Dec 24, 2020
0c2767b
Updating Test documentation (#14774)
seankane-msft Dec 29, 2020
0965d26
updating packaging information (#15943)
seankane-msft Dec 29, 2020
bea71ab
Use powershell preparer (#15872)
seankane-msft Dec 29, 2020
bda935b
Update README to use a generalized link to unblock release (#14835)
nickzhums Dec 30, 2020
39dc9ac
run black on tables code (#15927)
seankane-msft Dec 30, 2020
6367395
[EventGrid] Small doc updates for `id` parameter (#15835)
ellismg Dec 30, 2020
bad808c
update codeowners (#15951)
Dec 30, 2020
bd05f5d
DetectLastPoint should be be detect_last_point... (#15547)
mrbullwinkle Dec 30, 2020
0b51e64
Samples for tracing (#15944)
Dec 31, 2020
46443a0
[T2] GA resourcegraph (#15809)
00Kai0 Jan 4, 2021
0fbe414
GA subscription track2 sdk (#15822)
00Kai0 Jan 4, 2021
5db7110
GA operationsmanagement track2 sdk (#15825)
00Kai0 Jan 4, 2021
7a4050e
GA datafactory track2 sdk (#15846)
00Kai0 Jan 4, 2021
11488e0
GA automation track2 sdk (#15848)
00Kai0 Jan 4, 2021
ea60552
GA recoveryservices track2 sdk (#15864)
00Kai0 Jan 4, 2021
17d5d61
GA iothub track2 sdk (#15866)
00Kai0 Jan 4, 2021
0e8a8d4
GA hdinsight track2 sdk (#15884)
00Kai0 Jan 4, 2021
a40493c
GA logic track2 sdk (#15867)
00Kai0 Jan 4, 2021
3b9da23
GA machinelearning track2 sdk (#15885)
00Kai0 Jan 4, 2021
bcf00ea
GA devtestlabs track2 sdk (#15888)
00Kai0 Jan 4, 2021
18e63c7
GA apimanagement track2 sdk (#15889)
00Kai0 Jan 4, 2021
df4d4d5
GA eventgrid track2 sdk (#15890)
00Kai0 Jan 4, 2021
a9e01e1
GA consumption track2 sdk (#15897)
00Kai0 Jan 4, 2021
5a36872
GA marketplaceordering track2 sdk (#15899)
00Kai0 Jan 4, 2021
3b8d374
GA advisor track2 sdk (#15900)
00Kai0 Jan 4, 2021
523c312
GA cognitiveservices track2 sdk (#15901)
00Kai0 Jan 4, 2021
9aaad36
[T2] GA relay (#15902)
00Kai0 Jan 4, 2021
540c1cb
GA notificationhubs track2 sdk (#15903)
00Kai0 Jan 4, 2021
4528d0d
GA search track2 sdk (#15904)
00Kai0 Jan 4, 2021
a334cb4
GA policyinsights track2 sdk (#15905)
00Kai0 Jan 4, 2021
db8ca3c
GA batch track2 sdk (#15906)
00Kai0 Jan 4, 2021
d0963f8
GA commerce track2 sdk (#15907)
00Kai0 Jan 4, 2021
c2dea16
[T2] GA rdbms (#15934)
00Kai0 Jan 4, 2021
9864839
Add azure core to mgmt dependency (#15969)
turalf Jan 4, 2021
c621f50
Clean up batch delete sample (#15898)
tasherif-msft Jan 4, 2021
c584adf
fixed typo in EH sample + readme (#15954)
swathipil Jan 4, 2021
fb10a33
fixed 'async with outside async func' syntax error in EH async auth w…
swathipil Jan 4, 2021
8491bad
renamed async checkpoint sample readme title (#15958)
swathipil Jan 4, 2021
4c62441
Clearer message for incomplete environment configuration (#15974)
chlowell Jan 4, 2021
1e453ab
Migration guide for EventGrid (#15731)
Jan 4, 2021
a6e0a61
renamed checkpoint by batch samples to by event count (#15977)
swathipil Jan 5, 2021
8e41b70
Fix put_encrypted_blob function (#15918)
griseau Jan 5, 2021
0a9288e
Update to Update-Changelog.ps1 (#15981)
azure-sdk Jan 5, 2021
65582ed
Add Devops Release Item scripts (#15989)
azure-sdk Jan 5, 2021
e5b7b5c
[ServiceBus] Update migration guide (#15915)
yunhaoling Jan 6, 2021
7d860f5
Skip automatic API review for managment packages (#15987)
praveenkuttappan Jan 6, 2021
4510537
Sync eng/common directory with azure-sdk-tools for PR 1298 (#15988)
azure-sdk Jan 6, 2021
c04396e
[ChangeFeed]Tweak one test and re-record (#15991)
xiafu-msft Jan 6, 2021
7c4d042
Add AzureSasCredential (#15946)
kasobol-msft Jan 6, 2021
7669b31
added fix for http response regression fail (#15975)
tasherif-msft Jan 6, 2021
9fada36
[T2] GA datalake-store (#15887)
00Kai0 Jan 6, 2021
a32a3c5
T2 healthbot 2021 01 06 (#15994)
00Kai0 Jan 6, 2021
7cf106f
fix datalake store setup (#15995)
00Kai0 Jan 6, 2021
d50c779
added samples to pipeline, fixed up a few samples to actually work (#…
seankane-msft Jan 6, 2021
a209c20
Run mypy in azure-identity CI (#15832)
chlowell Jan 6, 2021
78b7a38
Added samples for AAD authentication for identity client (#15972)
jbeauregardb Jan 6, 2021
4b6911f
Replace MsiCredential with CloudShellCredential (#15880)
chlowell Jan 6, 2021
9376c2f
use getattr to lazy load aiohttp and trio (#15878)
xiangyan99 Jan 6, 2021
a98bd20
refactor hierarchy of HttpPolicy & AsyncHttpPolicy (#15831)
xiangyan99 Jan 6, 2021
2e94c50
add transport docs in readme (#15856)
xiangyan99 Jan 6, 2021
de744d1
Acknowledge SB GA in pip install (#15998)
lmazuel Jan 6, 2021
b6bc150
Update Update Changelog (#15992)
chidozieononiwu Jan 7, 2021
0d70f57
Sync eng/common directory with azure-sdk-tools for PR 1302 (#16009)
azure-sdk Jan 7, 2021
8c67a78
add ignore list for samples (#15976)
kristapratico Jan 7, 2021
f7b070c
Remove old Update-Change-Log.ps1 (#16008)
azure-sdk Jan 7, 2021
3ec32b2
[text analytics] update changelog date (#16023)
iscai-msft Jan 7, 2021
0d05b5d
update changelog date (#16021)
kristapratico Jan 7, 2021
c88a1a8
[EventHub] Bump uAMQP Dependency to v1.2.13 (#15933)
yunhaoling Jan 7, 2021
a7c6440
[ServiceBus] Bump uAMQP Dependency to v1.2.13 (#15932)
yunhaoling Jan 7, 2021
5beb616
replace v0.50 references with migration guide in readme (#16011)
yunhaoling Jan 7, 2021
fa6a756
[Media] Updating swagger link for LVA sdk (#16006)
hivyas Jan 7, 2021
b1a5712
fixed issue with multiple params in a filter (#15893)
seankane-msft Jan 7, 2021
230a158
add missing method description (#16012)
yunhaoling Jan 7, 2021
11647f4
updated event hubs migration guide to follow template (#15953)
swathipil Jan 7, 2021
172cf59
add async tests for sb client (#16029)
swathipil Jan 8, 2021
b141c45
Additional Blob/Datalake regression storage pipeline fix (#16015)
tasherif-msft Jan 8, 2021
b35b5eb
fix mypy (#15997)
xiangyan99 Jan 8, 2021
3db3667
added python3 conditional (#16007)
seankane-msft Jan 8, 2021
bedefda
added an option to use preparers as a back up plan for powershell pre…
seankane-msft Jan 8, 2021
80c3919
updated release notes, added more examples to the sample (#16027)
seankane-msft Jan 8, 2021
e73e003
allow configuration of a suffix for each config item. (#16048)
azure-sdk Jan 8, 2021
7edc960
Fix test (#16032)
xiafu-msft Jan 8, 2021
ad23952
Added raise_with_traceback to storage errors (#15263)
tasherif-msft Jan 8, 2021
0d1c009
Rename azure monitor exporter namespace (#16030)
lzchen Jan 8, 2021
49befdc
[eventgrid] add tests for samples (#16033)
Jan 8, 2021
dc47c62
Revert "Remove old Update-Change-Log.ps1 (#1301)" (#16053)
azure-sdk Jan 8, 2021
8230cd7
[Fileshare] Generated Fileshare using newest autorest version (#15824)
tasherif-msft Jan 9, 2021
da63ca7
add missing azure-identity in dev requirement (#16050)
yunhaoling Jan 9, 2021
0e5384e
[Media] Updating swagger link (#16052)
hivyas Jan 9, 2021
0429086
update release date (#16040)
xiangyan99 Jan 9, 2021
be3b227
[EventHubs&ServiceBus] update release date (#16062)
yunhaoling Jan 11, 2021
42594f6
Increment version for core releases (#16072)
azure-sdk Jan 11, 2021
60fe513
Fix condition for test generation in prepare-pipelines (#16073)
azure-sdk Jan 11, 2021
efb8e39
retry policy on storage preparer for when deletes occur too quickly (…
seankane-msft Jan 11, 2021
e9d2636
[Blob]fix parse url for blob emulator (#15979)
xiafu-msft Jan 11, 2021
041f682
Setting up template to use 1ES hosted pool. (#16010)
mitchdenny Jan 12, 2021
410ed76
OT Exporter retry when there are network issues (#16087)
lzchen Jan 12, 2021
b0a3bed
Add quotes around the parameter (#16083)
azure-sdk Jan 12, 2021
a52a073
Update CHANGELOG.md (#16097)
Jan 12, 2021
739b24a
Update CODEOWNERS (#16100)
msyyc Jan 12, 2021
648b1f1
Increment version for servicebus releases (#16103)
azure-sdk Jan 12, 2021
c0fcfdc
Increment package version after release of azure_data_tables (#16104)
azure-sdk Jan 12, 2021
056137a
[formrecognizer] fix readme version (#16105)
kristapratico Jan 12, 2021
20d154b
[text analytics] update sdk version in readme (#16107)
iscai-msft Jan 12, 2021
b105c0e
Increment version for eventhub releases (#16092)
azure-sdk Jan 12, 2021
64eeda0
[EventHubs] Enable DeleteAfter Tag for test resource group (#16058)
yunhaoling Jan 12, 2021
22bd891
Added powershell docs to all sdks (#16108)
jbeauregardb Jan 12, 2021
3ba4985
Increment version for textanalytics releases (#16113)
azure-sdk Jan 12, 2021
64d0c78
[Storage] Using AzureSasCredential. (#16043)
kasobol-msft Jan 12, 2021
0b5593d
Increment version for formrecognizer releases (#16118)
azure-sdk Jan 12, 2021
cb63736
Update pipeline generation tool to support test variant pipelines (#1…
azure-sdk Jan 12, 2021
088abeb
[DataLake]convert PathProperties.last_modified to datetime format (#1…
xiafu-msft Jan 13, 2021
6e5abd9
STG75 Stable Release Changelog & Updated Swagger Readme (#16127)
tasherif-msft Jan 13, 2021
b475de5
Fix flaky exporter and storage tests (#16117)
lzchen Jan 13, 2021
41740dc
Skip Datalake tests that depend on most recent Blob changes (AzureSas…
tasherif-msft Jan 13, 2021
58e2dc2
release monitor 2.0.0 (#15921)
00Kai0 Jan 13, 2021
d67e844
[T2] release loganalytics 8.0.0 (#15920)
00Kai0 Jan 13, 2021
4cbe3b0
update codeowners to reflect new media track 2 owners (#16128)
scbedd Jan 13, 2021
ce88d9e
resolve azure-mgmt-storageimportexport test failure (#16143)
scbedd Jan 13, 2021
ffe6a56
Update changelog release date (#16145)
tasherif-msft Jan 13, 2021
acc5986
Fix README and links for release (#16146)
lzchen Jan 13, 2021
f4500a2
[Communication] - Add Identifier suffix to CommunicationUser and Pho…
sacheun Jan 14, 2021
3d729f4
[LVA] Fix the release date in changelog (#16150)
giakas Jan 14, 2021
d1cc22f
Update changelog (#16154)
lzchen Jan 14, 2021
f0836e8
Add conditional logic for setting TestPipeline to true (#16115)
chidozieononiwu Jan 14, 2021
d837721
Fix to unblock loganalytics release. (#16156)
mitchdenny Jan 14, 2021
8f9baf8
Updated Datalake minimum dependency (#16151)
tasherif-msft Jan 14, 2021
bef6013
Update generated (#16049)
seankane-msft Jan 14, 2021
4f7fb0c
Increment package version after release of azure_opentelemetry_export…
azure-sdk Jan 14, 2021
ab7d89e
Edits to test documentation (#16179)
seankane-msft Jan 14, 2021
9fb2f34
[Perfstress][ServiceBus] Added ServiceBus perf tests (#16066)
annatisch Jan 15, 2021
78eb1b3
[T2] digitaltwins 2021 01 07 (#16013)
msyyc Jan 15, 2021
a0e9f65
Fixed base handler async/added tests for SBSender + SBReceiver (#16051)
swathipil Jan 15, 2021
07c6a28
breaking changes run in ci (#16170)
kristapratico Jan 15, 2021
82f13b8
Added MicrosoftTeamsUserIdentifier model (#16176)
jbeauregardb Jan 15, 2021
f7e0d77
[Communication]Rename CommunicationUserCredential to CommunicationTok…
sacheun Jan 15, 2021
72afdd0
[Cosmos] Add option for disabling auto id generation in create_item (…
zfoster Jan 15, 2021
45a96e7
take dependency on azure-core for mindependency test invocation. azur…
scbedd Jan 15, 2021
5760cbc
updating from new cosmos spec (#16198)
seankane-msft Jan 15, 2021
fbe7f4a
Run smoke tests against latest published versions in release pipeline…
benbp Jan 15, 2021
3c25df0
Update messaging owners (#16203)
lmazuel Jan 15, 2021
e4c4daa
Replace EventgridSharedAccessSignatureCredential with AzureSasCredent…
Jan 15, 2021
eb013c2
Required params must be positional (#16194)
Jan 15, 2021
c739da5
Updated release date (#16205)
LarryOsterman Jan 15, 2021
b3960b1
Raise on bad credential (#16206)
Jan 15, 2021
989edaf
Naming feedback - part 1 (#16208)
Jan 16, 2021
411c0ef
Naming Feedback - part 2 (#16210)
Jan 16, 2021
a77b621
we are using a pool not a specific vmImage (#16213)
scbedd Jan 16, 2021
c47cdc3
T2 confluent 2021 01 15 (#16221)
00Kai0 Jan 18, 2021
1ca37b4
[Queues] Generated Queues using newest autorest version (#16148)
tasherif-msft Jan 18, 2021
41fe49a
make the globbing of the packages work in dev_setup from any invocati…
scbedd Jan 18, 2021
b4815d1
Increment package version after release of azure_storage_file_datalak…
azure-sdk Jan 19, 2021
d784000
Increment version for storage releases (#16152)
azure-sdk Jan 19, 2021
ab3cc34
Adding 2020-09-01-hybrid profile (#14642)
abbhar Jan 19, 2021
3e91d48
Fix Eventgrid sample (#16217)
Jan 19, 2021
f74dd69
Add LanguageDisplayName variable to LanguageSettings file (#16239)
chidozieononiwu Jan 19, 2021
0be7475
Update error message in tools repo (#16245)
azure-sdk Jan 20, 2021
0bab493
T2 compute 2021 01 19 (#16246)
00Kai0 Jan 20, 2021
6e87b80
Increment package version after release of azure_security_attestation…
azure-sdk Jan 20, 2021
dd14599
[Communication] Move core dependency to setup.py from dev_requirement…
turalf Jan 20, 2021
4e7bbb5
Added credscan steps for python (#16136)
sima-zhu Jan 20, 2021
22febc5
fix broken links in python repo (#16259)
iscai-msft Jan 20, 2021
127a3c0
Refactor send and system events (#16255)
Jan 20, 2021
c481022
README file only - Adding new Limitation and new example (#16248)
Rodrigossz Jan 20, 2021
90fbe72
fix EH auth sample by replacing lambda with callback (#16207)
swathipil Jan 20, 2021
a78be2e
[Communication] Use CommunicationRefreshOptions in CommunicaitonToken…
sacheun Jan 20, 2021
ce3bfd5
run black on devtools_testutils (#16264)
seankane-msft Jan 20, 2021
cd446b4
Pin azure-keyvault-administration dev requirement (#16260)
chlowell Jan 20, 2021
8a96f30
Sync eng/common directory with azure-sdk-tools repository (#16269)
azure-sdk Jan 20, 2021
cce8bee
[Event Hubs] updated README with install steps for azure-identity and…
swathipil Jan 20, 2021
1ac1524
Sync eng/common directory with azure-sdk-tools for PR 1317 (#16270)
azure-sdk Jan 20, 2021
9a116b3
Update README links for Azure monitor (#16241)
lzchen Jan 21, 2021
59b653e
Fix CommunicationTokenCredential constructor in test_chat_client_e2e.…
sacheun Jan 21, 2021
e8edeb8
Updated msrest minimum dependency for all Storage services (#16267)
tasherif-msft Jan 21, 2021
8de3664
Ensure bypass conditional template gets run for 1es ubuntu image (#16…
azure-sdk Jan 21, 2021
ecf9136
update README with install steps for azure-identity/aiohttp (#16273)
swathipil Jan 21, 2021
d37aec1
Increment version for storage releases (#16279)
azure-sdk Jan 21, 2021
d5b8704
Metrics advisor aad (#15922)
xiangyan99 Jan 21, 2021
9043478
Enable 1ES pools for live tests. (#16160)
mitchdenny Jan 21, 2021
95b40c2
[metricsadvisor] support key rotation for MetricsAdvisorKeyCredential…
kristapratico Jan 21, 2021
5483b6a
Add data as positional for cloud event (#16288)
Jan 21, 2021
91b3438
Sync eng/common directory with azure-sdk-tools for PR 1251 (#16290)
azure-sdk Jan 22, 2021
42397a9
[Key Vault] Add support for custom role definitions (#16063)
mccoyp Jan 22, 2021
b0a8924
fix azure-core uninstalled in pipeline. (#16296)
00Kai0 Jan 22, 2021
c12a9c0
release track2 sdk for cdn (#16233)
00Kai0 Jan 22, 2021
9fca61b
rename list_dimension_values (#16292)
xiangyan99 Jan 22, 2021
f8be630
changing to only doing code coverage on one test run (#16297)
seankane-msft Jan 22, 2021
c957c4f
[Perf] Include running average in per-second output (#16302)
mikeharder Jan 22, 2021
d6fee00
add new headers/params to logging policy allowlist (#16305)
kristapratico Jan 22, 2021
df2f634
[Communication] - SMS - Added AAD support (#16076)
jbeauregardb Jan 25, 2021
d50442b
Communication Identity Model serializer/deserializer (#16268)
turalf Jan 25, 2021
bb49488
Sync eng/common directory with azure-sdk-tools for PR 1335 (#16311)
azure-sdk Jan 25, 2021
0ae2052
Missing enter, exit and close (#16321)
Jan 25, 2021
8c725c5
rename to generate_sas (#16330)
Jan 25, 2021
79a64bb
Communication - Update the CODEOWNERS (#16123)
RezaJooyandeh Jan 26, 2021
2b68dcd
[Event Hubs] created EventHubConnectionStringProperties and connectio…
swathipil Jan 26, 2021
b555b10
Relocate azure-sdk-tools install into dev_requirements where necessar…
scbedd Jan 26, 2021
d43aff9
Fixed the problem of no display name issue (#16348)
azure-sdk Jan 26, 2021
5c50bdf
[Key Vault] Update administration README for MHSM and custom role def…
mccoyp Jan 26, 2021
eacd482
unskip receipt tests - service regression fixed (#16355)
kristapratico Jan 26, 2021
223d948
[Communication] - Extract Identity Package out of Administration Pack…
lsundaralingam Jan 26, 2021
5d94378
[formrecognizer] renames line appearance/style and adds to samples (#…
kristapratico Jan 27, 2021
69d76de
Update LanguageSetting.ps1 (#15639)
chidozieononiwu Jan 27, 2021
7400360
Move mindependency and latestdependency common dependencies to a file…
scbedd Jan 27, 2021
d3e00df
Sync eng/common directory with azure-sdk-tools for PR 1341 (#16364)
azure-sdk Jan 27, 2021
cbeb616
[text analytics] make default v3.1-preview.3 and remove v3.1-preview.…
iscai-msft Jan 27, 2021
ad5308d
T2 network 2021 01 26 (#16368)
00Kai0 Jan 27, 2021
68bc8c3
updating pylint statements (#16362)
seankane-msft Jan 27, 2021
7da4fde
[formrecognizer] unexpose api_version property (#16378)
kristapratico Jan 27, 2021
1b10b4e
Update Change log in ACS packages (#16366)
sacheun Jan 27, 2021
db4ca2e
Send method changes (#16318)
Jan 27, 2021
e354a95
Fix python sms live test failures (#16385)
turalf Jan 28, 2021
82e5afc
Remove System Events (#16358)
Jan 28, 2021
adcf588
split update_key into 2 methods (#16405)
xiangyan99 Jan 28, 2021
25617a6
[formrecognizer] `pages` update (#16403)
kristapratico Jan 29, 2021
f74da2f
[Blob] Added ContainerClient.exists() method (#16315)
tasherif-msft Jan 29, 2021
250e123
T2 quantum first release (#16394)
00Kai0 Jan 29, 2021
032b09d
T2 batch 2021 01 28 (#16391)
00Kai0 Jan 29, 2021
db32606
[Bug][Datalake] Fixed Datalake Service Client context manager/session…
tasherif-msft Jan 29, 2021
b6d65fa
[T2] python track2 new pipeline (#16374)
msyyc Jan 29, 2021
94c2735
[core] add raise_for_status to HttpResponse (#16399)
iscai-msft Jan 29, 2021
89e7f4b
Sync eng/common directory with azure-sdk-tools for PR 1345 (#16404)
azure-sdk Jan 29, 2021
1b0d99a
Add Cloud environment for Teams user (#16359)
turalf Jan 30, 2021
0dfffd6
CodeGen from PR 12636 in Azure/azure-rest-api-specs
Jan 31, 2021
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ exclude_lines =
if raw:
if custom_headers:
if headers:
if response.status_code not in
if response.status_code not in
if TYPE_CHECKING:
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!"
Loading