this post was submitted on 21 Jan 2024
355 points (91.2% liked)

Programmer Humor

32380 readers
1402 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 9 months ago (2 children)

Had to refresh my memory, it's been a while. They didn't change branch on existing projects, but they did change it on new repos to main by default. Our tools indeed created repositories and configured everything for the developer automatically. However GitHub's policy meant that you had to either change the tools to detect whether they are working with old repo or new, or go to every new project after automatic configuration fails, configure default branch and then rerun the tool. Same thing then happened to few of our tools that were used for CI.

All in all they made more work for us for no reason other than be smug about it and it changed exactly nothing.

[–] [email protected] 2 points 9 months ago

So your tooling was at fault for assuming something that has always been declared a convention not a rule. It is like assuming we will never reach the year 2000 and there only storing the last to digits for the year...

[–] [email protected] 1 points 9 months ago

I think this is an excuse. Using the CLI you can easily create and specify the default branch. It's also not difficult to check the branch name.