Open scentoni opened 6 months ago
@neolynx , @chuan , @randombenj , @lbolla , @andrewshadura - Apologies for all the tags, but wasn't sure who would be most appropriate. It looks like we have an incoming breaking change soon for the newly added Azure support. Does anyone have cycles to take a look?
Thanks for reporting !!
as I don't really have azure storage access, I would need some help with that..
would you be able to prepare a pull request ?
@neolynx Hi there! Do you still need access to an Azure storage instance to test this? Or I read elsewhere that you would like to stay on a particular Go version.
the go version has been updated to 1.22.7 ! would that be suitable for the new Azure SDK ?
yes, if you could help with testing Azure (i.e. have a test account) that would be great. I had a free tier, but it expired..
also, aptly uses https://github.com/potatoqualitee/azuright 1.1 for testing azure. but there seems to be no newer version. it would be greate somehow if the new sdk could be emulated for testing.
do you think this is already possible with 1.1 ?
I migrated to the new azure sdk, kinda, it compiles but unit tests now fail (on azurite)...
test are passing now ! azurite was used for testing
@plane-wave would you be able to compile and test the branch with a real Azure ? especially with using a publish prefix, not sure it is handled correctly everywhere...
@scentoni, @SingulariteeSplunk would you be able to test as well ?
@em-, maybe you can test this on real Azure?
branch is: fix/azure-sdk-migration
It would be great to test with big files, symlinks (link from pool, acquireByHash), removing files... All of with with and without prefix, and once also with having the whole pool on azure, which was a new feature added and I am not sure the tests fully cover this...
switched to new sdk, please try latest CI builds !
The library https://github.com/Azure/azure-storage-blob-go/ that aptly uses to deploy packages to Azure is deprecated and will be retired 2024-09-13. As described there, it should be replaced with https://github.com/Azure/azure-sdk-for-go before that date.
Comparing the old azblob SDK documentation https://pkg.go.dev/github.com/Azure/azure-storage-blob-go/azblob and the new azblob SDK documentation https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, it does not appear to be a drop-in replacement.