This is a proposal to lock down new branch creation in the ASOS repos by using a
* regex for proteced branches and force everyone to fork the repo and send merge requests.
We could then only have the following branches in each git repo:
asos-developor something more suitable: the ongoing development branch used in unpinned manifests
releases/v*.x: stable release branches used in pinned release manifests
Things to clarify:
- I believe that CI can run on forks, so this shouldn’t impact developer workflow, but it would be good to clarify.
- Does gitlab provides a single place to enforce these settings for all new git trees? Otherwise, this will need to be be added to a checklist somewhere.
Currently, I see lots of stray branches. e.g. this is in
m/develop -> ohos/develop ohos/blueprint-peripherals ohos/dev/stm32mp-screen ohos/develop ohos/doc_issue ohos/doc_issue76 ohos/doc_issue77 ohos/enable-security-layer-by-default ohos/experiments/clanggeneric ohos/feature/add-security-audit ohos/feature/dco ohos/feature/dhcp ohos/feature/fs-tests ohos/fix/acts-dac-test-suite ohos/fix/blueprint-led-mac ohos/fix/meta-av96-layers ohos/ohos/feature/add-meta-security ohos/rasberrypi ohos/raspberrypi-docs ohos/sserewa/docs ohos/stable ohos/stefan/otbr-integration ohos/stefan/systemd ohos/wz/fix-reuse
This is in
m/develop -> ohos/ostc/master ohos/dunfell ohos/gatesgarth ohos/hardknott ohos/master ohos/morty ohos/ostc/master ohos/ostc/master-next ohos/ostc/ostc/master-old ohos/stefan/openthread-sample-2.6 ohos/wz/2.6.0 ohos/zb/backport