-
Notifications
You must be signed in to change notification settings - Fork 378
Remove NuGetVersioningVersion workaround #12333
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
After the sleet removal, we should be able to remove a long standing workound that required that the arcade SDK load a very old version on NuGet.Versioning because of a conflicting dependency with sleet. I have unified the references under NuGet.Packaging's version, so that source-build can properly override the NuGet version. The relevant issues around the old workaround are dotnet#6014 and dotnet#1965
|
looking at release/6.0 and release/7.0, we still have |
|
I don't think I removed the sleet dependency out of 6 and 7, so it may still be required there. |
|
oh well. |
|
is it a massive job to remove the sleet dependency❔ we're on the latest version of DotNet.SleetLib. it's from late 2019 and has some very old dependencies. |
|
Unsure. But probably. The way it got removed in main was a recognition that we no longer hit any of those code paths during Maestro publishing. This would include 6.0 and 7.0, because they use the main branch of arcade when publishing. So no one was using sleet in our main publishing codepaths (what happens when you do Now, my hunch is that in repos that depend on the 6.0 and 7.0 branches, the only active codepaths in the Build.Tasks.Feed package are those rooted in the PushToAzureDevOpsArtifacts task (the thing that sets up the publishing manifest and pushes to the build artifacts). Everything else is dead as it was generally from older publishing infra in the first place. Thus, the hypothesis is that if you eliminated everything but Now, how to find out if this will be a problem? A bit of AzDO searching for any use of targets or tasks from that package, cross referenced with the arcade SDK the repo is on would be my first start. I'm guessing that turns out nothing obvious. The next thing I would do if it all looks good to go is remove all the code paths, leaving behind shells of tasks/targets that spit user-helpful errors ( |
|
@mmitche I'm now confused about both release/6.0 and release/7.0. We have other cases where our NuGet.Versioning version is held back for unknown reasons:
@joeloff is there a reason Microsoft.DotNet.SignCheckLibrary uses old versions of many packages❔ |
- small part of dotnet/dnceng#345 - bump Azure.Data.Tables to v12.8.1 - replace Microsoft.IdentityModel.Clients.ActiveDirectory with Microsoft.Identity.Client - part of dotnet/dnceng#629 - bump NuGet.* to v6.7.0 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5128 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5129 - left both `$(NuGetVersioningVersion)` and `$(NuGetVersion)` to minimize disruption - see dotnet#12333 change in 'main' for a counter-example - react to deprecation of `ContentItemCollection.FindItemGroups(...)` - react to removal of `SignatureVerificationProviderFactory` - react to `VerifySignaturesResult` API changes (`Valid` to `IsValid`) - bump NewtonSoft.Json to v13.0.3 - nits: - remove unused `$(...Version)` properties - remove a bit of dead code and unused `using`s in changed files
- small part of dotnet/dnceng#345 - bump Azure.Data.Tables to v12.8.1 - replace Microsoft.IdentityModel.Clients.ActiveDirectory with Microsoft.Identity.Client - part of dotnet/dnceng#629 - bump NuGet.* to v6.7.0 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5127 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5128 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5129 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5137 - left both `$(NuGetVersioningVersion)` and `$(NuGetVersion)` to minimize disruption - see dotnet#12333 change in 'main' for a counter-example - react to deprecation of `ContentItemCollection.FindItemGroups(...)` - react to removal of `SignatureVerificationProviderFactory` - react to `VerifySignaturesResult` API changes (`Valid` to `IsValid`) - bump NewtonSoft.Json to v13.0.3 - nits: - remove unused `$(...Version)` properties - remove a bit of dead code and unused `using`s in changed files
- small part of dotnet/dnceng#345 - bump Azure.Data.Tables to v12.8.1 - replace Microsoft.IdentityModel.Clients.ActiveDirectory with Microsoft.Identity.Client - part of dotnet/dnceng#629 - bump NuGet.* to v6.7.0 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5128 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5129 - left both `$(NuGetVersioningVersion)` and `$(NuGetVersion)` to minimize disruption - see dotnet#12333 change in 'main' for a counter-example - react to deprecation of `ContentItemCollection.FindItemGroups(...)` - react to removal of `SignatureVerificationProviderFactory` - react to `VerifySignaturesResult` API changes (`Valid` to `IsValid`) - bump NewtonSoft.Json to v13.0.3 - nits: - remove unused `$(...Version)` properties - remove a bit of dead code and unused `using`s in changed files
- small part of dotnet/dnceng#345 - bump Azure.Data.Tables to v12.8.1 - replace Microsoft.IdentityModel.Clients.ActiveDirectory with Microsoft.Identity.Client - part of dotnet/dnceng#629 - bump NuGet.* to v6.7.0 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5128 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5129 - left both `$(NuGetVersioningVersion)` and `$(NuGetVersion)` to minimize disruption - see #12333 change in 'main' for a counter-example - react to deprecation of `ContentItemCollection.FindItemGroups(...)` - react to removal of `SignatureVerificationProviderFactory` - react to `VerifySignaturesResult` API changes (`Valid` to `IsValid`) - bump NewtonSoft.Json to v13.0.3 - nits: - remove unused `$(...Version)` properties - remove a bit of dead code and unused `using`s in changed files
- small part of dotnet/dnceng#345 - bump Azure.Data.Tables to v12.8.1 - replace Microsoft.IdentityModel.Clients.ActiveDirectory with Microsoft.Identity.Client - part of dotnet/dnceng#629 - bump NuGet.* to v6.7.0 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5127 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5128 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5129 - part of https://dev.azure.com/dnceng/internal/_workitems/edit/5137 - left both `$(NuGetVersioningVersion)` and `$(NuGetVersion)` to minimize disruption - see #12333 change in 'main' for a counter-example - react to deprecation of `ContentItemCollection.FindItemGroups(...)` - react to removal of `SignatureVerificationProviderFactory` - react to `VerifySignaturesResult` API changes (`Valid` to `IsValid`) - bump NewtonSoft.Json to v13.0.3 - nits: - remove unused `$(...Version)` properties - remove a bit of dead code and unused `using`s in changed files

After the sleet removal, we should be able to remove a long standing workound that required that the arcade SDK load a very old version on NuGet.Versioning because of a conflicting dependency with sleet. I have unified the references under NuGet.Packaging's version, so that source-build can properly override the NuGet version.
The relevant issues around the old workaround are #6014 and #1965
To double check: