Subject: Re: bug#76503: [GCD] Migrating repositories, issues, and patches to Codeberg

From: Ludovic Courtès <[email-masked]>
Date: Wed, 19 Mar 2025 22:53:06 +0100

Hello,

Ricardo Wurmus <[email-masked]> skribis:

> Ludovic Courtès <[email-masked]> writes:
>
>>>     c) A discussion allowing write-access for dedicated
>>> branches.
>>
>> Opening a PR gives access to a dedicated branch; I suppose that
>> would be
>> the main approach, available to everyone.
>>
>> Getting a dedicated branch on the guix/guix repo wouldn’t be
>> different
>> from now, where committers can create branches on their own.
>>
>> What would you add on this topic in the document?
>
> Can we as "owners" of the repository grant individuals write access to
> a dedicated branch that was opened by a pull request? This would allow
> a team to grant a collaborator write access to pushing to their team
> branch.

When adding a “collaborator”, we give them read or write access to the
repo.

But then, the branch protection rules let you restrict push to only
specific users and/or teams.

So we could arrange so that only members of a specific team can push to
‘master’, for instance.

Though I’m not sure we have to come up with something more sophisticated
than we currently have, at least not from Day 1.

Ludo’.