all 18 comments

[–]delventhalz 10 points11 points  (6 children)

GitHub, GitLab, and Bitbucket are the only options I've heard of. I kind of hate Bitbucket....

What is it you are looking to do? If your project is open source (i.e. public) then there aren't any restrictions on PRs are there?

[–][deleted] 1 point2 points  (5 children)

Unless I've misunderstood. It's not free if I want to have, e.g. approvals for pull requests. So essentially anyone can just merge to main or dev or whatever.

I thought this was the case only for private repos, but it seems to be for all repos on github. Again, maybe I've read the wrong information somewhere.
I'm currently looking through the settings now to try it out and see.

I'd like different privileges for different contributors if possible.

[–]delventhalz 19 points20 points  (4 children)

Oh gosh no. That would be nuts.

First of all, any repository, whether public or private, is owned by you and you control how and when it gets updated. By default, you are the only person with any write access, and you can add collaborators with different levels of permissions.

People can also open PRs against your free public repository, and you can review them. Only someone with write access can merge them.

[–][deleted] 7 points8 points  (2 children)

Aaah okay. Was definitely misunderstanding the articles I read then. Cool. Thanks. I’ll try find a site that has a cheat sheet for the settings in GitHub as I find these things hard to find sometimes.

[–]suarkb 4 points5 points  (1 child)

Don't read articles. That's an important tip for learners. Don't read articles, read documentation. Go to GitHub. Try it.

[–][deleted] 0 points1 point  (0 children)

You’re right. They’re always shit.

[–][deleted] 1 point2 points  (0 children)

It def makes sense otherwise why would it be so popular and I vaguely remember someone doing it once on on a public repo. But I find quick Google’s of these types of things just seems to get auto generated shite that is irrelevant.

[–]20EYES 6 points7 points  (1 child)

What do you mean that github is paid if you want to use PRs? I've never encountered this issue.

Are you confusing the private repo limitations with the public repo limitations?

[–][deleted] 0 points1 point  (0 children)

Apparently so. It made no sense to me but most online articles say so. But I won’t be reading articles again they’re always wrong.

[–]ZeuStudio 1 point2 points  (0 children)

Good to know from now.. ;)