GitHub discusses giving maintainers control to disable PRs

github.com

105 points by aofeisheng 9 hours ago


tlhunter - 8 hours ago

About time. It's absolutely ridiculous that this hasn't existed for the past 10 years.

jscyc - 6 hours ago

I can imagine a few maintainers might appreciate that ability (https://github.com/expressjs/express/pulls?q=is%3Apr%20is%3A...).

etoxin - 5 hours ago

I think we should still allow open contribution to OSS.

Maybe, a "Contributor Requests".

It would be a gate for new contributors. For maintainers, they would see what they have contributed to and see their new PR. It would show "open contributor requests"

Once approved, The PR will then appear under PRs.

And obviously this is opt in.

everfrustrated - 3 hours ago

I'd like to see the ability for projects to require a payment before allowing an Issue to be opened.

Open source doesn't mean labor should be free. Would be a great way to support maintainers etc spending time investigating bug reports etc.

aaronbrethorst - 6 hours ago

I've started aggressively blocking low-quality contributions that have that AI-generated je ne sais quoi.

deckar01 - 5 hours ago

I have always been an advocate of forking, despite the overhead of maintaining patches, but porting patches should be trivial to automate now. There needs to be an easy way to publish, discover, and require community patches even if they don’t have the maintainer’s blessing.

csmantle - 6 hours ago

It's a founded move. GitHub is code hosting platform, so there are both grounds and needs for read-only repos without PRs.

FeistySkink - 4 hours ago

An another thing I hope is added is some kind of internal karma system. E.g. if a user is spamming multiple PR to multiple repos, or is otherwise being disruptive and reported, their contributions should be flagged for review, or optionally not accepted at all.

zekenie - 6 hours ago

They need to talk about how the pr itself should change. The text diff just is not the right thing to center. We should be using ai to chunk changes into reviewable bytes and to align on semantics and contracts.

notepad0x90 - 4 hours ago

I hope someone can explain the sentiment on HN to me. I don't get it, why is this popular?

I want to know how many PRs a project is getting, but more than that how receptive the maintainers are. Issues don't tell the whole picture, because work gets backlogged, and you can't expect people doing this for free to have an SLA or something. but PRs.. the work is ideally at least mostly done.

There is the one project for example, very popular in the industry it's used in. There is a specific use-case that I run into repeatedly, that it fails at. The project has lots of open issues (understandably), and there are multiple PRs to address that, but the maintainers give no good reason for not accepting it. I've been using some random guy's branch (who isn't even keeping up with the latest releases and backporting) for many years now, waiting for the maintainers to either reject it or accept the PR. Lots of people upvote, comment, and beg.

I want to see how maintainers handle that. This is really bad. I'd prefer if they stopped reporting of issues instead of PRs. Issues is providing support, PRs let other people who fixed something or added a feature attempt to contribute.

You can't just "fork it", that means you have to be the maintainer now. And how will people even find your "fork" which may have fixed things? I'd like to be able to at least find open and unmerged forks with a fix in place I could apply, even if the maintainer never got around to it.

Turning PRs off is the software equivalent of hardware makers turning off support for aftermarket parts.

Honestly, if you don't like PRs, ignore them like many already do. Does it look bad when you do that? Yes. As it should! Don't hide away from your preferences, own it. Let other people get access to fixes you either have no time to get to, or unwilling to implement.

Just the discussions alone on security related issues (or PRs as in this case) is telling sometimes.