Changes to Moodle LMS Default Branch Name - Transition from "master" to "main"

Changes to Moodle LMS Default Branch Name - Transition from "master" to "main"

by Matt Porritt -
Number of replies: 3
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers

Hi Everyone,

We are excited to announce an important update regarding the Moodle LMS code repository. To be more inclusive in our language and practices, and in alignment with broader industry efforts, we will be renaming our default branch used in our Git repositories for Moodle LMS from "master" to "main".

The transition will be carried out in a phased manner to ensure a smooth changeover both internally and for our valued external contributors and partners. Below is an quick overview of the planned transition steps:

  1. For the last couple of weeks the Integration Git repository has had a “main” branch created and an automated job to keep it in sync with the original “master” branch.

  2. The integration cycle that began this week (13th November), the team has started integrating on the “main” branch and the automated job will be switched to keep the original “master” branch in sync.  

To be clear these first two steps will only affect the Integration repository and not the Moodle LMS repository. After this:

  1. Once the integration change has been completed for several cycles and the team are happy with that progress, the “main” branch will be made available on the Moodle LMS repository

  2. The “main” and “master” branches for Moodle LMS will be kept in sync, for a period of time. Meaning you can switch to the new “main” branch or continue using the existing “master” branch.

  3. There will be future communications put out by the team to assist with switching branches in your development environments (Github Actions, Git config etc.)

  4. After sufficient time for everyone to update to the new branch (exact date TBD), the “master” branch will be removed from the applicable git repositories.

 We understand the impact this change may have on your workflows, especially for those with automation built around our repository. Rest assured, we are committed to providing ample time and support to ensure a smooth transition.

The related Tracker issue for this change is MDLSITE-7418

Thank you for your continued support and collaboration as we work towards fostering an inclusive and welcoming environment for everyone in our community.

 

Kind regards,
Matt Porritt
Platform Manager, LMS

Average of ratings: Useful (7)
In reply to Matt Porritt

Re: Changes to Moodle LMS Default Branch Name - Transition from "master" to "main"

by Matt Porritt -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers
Hi Everyone,
The removal of the "master" branch from upstream repositories will happen on August 12th 2024. After this date on the "main" branch will be available. The "main" branch has been running in parallel for some time and the dependencies (such as CI) have been using it. More information on the actions taken can be found on the tracker for this work.

Please, everybody, review your integrations and development environments and verify that all of them are now using the "main" branch. The Moodle Developer documentation also has information on how to update things with git.
 
Kind Regards,
Matt Porritt
 
 
In reply to Matt Porritt

Re: Changes to Moodle LMS Default Branch Name - Transition from "master" to "main"

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Is this because the term "master" was used in the during slavery? But a) that term is much older, going back to Latin according to https://en.wiktionary.org/wiki/master#Etymology_1. b) You might success is banning the word, but the roles master and slave do exist after slavery is banned, and are going to be there for a very long time. I alternate between a first world country and a third world country and know who the masters are. They typically have the money, the know how, .. put in one world, the  _power_. The very fact the masters choose not to call themselves masters, shows who the masters are! This whole word game is a deception!
In reply to Visvanath Ratnaweera

Re: Changes to Moodle LMS Default Branch Name - Transition from "master" to "main"

by Ken Task -
Picture of Particularly helpful Moodlers

@Mr. V ...

master to main
https://github.com/github/renaming
Does say 'seems to be most popular' but doesn't go into details as to how
main became popular.   Even if one tried to find out, survey of thousands and thousands of folks would render what? (question for thought ... not response)

Classic example: Joomla ... 1.5.x series - which started as a .0. 
They announced a 2.5 as new branch and folks asked how come not a 2.0.
Answer: no one likes a .0 ... it suggest bugs - where as a 2.5 doesn't
(even though there were bugs).

Then there is the term 'bug' ... 
A bug is an unexpected problem with software or hardware.
Hey, am offended by that because I like true bugs! smile [not really!]

What term do we see in Moodle?   Digression I think.

https://programming-digressions.com/
Programming Digressions
Essays at the intersection of culture, software, technology, and engineering.
That's pretty DEEP!

In other worlds of apps ...
MySQL .. uses source and replica
https://dev.mysql.com/doc/refman/8.4/en/replication.html

Am reminded of Microsoft and their choice of names for apps.
'Windows Updating Service' - acronym: WUS.
Boy, did folks have fun with that until Micosoft changed it!

Does everything have a hidden meaning these days?
Uhhh ... that's a question for thought ... not response! smile

I, for one, don't really spend a lot of time contemplating my belly button! smile

Find it much easier to just 'go with the flow' when it comes to things like this!

Now if this were freedom vs whatever, different story there.

Anyhoo ... my 2 'sense' ... nope ... spelled it correctly!

'Spirit of Sharing', Ken

Average of ratings: Useful (1)