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

[core] Update branch switch tags #45198

Merged
merged 9 commits into from
Feb 4, 2025

Conversation

DiegoAndai
Copy link
Member

@DiegoAndai DiegoAndai commented Feb 3, 2025

Following up on #45132 (comment):

We're using #default-branch-switch to mark where changes are required, but with the new protocol, some of these changes happen on master branch and others on v*.x branch, so the comment becomes confusing. There are 4 types of changes that are encompassed under this tag:

  • Changes to the npm version tag (latest -> next) in master (e.g., #45132)
  • Changes to the host (mui.com -> next.mui.com) in master (e.g., #45132)
  • Changes to repository links (https://github.com/mui/material-ui/tree/master -> github.com/mui/material-ui/tree/v*.x) in v*.x (e.g., #45133)
  • Changes to target branches for CI checks/builds (master -> v*.x) in v*.x (e.g., #45133)

This PR splits these into 4 different tags:

  • #npm-tag-reference
  • #host-reference
  • #repo-reference
  • #target-branch-reference

By splitting them, it will be easier to follow the branch split protocol and understand what each one refers to.

I used reference instead of switch as I think it's more descriptive and reads better: "Here's is a reference of the npm tag/host/repo/target branch"

@DiegoAndai DiegoAndai added the core Infrastructure work going on behind the scenes label Feb 3, 2025
@DiegoAndai DiegoAndai self-assigned this Feb 3, 2025
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Any pointers on how to properly test or ensure it's working properly?

@DiegoAndai
Copy link
Member Author

@aarongarciah these pointers are for us to manually go through on a major version branch split and major stable releases, so I don't know if there's something we could test 😅

This is what I followed on the latest v6/v7 branch split, so maybe that's our test that this will work in the future as well?

@aarongarciah
Copy link
Member

@DiegoAndai ah! Got it. I thought we had some kind of automation with some of this stuff. ✅

@DiegoAndai DiegoAndai merged commit 58d9d9b into mui:master Feb 4, 2025
22 checks passed
@DiegoAndai DiegoAndai deleted the update-branch-switch-tags branch February 4, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants