-
Notifications
You must be signed in to change notification settings - Fork 759
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
Changes to make main branch become 8.1 #4695
Conversation
{ | ||
"taskType": "trigger", | ||
"capabilityId": "ReleaseAnnouncement", | ||
"subCapability": "ReleaseAnnouncement", | ||
"version": "1.0", | ||
"config": { | ||
"taskName": "Release announcement", | ||
"prReply": "The fix is included in ${pkgName} ${version}.", | ||
"issueReply": "Fixed in ${pkgName} ${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.
This should go, per #4688 #Resolved
"milestoneName": "9.0-preview1" | ||
"milestoneName": "8.0 RC1" |
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.
This is not correct; it should be "8.1". #Resolved
@@ -1,35 +0,0 @@ | |||
name: Backport PR to branch |
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.
Why is this removed? #Resolved
@@ -38,7 +38,6 @@ bld/ | |||
.vs/ | |||
.build/ | |||
.vscode | |||
!.vscode/settings.json |
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.
Why is this removed? #Resolved
@@ -45,8 +45,8 @@ Here are few commands that you will likely use the most: | |||
- `build.sh --restore`: to install the required .NET SDK, .NET tools and the toolset. This is equivalent to running `./restore.sh`. | |||
- `build.sh --build`: to build the solution<sup>1</sup>. | |||
- `build.sh --test`: to run all unit tests in the solution<sup>1</sup>. | |||
- `build.sh --vs <keywords>`: to generate a "filtered" solution and save it as `SDK.sln`. It also performs the "restore" operation. Keywords can be any part of the name or path of project files you want to include. For example: `./build.sh --vs Http,Fakes,AspNetCore`.<br /> |
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.
This line should be reverted #Resolved
@@ -92,7 +92,7 @@ static partial class Log | |||
new CallAnalyzer(), | |||
new LegacyLoggingFixer(), | |||
new[] { Assembly.GetAssembly(typeof(ILogger))!, Assembly.GetAssembly(typeof(LoggerMessageAttribute))! }, | |||
new[] { OriginalSource, OriginalTarget }); | |||
new[] { OriginalSource, OriginalTarget }).ConfigureAwait(false); |
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.
revert all of these #Resolved
Assert.Fail($"Unexpected warning {actual}"); | ||
Assert.True(false, $"Unexpected warning {actual}"); |
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.
revert #Resolved
Assert.Equal(1, result.Count); | ||
#pragma warning restore xUnit2013 // Do not use equality check to check for collection size. |
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.
revert all these
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.
If we are not using the new tooling though, I'm guessing these are not needed? Especially since they are just trying to silence an analyzer.
@@ -413,6 +413,6 @@ public static void Snapshot() | |||
|
|||
snap = collector.GetMeasurementSnapshot(true); | |||
Assert.Equal(3, snap.Count); | |||
Assert.Empty(collector.GetMeasurementSnapshot()); | |||
Assert.Equal(0, collector.GetMeasurementSnapshot().Count); |
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.
revert #Resolved
@@ -129,7 +129,6 @@ public static void CollectorContract() | |||
[Fact] | |||
public static void ReadOnlyListContract() | |||
{ | |||
#pragma warning disable xUnit2013 // Do not use equality check to check for collection size. |
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.
revert #Resolved
1a43360
to
da02898
Compare
Thanks for all of the great feedback @RussKie 😃. The intent of this PR is to have it exactly match the current contents of release/8.0 (except for branding changes as we don't want builds to clash) so I'll go ahead and merge this PR as is, and will submit a follow up PR addressing all of your comments where those could be better looked at and reviewed individually. I hope that's okay with you 😃. The main rush for merging this is so that a) we don't block progress for 8.1, and b) we don't get more conflicts due to new changes coming into main branch. #Resolved |
Created #4705 which addresses the feedback from this PR. |
@joperezr this doesn't look right to me:
The |
This PR is switching main to become the next 8.1 branch. Before this change, main branch used to be our 9.0 branch, but given this repo intends to ship monthly releases and wants those monthly releases the main target of development work, we decided to switch main branch to become 8.1, and to create a new
dev
branch which would become our 9.0 branch. In order to do all this, I followed this process:dev
branch from the tip of main, which will become our new 9.0 branch. Work that is 9.0-specific will go into this branch going forward. Here is a link to that branch: https://github.com/dotnet/extensions/tree/devmain
branch is the new 8.1 branch by having its contents completely match what we have in release/8.0 branch as we prepared for the release. This is the work included in this PR. To do this, I basically checked out main locally, deleted all of its contents and then did copy paste of all of the contents of a fresh clone of extensions release/8.0 branch. Doing so generated the changes (diff between main and release/8.0) included in this PR. Given we started of with step 1 above, it means that the diff generated on this PR is strictly changes that were done inmain
which were not in release/8.0 (either intentionally by making changes into main, or issues when resolving merge conflicts). The intention is to merge this PR as is, as this is the state we want for release/8.1. We can also use the diffs generated by this PR to fix bad merges that may have happened indev
branch.cc: @RussKie @Tratcher @sebastienros @geeknoid @martintmk @xakep139
Microsoft Reviewers: Open in CodeFlow