this post was submitted on 21 Jul 2023
169 points (94.2% liked)

Programmer Humor

32503 readers
462 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (1 children)

I didn't know that GitLab doesn't allow that! We use BitBucket and there it's extremely easy to put branch restrictions so that only certain Usergroups are allowed to merge into the release-branches

[–] [email protected] 4 points 1 year ago (1 children)

Bitbucket also doesn't enforce these rules properly. You can simply change the rules, merge, then change back.

The only way around that is to restrict every developer account into oblivion and only have an ops guy as repo admin, but I think most ops teams have better things to do.

[–] [email protected] 4 points 1 year ago (2 children)

Why should a developer be a Repo admin? Thats DevOps territory

[–] [email protected] 4 points 1 year ago

That very much depends on your workflow and team setup. Repo admin for me means "can alter who and how branches can be merged". That's usually a job for lead devs.

[–] [email protected] 1 points 1 year ago

Aah, DevOps as a separate role... Now that's a dream I can get behind...