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

Prepare for release of azblob #16827

Merged
merged 40 commits into from Jan 13, 2022
Merged

Prepare for release of azblob #16827

merged 40 commits into from Jan 13, 2022

Conversation

jhendrixMSFT
Copy link
Member

@jhendrixMSFT jhendrixMSFT commented Jan 13, 2022

  • The purpose of this PR is explained in this or a referenced issue.
  • The PR does not update generated files.
  • Tests are included and/or updated for code changes.
  • Updates to CHANGELOG.md are included.
  • MIT license headers are included in each file.

BenoitPerrot and others added 30 commits October 23, 2021 21:24
* azblob.downloadBlobToWriterAt: initialDownloadResponse: remove as unused

* azblob.DownloadBlobToWriterAt: make public
When the buffer isn't filled to capacity a new slice is created that's
smaller than the original. In that case the smaller slice is returned to
the pool which prevents the rest of the capacity from being used again.

The solution is to pass the original slice through and attach the
length. This allows the original slice to be returned to the pool once
the operation is complete.

This change also simplifies the `sendChunk` method, ensuring that the
buffer is returned to the TransferManager even when no bytes were read
from the reader.
This function only takes an io.Reader in azure-storage-blob-go,
& wal-g abstracts over multiple upload mechanisms which all operate on io.Reader
* Updated README sample code

container name should be all lowercase

* Fix typo GetAccountSASToken to GetSASToken

I believe 'GetAccountSASToken' was written by mistake. It's inconsistent with what is described on line 97 and I don't see this method in the documentation.
…ng keyID (#16689)

* updating examples to use ClientSecretCredential, fix parsing keyID

* fixing constructor test URL

* adding test for no keyid

* key version, not key ID, better error reporting

* changes from working with maor and daniel

* working for both hsm and non hsm, need to fix up for recorded tests

* fixed implementation, i think...

* working for hsm too

* working challenge policy for hsm and non hsm

* new recordings

* adding all final recordings

* reveerting back to DefaultAzCred

* using streaming package from azcore
* Add spell check warnings

* Basic cspell.json

* Ignore files in .vscode except cspell.json, new line before EOF in cspell.json

* Spell check, ignore thyself
* Adding Smoketests to nightly runs

* updating location, fixes to script

* starting go script

* finishing script

* updating yml file

* formatting

* adding snippet for finding go code

* adding funcitonality for copying examples

* trimming out unused funcs

* fixed regexp, thanks benbp

* fixing smoke test program to create go.mod file correctly, update powershell for nightly

* removing need for argument in go program, updating yml and powershell to reflect

* scripts not common

* smoketests, plural not singular

* finally got the right directory

* fixed script locally, running into permissions issue on ci

* updating script to exit properly, logging an error instead of panicing

* manually set go111module to on

* removing references to go111module

* issue with duplicated function names...

* updating to only pull examples from the service directory if one is provided

* runs samples now too!

* adding 'go run .' step to ps1, triggering for tables

* adding step to analyze.yml file

* adding debugging for ci

* updating to work in ci

* updating to specify go module name, removing print statements

* updating scripts to fmt for prettier printing, find all environment variables

* working on loading environment variables from file

* removing env vars from example_test.go for testing

* adding the environment variable portion to the generated main.go file

* forgot to remove change to nightly script

* adding import to the main file

* cleaning up code, adding comments

* don't import os if no env vars

* small changes for checking all packages

* removing _test suffix on copied files

* converting to use cobra for better support

* formatting
* Support AAD graph and Microsoft Graph service principal APIs

* Consolidate service principal wrapper creation

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* fixing broken live test

* coverage

* forcing ci
* Add weekly pipeline generation to prepare-pipelines template

* Add succeeded condition to pipeline generation pipelines

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Generated from specification/automation/resource-manager/readme.md tag package-2020-01-13-preview (commit hash: 3b9b0a930e29cbead33df69ae46c7080408e4c0f)

* Generated from specification/compute/resource-manager/readme.md tag package-2021-08-01 (commit hash: 3b9b0a930e29cbead33df69ae46c7080408e4c0f)

* v61.1.0
…ockerfile (#16555)

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* Update pipeline generator tool feed to azure-sdk-for-net

* Update pipeline generator tool version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Updating sb to handle breaking changes in azcore

At the moment we're not using azcore's HTTP library, so we don't need to test for specific errors that come from azcore.
<!--
Thank you for contributing to the Azure SDK for Go.

Please verify the following before submitting your PR, thank you!
-->

- [ ] The purpose of this PR is explained in this or a referenced issue.
- [ ] The PR does not update generated files.
   - These files are managed by the codegen framework at [Azure/autorest.go][].
- [ ] Tests are included and/or updated for code changes.
- [ ] Updates to [CHANGELOG.md][] are included.
- [ ] MIT license headers are included in each file.

[Azure/autorest.go]: https://github.com/Azure/autorest.go
[CHANGELOG.md]: https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md
Update changelog for release
azure-sdk and others added 10 commits January 12, 2022 16:32
Increment package version after release of azcore
…l credential (#16392)

This PR makes it so instances of `ChainedTokenCredential` will now re-use the first successful credential on `GetToken` calls.

Fixed #16268
Increment package version after release of azidentity
* release ready for keyvault keys

* updating the api surface to latest azcore

* updating to ResponseError

* update with latest codegen

* fixing ci

* formatting

* bumping azcore to v0.21.0

* updating azidentity and autorest version

* updating go.sum

* final upgrade for changelog

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
* preparing tables for release

* prepping for release with latest azcore

* update with latest code generator

* formatting

* updating to released azcore version

* upgrading azidentity

* updating autorest.go version

* final changes to readme

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
* prepare secrets for release

* updating to latest azcore

* update with latest codegen

* fixing secret version issues

* formatting

* manual checkout of azkeys

* updating to azcore v0.21.0

* updating autorest.go and azidentity

* updating Changelog

* updating changelog

* updating changelog

* modifying moduleVersion

* undoing changes to keys and tables

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
* Update azblob with the latest azcore

This tactially resolves the small number of breaking changes in azcore.

* clean-up
@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jan 13, 2022
@bcho
Copy link
Member

bcho commented Jan 26, 2022

Hey, any ETA for releasing the 0.3.0 version?

@jhendrixMSFT
Copy link
Member Author

@mohsha-msft can provide the ETA

@WTIGER001
Copy link

Yeah.. Please provide an ETA... At least publish a .21 that has the new version of az core. I am running into compatibility issues with arm-compute..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet