https://redmine.documentfoundation.org/https://redmine.documentfoundation.org/favicon.ico?16960560022021-01-14T16:35:18ZThe Document Foundation RedmineInfrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=210922021-01-14T16:35:18ZGuilhem Moulinguilhem@libreoffice.org
<ul></ul><p>Michael Stahl wrote:</p>
<blockquote>
<p>+ IRC notify, tinderbox, .gitreview, documentation (wiki e.g.) (Sophie)</p>
</blockquote>
<p>Also {OpenGrok (I don't have a comprehensive list existing clones/replicates offhand)</p>
<blockquote>
<p>+ dashboard data may be tricky (Cloph)</p>
</blockquote>
<p>Dashboard data is not authoritative so not a big deal. The grimoire tooling has no support for branch renaming AFAICT, and rather than resorting to ES surgery in the raw & enriched indices it's it's simpler to just nuke {git,gerrit}_{raw,enriched} and re-import from scratch. We have a local patch to only consider changesets and commits to master though, so we'll need to update that to the new name.</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=210932021-01-14T16:40:47ZGuilhem Moulinguilhem@libreoffice.org
<ul></ul><p>Michael Stahl wrote:</p>
<blockquote>
<p>but hopefully the effort required should be rather small</p>
</blockquote>
<p>Indeed, the difficulty is more to get to a consistent state in an atomic fashion, at least of the critical pieces of the pipeline</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=212762021-02-09T20:38:04ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Due date</strong> set to <i>2021-03-31</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> set to <i>Q1/2021</i></li></ul> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=213752021-02-24T18:54:16ZDavid Ostrovskyd.ostrovsky@gmx.de
<ul></ul><p>FWIW: JGit project added native support for this feature: [1],<br />so hopefully gerrit would also add support for this in<br />future releases.</p>
<p>[1] <a class="external" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=564794">https://bugs.eclipse.org/bugs/show_bug.cgi?id=564794</a></p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=214872021-03-17T10:42:33ZChristian Lohmaiercloph@documentfoundation.org
<ul></ul><p>Current plan is to do the switchover on April 1st</p>
What will be done?
<ul>
<li>git branch rename from master → main for LibreOffice-repos only (core, dictionaries, help, translations)<br />more specifically creation of a new main branch main from master and setting the default branch for those repositories to the new name)
<ul>
<li>pushes (submitting to actual branch) to the master branch will be prohibited by the ACL (permissions)</li>
<li>final commit on master branch will be a change to .gitreview to use the new name as default and to logerrit using main as target branch if the current local branch is master</li>
<li>it will be a hard cut, main will continue where master stopped, master won't receive any more commits</li>
<li>open changes for master branch will be moved to the new branch using gerrit's "move change" feature (that keeps the current parent, so it is not a rebase)</li>
<li>pushing to refs/for/master (i.e. creating new changesets) will be allowed for a transition period, but jenkins will immediately ask to move the change to the new branch (not done automatically, to make people also change their local branch configuration/upstream settings) </li>
</ul>
</li>
<li>adjusting of jenkins' gerrit-trigger and tinderboxes to use the new branch name</li>
<li>adjusting of the bugzilla-status-notification ("fixed in version x") bot to use the new branch name</li>
</ul>
What won't be done at that stage:
<ul>
<li>update of all the documentation/wiki pages mentioning master (that's a community effort, no deadline, if you stumble upon mentions of master poke #infra or change in wiki yourself :-))</li>
<li>renaming of auxiliary repositories (like the intermediate repository used for weblate). Projects will be renamed, but weblate itself will still use "master" branch in the underlying repo, any change there will be postponed until 7.2 projects will be created)</li>
<li>dashboard will not have any custom migration, instead repository data will be rebuilt/reimported from scratch</li>
</ul> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=215562021-03-28T00:41:29ZJohnny M
<ul></ul><p>+1 to Lubos @ <a class="external" href="https://lists.freedesktop.org/archives/libreoffice/2021-March/087063.html">https://lists.freedesktop.org/archives/libreoffice/2021-March/087063.html</a></p>
<p>The renaming seems to be following the current political fashion in a country and has nothing to do with this project.</p>
<p>I wouldn't proceed until, e.g., the Master's degrees at all universities have their names changed either - and there are many more uses of the word. Otherwise, if someone hijacks the words "free/libre" for their ideological reasons, LibreOffice would have to be renamed to "HomeOffice", too, I guess. (Or does anyone want to claim that the people working on other office software are enslaved and not working on them out of their free/libre will?)</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=215632021-03-31T07:26:30ZJohnny M
<ul></ul><p>P.S.: By the way, "master" and "slave" when used in the same context are also valid terms, describing a relationships between two entities. I'm all against such a relationships between humans. But even if someone feels that that relationship exists and should be eliminated from the technology world, then they should not rename their "master/slave" microcontrollers, etc., but re-architecture their systems to "free" the "slaves". And let them freely decide what they spend their time on and choose their leaders. Otherwise it's just a name change, without real impact... Just to show how absurd the whole thing sounds. :)</p>
<p>And I even fail to see a "master-slave" context in Git. Rather "master" in the sense of "skilled person", while other branches are for not necessarily skilled tries.</p>
<p>Can we expect further future name changes, to include some minorities, e.g., maybe on a certain percent quote?</p>
<p>In my opinion, the community time can be better spent than the suggested updates. The "switchover" date is fitting, though. :)</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=215802021-04-07T09:47:17ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Due date</strong> changed from <i>2021-03-31</i> to <i>2021-06-30</i></li><li><strong>Target version</strong> changed from <i>Q1/2021</i> to <i>Q2/2021</i></li></ul><p>decision was postponed - revisit in three months or when git itself changes default (whatever comes first)</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=216112021-04-21T09:35:40ZAdolfo Jayme Barrientosfito@libreoffice.org
<ul></ul><p>Full support from me for this rename.</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=218782021-07-19T09:46:49ZFlorian Effenbergerfloeff@documentfoundation.org
<ul><li><strong>Due date</strong> deleted (<del><i>2021-06-30</i></del>)</li><li><strong>Target version</strong> changed from <i>Q2/2021</i> to <i>Qlater</i></li></ul> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=221562021-11-15T18:25:35ZAdolfo Jayme Barrientosfito@libreoffice.org
<ul></ul><p>BTW, I propose the master branch be named “trunk”, like in Bazaar VCS. The metaphor is coherent with the “branches”.</p> Infrastructure - Task #3442: rename "master" branch in core.git to new git defaulthttps://redmine.documentfoundation.org/issues/3442?journal_id=231102023-04-25T09:31:43ZChristian Lohmaiercloph@documentfoundation.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>setting state to feedback to indicate that there is no need for action currently/the decision on that is pending (and unsure when that'll be back on the table)</p>