Rename all default branches to main across the fCC organization
See original GitHub issueThis issue is to keep track of switching all our repo’s to use main
as the default branch - unless there’s maybe a special case or something. The list below is all our non archived repos - perhaps a few of them could be archived. This issue replaces/should take care of https://github.com/freeCodeCamp/freeCodeCamp/issues/39098 and https://github.com/freeCodeCamp/freeCodeCamp/issues/38987
Many of the boilerplates use gomix
as the default branch, we can rename those to main
as well. There shouldn’t be any problems with links on challenges that use them - replit clones the default branch, so the links should still work without modification.
References fixed means that any references to master
or slave
in documentation, readme’s, or other files are removed or changed to main
or primary
and replica
if possible - or changed to whatever is appropriate for the context. Some other terms we could change while looking over the repos include whitelist
and blacklist
- These can be replaced with allowlist
and blocklist
. I think that if a quick search of these terms in a repo yields nothing, the code is probably fine - but feel free to leave a message if find something you think you be brought up.
Feel free to add a checkmark next to any repo if you’ve looked it over and the issue is fixed - or leave some notes or make a PR if there’s problems.
Details
Repo | Branch Renamed | References Fixed | Notes |
---|---|---|---|
freeCodeCamp | ✔️ | ||
boilerplate-project-timestamp | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-sudoku-solver | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-secure-real-time-multiplayer-game | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-metricimpconverter | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-messageboard | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-library | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-issuetracker | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-headerparser | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-filemetadata | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-exercisetracker | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-american-british-english-translator | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-mongomongoose | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-mochachai | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-mean-variance-standard-deviation-calculator | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-infosec | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-express | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-bcrypt | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-advancednode | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-stockchecker | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-project-urlshortener | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-npm | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-budget-app | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-sea-level-predictor | ✔️ | ✔️ | Reviewed by @moT01 |
boilerplate-probability-calculator | ✔️ | ||
boilerplate-medical-data-visualizer | ✔️ | ||
boilerplate-polygon-area-calculator | ✔️ | ||
boilerplate-arithmetic-formatter | ✔️ | ||
boilerplate-neural-network-sms-text-classifier | ✔️ | ||
boilerplate-linear-regression-health-costs-calculator | ✔️ | ||
boilerplate-cat-and-dog-image-classifier | ✔️ | ||
boilerplate-time-calculator | ✔️ | ||
boilerplate-demographic-data-analyzer | ✔️ | ||
boilerplate-page-view-time-series-visualizer | ✔️ | ||
boilerplate-book-recommendation-engine | ✔️ | ||
boilerplate-SHA-1-password-cracker | ✔️ | ||
boilerplate-port-scanner | ✔️ | ||
boilerplate-rock-paper-scissors | ✔️ | ||
demo-projects-nginx-config | |||
demo-projects | |||
ghost-config | |||
news-translation | |||
news-theme | |||
infra | ✔️ | ||
devdocs | ✔️ | ||
crowdin-config | |||
coderadio-client | ✔️ | ||
nginx-config | |||
how-to-contribute-to-open-source | |||
error-pages | |||
cdn | ✔️ | ||
scripts | ✔️ | ||
forum-theme | |||
chat-config | |||
design-style-guide | |||
CurriculumExpansion | |||
chapter | |||
testable-projects-fcc | |||
100DaysOfCode-twitter-bot | |||
template | |||
auth0-templates | |||
freeCatPhotoApp | |||
forum-users-nav | |||
fcc-express-bground-pkg | |||
forum-banner | |||
react-calendar-heatmap | |||
videos-translation | |||
netlify-redirects | |||
client-config | |||
FreeCodeCampTriviaQuiz | |||
youtube-tutorials | |||
loopback-component-passport | |||
ProjectReferenceData | |||
eslint-config-freecodecamp | |||
open-data | |||
react-bootstrap | |||
react-notification | |||
sendgrid-email-blast | ✔️ | ||
store.js | |||
cz-freecodecamp |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:8 (8 by maintainers)
@raisedadead for https://github.com/freecodecamp/client-config I believe this can be changed unless you’re doing something fancy in the new devops approach. Right now we just clone the repo when needed.
demo-projects ✅