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 repository default branch to "main" #343

Closed
markavitale opened this issue Dec 15, 2020 · 4 comments
Closed

Rename repository default branch to "main" #343

markavitale opened this issue Dec 15, 2020 · 4 comments
Assignees

Comments

@markavitale
Copy link
Contributor

Describe the work to be done

Microsoft is gradually moving to have its repositories use "main" as the default branch. Fluent UI Apple is no exception here and this issue tracks the work to migrate over to "main".

Migration
  • Update all the CI/CD/pipelines to operate on both "master" and "main" branches
  • Create a new "main" branch based off of the current default branch's latest commit
  • Reassign any protected branch settings to the new "main" default branch from the former
  • Update any open pull requests against the current default branch for the new "main" branch
  • Update the default branch to the new "main" branch
Cleanup
  • Delete the current default branch
  • Update all the CI/CD/pipelines to remove the references to "master"
  • Update all links/documentation to point to the main branch instead of the master branch
  • Update the links on https://developer.microsoft.com/en-us/fluentui#/controls/ios to point to the main branch instead of the master branch.

Potential Impact

Any consumers of this library simply specifying "master" for Carthage consumption may* run into trouble. Instead, we recommend using a tagged commit for better stability.

* I suspect that because GitHub now redirects links to deleted branches to the default branch automatically, things may still work.

Additional context/screenshots

See https://github.com/github/renaming for more context.

@markavitale markavitale self-assigned this Dec 15, 2020
@Saadnajmi
Copy link
Contributor

Also worth updating the internal documentation we have for the macOS controls in the repo

@markavitale
Copy link
Contributor Author

Yep, that’ll happen in the “Update all links/documentation to point to the main branch instead of the master branch” cleanup phase.

@markavitale
Copy link
Contributor Author

The last remaining bit of this work to update the public website is in review at microsoft/fluentui#16978

@markavitale
Copy link
Contributor Author

The website update is merged and now being cherry picked to the v7 (currently live) website. microsoft/fluentui#16987. Going ahead and closing this issue as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants