NuGet / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
https://www.nuget.org/
Apache License 2.0
1.52k stars 643 forks source link

[Feature]: Consider changing default NuGetGallery repo branch to `dev` #10013

Open joelverhagen opened 3 weeks ago

joelverhagen commented 3 weeks ago

Related Problem

User request: https://github.com/NuGet/NuGetGallery/pull/9987#issuecomment-2148612070

The Elevator Pitch

Currently the default branch of NuGet/NuGetGallery is main branch. We can consider changing the dev branch to be the default.

Pros:

Cons:

Additional Context and Details

No response

loic-sharma commented 2 weeks ago

A potential alternative:

  1. Rename main to stable
  2. Rename dev to main
  3. Make the new main (old dev) the default branch

This has the similar pros/cons as above, plus:

➕ I think this is what we'd do if we had a clean slate ➕ We'd get to keep the main default branch name ➖ It's more work as we need to update deployment scripts as well