Programmers only: if you find a bug in someone else's software that affects your project, which of these things do you do? Select all that apply.
Programmers only: if you find a bug in someone else's software that affects your project, which of these things do you do? Select all that apply.
@evan I like to report if I have enough info to describe and/or repro. That's first.
And if I also have enough knowledge of the platform/language such that I wont need to ramp up too much, I often like to take a stab at a PR too.
But I voted the closest match.
@evan “patching” could be considered a workaround, but I think they’re different. A workaround deals with the buggy behavior or output within your own application’s boundary.
A patch jams the fix into the library so your own application can cleanly observe “bug free” behavior.
(Not always possible or viable)
@evan I meant the patching for stuff not under my control (libraries, primarily). in dynamic langs that allow post-facto modification, that is.
For a network service, one might consider an MITM “proxy” or adapter to be a form of patch, though that’s almost indistinguishable from a workaround. (Just a matter of degree, I suppose).
@evan I have a conversation with them like a grownup and try to see how they would like me to handle it. I’m no fan of duplicated effort, and I don’t want someone to think I’m being pushy. It might also not be a bug, and I might be misunderstanding something important.
I love PRs, but sometimes just talking to someone is the best first step.
@evan workaround first. if i think the project might be responsive, file a bug report. if i think they'd take the patch and i know how to git 'er done, i might do a pull request.
however the patch review/release cycle on dependencies is often very slow, which is why i can't rely on a patch making it in and being usable in time to use it _now_ without a forked/patch dependency
which is why the workaround is generally mandatory, not an optional step :D
For a small project with short code I've sometimes just submitted a PR. If the PR is long then a bug report would be appropriate too
If the project is big with lots of developers and i don't know them, I'm hesitant to even report bugs. I saw a bug in #CoMaps yesterday but i haven't figured out how to report it and i could use a hand walking through that.
If I'm paid then I'll reach out to big projects though. But for personal stuff i get a little social anxiety
@evan other - if there's a community space online for it, ask about it there to get some context.
Is it a bug or am I holding it wrong?
@evan one annoying case when you're dealing with long term support Linux distros is that you might have an old version of software with a bug that has long since been fixed, but it's not a "security" issue, so the only thing you can really do is work around it.
I do generally try to report issues if I'm working with newer software, tho I might still need a short term workaround too. PRs are less common but I've done a few.