-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[New Azure Integration Pkgs] Add DataProtection blob storage implementation based on latest Azure.Storage.Blobs #18203
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
Conversation
...tection/Azure.Storage.Blob/src/Microsoft.AspNetCore.DataProtection.Azure.Storage.Blob.csproj
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureBlobXmlRepository.cs
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureBlobXmlRepository.cs
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
...tection/Azure.Storage.Blob/src/Microsoft.AspNetCore.DataProtection.Azure.Storage.Blob.csproj
Outdated
Show resolved
Hide resolved
src/DataProtection/Azure.Storage.Blob/src/AzureDataProtectionBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| THE SOFTWARE. | ||
|
|
||
| License notice for azure-sdk-for-net |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @Pilchie
| <PackageTags>aspnetcore;dataprotection;azure;blob</PackageTags> | ||
| <IsShippingPackage>true</IsShippingPackage> | ||
| <UseLatestPackageReferences>true</UseLatestPackageReferences> | ||
| <PreReleaseVersionLabel>$(AzureSDKPreReleaseVersionLabel)</PreReleaseVersionLabel> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is working. Looking at the public CI artifacts (which perhaps are wrong) I see: 3.1.1-ci. That indicates two things to me:
- The
.1patch version is applied. We want these to be3.1.0. - The
-preview1label is being lost, though again, perhaps that's a problem in the public CI.
@dotnet/aspnet-build do you have context on this? The same problem likely applies to the other two PRs (#17041, dotnet/extensions#2618)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -ci is expected I believe, and -preview1 should be applied in official builds.
If you look at the other already shipped packages, you'll see they don't have -ci.
Oh, that only applies to the extensions repo...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The setup looks correct w.r.t. $(PreReleaseVersionLabel) and $(DotNetFinalVersionKind).
We want these to be
3.1.0
Need to change the $(VersionPrefix) for that. I suggest the following in this project
<VersionPrefix>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0</VersionPrefix>There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. To be clear, this weird versioning will only hold true until we release the .0. Once that's done, we can just clean all the up and version them ahead to 3.1.x (whatever the next x is). I'll make a note to track that for follow up after these packages go out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dougbu Do you know how to do the same thing for Extensions? Setting VersionPrefix doesn't seem to affect the nupkg version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there's an Arcade or .NET Core SDK setting that causes it to override $(VerisonPrefix). IIRC that's set in dotnet/aspnetcore but not dotnet/extensions. Might be $(IncludeSourceRevisionInInformationalVersion).
I didn't check a 3.x Arcade SDK but their logic in 'master' for calculating $(VersionPrefix) is in tools\Version.BeforeCommonTargets.targets and seems to no-op when the property is already set and $(PrereleaseVersionLabel) is non-empty.
Bottom line, no, I'm not sure and suggest you complete the research I started 😈
pakrym
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Packages look better now ( |
|
Approved for March (since this is a bundle along with dotnet/extensions#2618 (comment)) |
...tection/Azure.Storage.Blob/src/Microsoft.AspNetCore.DataProtection.Azure.Storage.Blob.csproj
Outdated
Show resolved
Hide resolved
….DataProtection.Azure.Storage.Blob.csproj
|
Closing as these changes are moving. |
No description provided.