Document what per-branch' "Protected file patterns" actually means #479

Open
opened 2024-10-17 21:17:34 +02:00 by fogti · 1 comment

Settings > Branches > (on a branch (pattern)) [Edit] > Protected file patterns does apparently block all interaction with a file / directory tree, but it is not obvious how this should be used.
In general / practical application, for many scenarios, it would be beneficial to have something like CODEOWNERS (apparently supported by forgejo (see also: gitea.nulo.in/Nulo/forgejo@605f3a21a4), although I couldn't find out, what the overall consequences are / wasn't able to find any documentation); and restrict merging privileges to those (optionally?).

cc @mikolaj

`Settings > Branches > (on a branch (pattern)) [Edit] > Protected file patterns` does apparently block all interaction with a file / directory tree, but it is not obvious how this should be used. In general / practical application, for many scenarios, it would be beneficial to have something like `CODEOWNERS` (apparently supported by forgejo (see also: https://gitea.nulo.in/Nulo/forgejo/commit/605f3a21a433f72f7994915aebc02eb205843693), although I couldn't find out, what the overall consequences are / wasn't able to find any documentation); and restrict merging privileges to those (optionally?). cc @mikolaj

I've also commented about this on Forgejo's bug tracker.

I've also [commented](https://codeberg.org/forgejo/forgejo/issues/2457#issuecomment-2352665) about this on Forgejo's bug tracker.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation#479
No description provided.