[VOTE] Switch 'master' to 'main' branch for repositories

Imre Kaloz kaloz at dune.hu
Mon Feb 27 00:02:36 PST 2023


Hi all,

NAK from me. Politics loves to contaminate everything but it should have nothing to do with a firmware project.

It's a shame most people never read 1984.


Imre

________________________________________
From: openwrt-adm <openwrt-adm-bounces at lists.openwrt.org> on behalf of Felix Fietkau <nbd at nbd.name>
Sent: Monday, February 27, 2023 08:05
To: OpenWrt Project Administration
Subject: [VOTE] Switch 'master' to 'main' branch for repositories

Hi all,

More and more projects are switching their repositories to use the
'main' branch instead of the 'master' branch. This also includes many
Linux upstream trees as well. Some trees are even removing their
'master' branches already.

I think this is becoming more and more mainstream and expected of
projects, so we should do the same.

I would like to propose the following:

1. Change the git server side to automatically update the 'master'
branch, whenever an update is pushed to 'main'.
It's important to have a long transition period in order to avoid
breaking downstream users' workflows.

2. Change the git server side to refuse a push to 'master' if 'main'
exists. This avoid accidental branch divergence

3. Developers simply change their git configs to always push to 'main'

Once this change is well established, we can look into removing
'master', but we should definitely take our time with that.

- Felix

_______________________________________________
openwrt-adm mailing list
openwrt-adm at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-adm



More information about the openwrt-adm mailing list