-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Get release/3.1 to strict coherency #25050
Comments
@mmitche @wtgodbe I see dotnet/corefx changes started flowing this morning (with dotnet/core-setup#9071). Does this mean we don't have time to resolve the rest of the strict coherency issues in 3.1.8❔ (URIs and SHAs are fine on #25048 branch but dotnet/core-setup lacks a dependency for System.Net.Http.Json and dotnet/efcore lacks many dependencies for dotnet/extensions packages.) I'd really like to at least do another PR in dotnet/efcore to address the second part of this. And, it would be great to know why we aren't seeing complaints about missed dotnet/extensions dependencies used in aspnetcore e.g. packages mentioned in https://github.com/dotnet/extensions/blob/bb7e14db3ce323db584de00434d8e7d5b06fae5c/eng/Versions.props#L88-L92 aspnetcore/eng/SharedFramework.External.props Lines 9 to 19 in 99b0aae
/cc @dotnet/aspnet-build |
@dougbu there's still time for 3.1.8 if we get PRs in today - we're waiting on a wpf-int change still, which can't go in until they get CTI validation on it tonight. Let me know if you'd like some help whipping up the remaining PRs. |
Excellent❕ I'll take the big dotnet/efcore one. Would appreciate you taking adding System.Net.Http.Json to core-setup and making sure extensions knows about it. Can I add that dep to efcore before your change flows into that repo w/o breaking anything❔ |
I'd like to have strict coherency on by default by...say RC2 release or so. It involves a bunch of iterative changes so it's something I don't expect to get done instantly. Thanks for your help with this. |
Yep, that should be fine - it'd just be another non-strict dependency that'll get fixed once my change flows |
This is about 3.1 changes which would be great to land in 3.1.8 so we don't need to keep pinning and unpinning random packages. |
…cies - dotnet/aspnetcore#25050 - for strict coherency in dotnet/aspnetcore nit: move a few `System.*` dependencies down to make scanning file easier
Shoot, I accidentally pushed into the 'release/3.1' branch. Could someone please check dotnet/efcore@8dfe3f7 for sanity❔ If it looks fine, I'll only revert the change if the official build fails. |
@dougbu the versions themselves look good, but now the corefx & extensions dependencies are all mixed together |
The dependencies were mixed before. I only made that a bit worse while improving the ability to scan alphabetically. It was the minimal change I considered. |
I think we have only two smaller bits to figure out once the following changes / builds flow
|
What exactly do you mean by this? Where do you expect to see complaints? |
In the |
dotnet/aspnetcore contains <Dependency Name="Microsoft.Win32.SystemEvents" Version="4.7.0" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>0f7f38c4fd323b26da10cce95f857f77f0f09b48</Sha>
</Dependency>
<Dependency Name="System.Drawing.Common" Version="4.7.0" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>0f7f38c4fd323b26da10cce95f857f77f0f09b48</Sha>
</Dependency>
<Dependency Name="System.Security.Cryptography.Pkcs" Version="4.7.0" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>0f7f38c4fd323b26da10cce95f857f77f0f09b48</Sha>
</Dependency>
<Dependency Name="System.Security.Permissions" Version="4.7.0" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>0f7f38c4fd323b26da10cce95f857f77f0f09b48</Sha>
</Dependency>
<Dependency Name="System.Windows.Extensions" Version="4.7.0" CoherentParentDependency="Microsoft.NETCore.App.Runtime.win-x64">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>0f7f38c4fd323b26da10cce95f857f77f0f09b48</Sha>
</Dependency> But, though the packages are the latest on NuGet, the URIs and SHAs are correct, the dependencies exist in dotnet/core-setup, and they're coherency dependencies in dotnet/aspnetcore, the above command doesn't complain about these packages. Why❔ |
BTW those dependencies don't exist in either dotnet/extensions or dotnet/efcore. |
One thought: Is System.Net.Text.Json actually needed in dotnet/extensions and dotnet/efcore to satisfy dotnet/aspnetcore -- as long as it's in dotnet/core-setup❔ That is, are the only fixes needed where If that's the case, we might be done once https://dev.azure.com/dnceng/internal/_build/results?buildId=778882 (the build for dotnet/core-setup#9072) completes and the new versions flow to dotnet/aspnetcore. |
I tested Good news is that command found nothing else wrong. Since we don't plan to build dotnet/ef6 for realz any time soon, I'm not going to push these changes or trigger the disabled core-setup subscription. Or, @bricelam would you prefer I bring ef6 up-to-date❔ |
No need to update ef6 for now. |
And, … we're done. I've double-checked the 'release/3.1' branches in ASP.NET repos and see no strict coherency issues nor invalid URI / SHA combinations. Still a bit surprised we're done because intermediate repos don't seem to need dependencies specified in incoming repos i.e. it seems fine dotnet/extensions doesn't list all corefx dependencies dotnet/aspnetcore requires. |
It's because aspnetcore ties the corefx dependencies to Microsoft.NETCore.App.Runtime.win-x64, not extensions. So core-setup needs to list them all, but not extensions. Extensions only needs to list Microsoft.NETCore.App.Runtime.win-x64 |
Thanks for the confirmation @mmitche❕ As I mentioned earlier, I thought something like that was going on. |
Continue work started with https://github.com/dotnet/aspnetcore-internal/issues/3662#issuecomment-674301364
The command to double-check the URIs and SHAs in eng/Version.Details.xml is
Relevant PRs so far are:
Clean release/3.1 dependencies in our repos:
The text was updated successfully, but these errors were encountered: