▲ | aDyslecticCrow 2 days ago | ||||||||||||||||||||||||||||
> we recently tried to nudge this behavior by requiring an issue for every PR I've not maintained or worked much with open source. But i would have assumed this was already common? It reflects how (from my experience) companies work internally with code. Discussion about a feature or a bug is done before writing any code (over lunch, or in a issue thread). We don't want to pay someone to write a feature we don't agree we need, or that collides with future maintenance. Even before AI, i'd argue the vast majority of code is cheap and simple. But that is what makes it more important than ever to decide what code should exist before someone (well paid) wastes a day or week writing it. | |||||||||||||||||||||||||||||
▲ | Aurornis 2 days ago | parent | next [-] | ||||||||||||||||||||||||||||
Requiring an issue per PR makes sense for significant bugs and features, but taken to the extreme it feels arbitrary and pedantic. I occasionally submit documentation fixes when I find broken docs (outdated commands in the docs, incorrect docs). I’ve had these rejected before because someone insisted I create an issue and have it go through some process first just to submit an obvious 1 line fix. At the extremes it clouds the issue backlog. You try searching for something and find pages and pages of arbitrary issues that didn’t need to exist other than for someone to get past the gatekeeper. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | serial_dev 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
This was / is not my experience. I worked mainly on frontend code, web and mobile app. As a developer, I got the task, an “order” that something needs to be added. Best case scenario, my product owner / manager came up with it, because they talk to customers and noticed it would be helpful. Worse case scenario, someone else above them told them to do it because “we need it”, and I just hope the product person on my team properly vetted the request. Worst case scenario, the “order” came down to our team, and the managers push to the individual contributors and there is no room for discussion at this point anymore and an arbitrary (made up) deadline that is somehow always unrealistic. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | criemen 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> Even before AI, i'd argue the vast majority of code is cheap and simple. But that is what makes it more important than ever to decide what code should exist before someone wastes a day or week writing it. This 1000%. In my opinion, the biggest part of my job is figuring out what should be built at all, not building what we all eventually agree should be built - that's often pretty easy, AI or no AI. | |||||||||||||||||||||||||||||
▲ | gus_massa 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I made a lot of PR for Chez Scheme (and indirectly Racket). For me it's easier to write the code, perhaps because I'm not an English native speaker, but my Spanish is bad too. Most of my PR are like 30-50 LOC (including comments and tests), with a few very related features, and I have probably a 90-95% merge rate. Sometimes writing the explanation takes a long time. Many times while writing the code I get a lot of small surprises and unexpected corner cases. So most of the time a previous discussion would be too generic to be useful for me and inteligible for the maintainers. Anyway, my idea is to take only a few hours (4?), perhaps distributed in a few slow days. So if it's not merged it's not a big deal, not hard feelings. Also a short feature is easier to review and modify if necessary. | |||||||||||||||||||||||||||||
▲ | IshKebab 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I have worked at a company that required an issue for every PR. It was dumb though. It just meant you made the PR, got shouted at by some checker for not having an issue, create an issue, copy & paste the PR title into the issue, submit the PR, and then the issue gets closer again. Totally pointless. > Discussion about a feature or bug is done before writing any code. Not always. Not all PRs are significant enough to warrant discussion. For example I fixed a copy/paste bug recently where they had `foo_a = foo_b + i;` where it should have been `foo_b = foo_b + i;`. Obvious mistake. One character fix. Why on earth would I bother creating an issue and discussing how to fix it? | |||||||||||||||||||||||||||||
▲ | palata 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> We don't want to pay someone to write a feature we don't agree we need We're talking about open source here, and saying "no" to unpaid, external contributors. The way I approach it as an external contributor is that if the project is useful to me, I fork it, make my changes, and then open a PR in case the maintainers want to adopt them upstream. They don't have to, it's fine. But I don't have to ask for their opinion in an issue because I will just do what I want in my fork anyway. | |||||||||||||||||||||||||||||
▲ | 1718627440 2 days ago | parent | prev [-] | ||||||||||||||||||||||||||||
I think the stereotypical open source way is that you modify the code in private to what you want it to be and then upstream that in case it might be useful for others. |