Jump to content

Gitlab project configuration: Difference between revisions

From postmarketOS Wiki
m Protected "Gitlab project configuration": only admins should change our reference for configuring gitlab ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
update group mapping
 
Line 5: Line 5:
=== Group mapping ===
=== Group mapping ===


How the groups mentioned in [[team members]] map to gitlab groups:
How the [https://postmarketos.org/team/ team] maps to gitlab groups:


{| class="wikitable"  
{| class="wikitable"  
Line 12: Line 12:
! GitLab Group
! GitLab Group
|-
|-
| Core Team
| Core Contributors
| Maintainer (or Owner)
| Maintainer
|-
|-
| Trusted Contributor
| Trusted Contributors
| Developer
| Developer
|-
| Active Contributors
| Reporter
|}
|}



Latest revision as of 18:30, 6 October 2024

This is the reference for how we configure our gitlab projects.

GitLab configuration

Group mapping

How the team maps to gitlab groups:

postmarketOS GitLab Group
Core Contributors Maintainer
Trusted Contributors Developer
Active Contributors Reporter

Settings per repository

# Settings / General
## Merge Requests
Merge Method:
[x] Fast-forward merge

Merge options:
[ ] Automatically resolve merge request diff discussions when they become outdated
[x] Enable "Delete source branch" option by default

Squash commits when merging:
[x] Do not allow

Merge checks:
[ ] Pipelines must succeed
[x] All discussions must be resolved

## Merge request approvals
[ ] Remove all approvals when commits are added to the source branch.

# Settings / Repository
## Protected Branches
master:
	Allowed to merge:	Developers + Maintainers
	Allowed to push:	Developers + Maintainers
	Allowed to force push:	False
	Code owner approval:	False (we only use it for notification)

(stable branches):
	Allowed to merge:	Maintainers
	Allowed to push:	Maintainers
	Allowed to force push:	False
	Code owner approval:	False

## Protected tags
*:
	Allowed to create:	Maintainers