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

Changed default branch to main for new projects #101

Closed
wants to merge 1 commit into from

Conversation

RCC-CCN
Copy link

@RCC-CCN RCC-CCN commented Dec 15, 2023

Changed the default branch of the initialized repository from "master" to "main" to adhere to github default behavior.

@friendlyanon
Copy link
Owner

Sorry, not interested in this nonsense peddled by Microsoft. This is also covered by the non-goals of the project.

For personal use, it's trivial to create a .pyz from the project with such changes.

@RCC-CCN
Copy link
Author

RCC-CCN commented Dec 15, 2023

While I understand this change might not be wanted or needed and that changing the behaviour is trivial, in the non-goals (at least as I understood it) is specified that file generation for Github given it's popularity is part of the goals.
Github has for some time used main as default name for it's starting branch and this change might have reflected that.

If the section of the non-goals is limited to .github files then it's understandable.

@friendlyanon
Copy link
Owner

The generated projects' connection to GitHub is limited to the .github directory, because that's where CI files go on GitHub and CI is an essential part of projects. Even if they go unused, because the user wishes to use a different vendor, they are easy to remove and show how to setup CI for a CMake managed project.

The readme also highlights that "cmake-init is an opinionated CMake project initializer" and I don't agree with Microsoft.

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

Successfully merging this pull request may close these issues.

None yet

2 participants