Skip to content
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

Rename main branch to version4 and create a new main based on the 3.7.1 tag #56

Closed
CharliePoole opened this issue May 31, 2024 · 5 comments
Assignees
Labels
Milestone

Comments

@CharliePoole
Copy link
Collaborator

CharliePoole commented May 31, 2024

As discussed in #55.

This is a significant change with respect to those working on the extension, but has no impact on users. Fortunately (?) the number of folks working on the code is quite small.

I'll do this as follows...

1. Rename main in the GitHub Ide
2. Update the remotes on my own machine, sync with the new version4 and build
3. Create a new local main branch based on tag 3.7.1 and build that.
4. Push the new main

This ought to be recoverable at each step. The old main will disappear for a very short time.

UPDATED below.

@CharliePoole
Copy link
Collaborator Author

CharliePoole commented May 31, 2024

@OsirisTerje Although we discussed my doing this, it turns out that GitHub won't let me change the default branch or rename it. So my new plan is to do what I'm able to do and leave the rest till you're back from your trip...

  1. Create a local version3 branch based on tag 3.7.1. Cherry-pick changes from NUnit project loader requires nunit.engine.api to be present but nuget package does not provide it #55 needed to make it build. [DONE]
  2. Push that branch to GitHub and let it build [DONE]
  3. Modify the branch so that version3 acts like main, creating a myget release and push that change.
  4. Do a PR on NUnit project loader requires nunit.engine.api to be present but nuget package does not provide it #55 and merge that into version3.

That will leave us with a version3 branch for new release and a main for v4 development, just as we now have for the console/engine repository. We can figure out how and when to make the name changes when you are available.

The above may even be better as it should allow you to change names right in the IDE without any significant time period where there's no main.

Since we know that the other extensions will need separate v3 branches, I'll do the same for them as I get time.

@CharliePoole
Copy link
Collaborator Author

@OsirisTerje Stuck again! I previously removed my authorizations from the NUnit MyGet feeds. I have other things I'm working on so we can wait till you are free. Or you could try retriggering a build of my last commit on AppVeyor under your own ID.

@OsirisTerje
Copy link
Member

@CharliePoole There already is a version3 branch on the remote. Do you want me to rename main to version4 and then version3 to main ? No cherry picks (not sure what that should be btw).

@CharliePoole
Copy link
Collaborator Author

@OsirisTerje Yes please! it's the 3.7.1 tag plus a few commits to make it build again. GitVersion.yml will need to be changed so that main + version4 go to Myget rather than main + version3. I can do that as part of my first merge.

@OsirisTerje
Copy link
Member

OsirisTerje commented Jun 6, 2024

@CharliePoole Done!

@CharliePoole CharliePoole self-assigned this Jun 8, 2024
@CharliePoole CharliePoole added this to the 3.8 milestone Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants