dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.27k stars 5.9k forks source link

Address upgrade friction during product releases #27013

Open BillWagner opened 2 years ago

BillWagner commented 2 years ago

I went through our dependabot PRs this morning after releasing .NET 6. The .NET 6 product, and the various NuGet packages have all been upgraded. In this repo, and our other related repos, the upgrade actions created a number of friction points. I'm capturing those here. We have a year to consider how to address them:

I can think of a few ways to address these ideas.

IEvangelist commented 2 years ago

.NET version sweeper

I did some initial work on having the version sweeper create PRs, much like dependabot. I agree that could be really valuable, and it should be revisited.

In addition to the EOL-based approach, it would be cool to allow the sweeper tool to automate an issue that tracks the next major release.

Might also be cool to support manual runs that accept input for these sorts of things.

Dependabot

I think that we should auto-approve/merge dependabot PRs when all checks pass. I certainly agree with the proposals and related issues that you've linked above.

tdykstra commented 2 years ago

Dependabot doesn't update the TFM

Considering the number of breaking changes, and sometimes changes in recommended coding patterns, from one major version to the next, is it safe to automate upgrading the TFM?