Until I committed the "fix all the non-Unix line breaks" revision, I was never able to apply a patch using the patch program. It took years, literally, before I realized that the reason a handful of files patched successfully but most files did not was an issue in line breaks. So, my method for "applying a patch" that somebody provided was to manually insert each chunk into the appropriate place of the appropriate source file. This also allowed me to look closely at the code. It was extremely rare that I didn't want or need to change multiple things - either because there was a better way to do something (or, at least, a way that I preferred), there was something else not accounted for, or there was an outright bug.
After doing that, there was the matter of testing. The purpose of testing is not to "prove that there are no bugs." The purpose of testing is to find bugs. Therefore, a successful test is one in which at least one bug is found. I have had many successful tests on community-submitted code.

(To be fair, I have had many successful tests on code submitted by fellow devs - as well as myself, obviously.)
By the time all that work is done, I "own" the change - in the sense of understand it enough to further modify it - at least as much as the person who submitted the original patch. More so, probably, since that person has not had a chance yet to look at the changes that I had to make to their code. When I commit the change, it may or may not occur to me to credit the person who submitted the patch. Considering that it required considerable work on my part, what with the manually insertion, and all that, it generally did not save me much time, compared to implementing it myself - especially if I had to do lots of debugging and add lots of code to cover cases that were not considered.
It never occurred to me that "getting your name in lights" and "appearing to take credit for somebody else's work" - as opposed to "getting a fix into the codebase for the benefit of everybody" - were actually overriding concerns of some people. Until Catch-22 started making these posts - and the similar incident from that person, a while ago.
I'm of (at least) two minds about community-submitted patches. Keep in mind that it is NEVER as easy as "run the diff file through the patch program and say 'svn commit'". It takes (took) my time to manually insert the code, look at it, fix and adjust it, add things that were missing, and try it out - and THEN comes the 'svn commit'. Even ignoring the issue I mentioned earlier - changes to the codebase that I do NOT want to go in, either because I reject the feature or a proposed bug fix is not addressing the root cause of the issue (or, even, because the supplied code is simply not up to snuff) - it takes MY TIME to deal with the patch - and, perhaps, I'd prefer to spend my time making some other fix - or not working on KoLmafia at all.
I feel sorry that people like, for example, IronTetsubo and Catch-22 have submitted lots of patches which have languished. That is not necessarily because the code is unworthy. It is almost certainly because no developer has felt like taking the time to do the code insert/check/fix/debug/commit. Remember - it is NOT as simple as "apply patch and commit".
I suppose that is a result of my own iron-fisted hold on the program for many years. I wanted only top quality, functioning, low bug count, code to be submitted. This was at least partly because I, myself, used the program, and I did not want it to be rendered unusable by somebody who might submit bugs and then go to bed, say, leaving it up to me to fix the bugs in order to proceed with my KoL day.
Perhaps that was unreasonable. Perhaps a better approach would be to open commits to anybody and everybody and trust them to stay up and monitor the bug reports after committing a fix and hop to fixing bugs as they are reported.
And then there is that "trust" thing. We've never had any malicious code inserted into the code base. I'd llike to keep it that way. At this point, that probably requires a dev to build up the trust within the community first, before being let free to submit the unvetted code of your choice into the source tree. KoLmafia is Open Source and I expect that if anything suspicious was inserted into it, it would be spotted almost immediately, but it would way preferable to not even approach that bridge, much less cross it.
I have retired from KoL. And, hopefully, have all-but retired from here. I quite like the new team. I think they understand the program well enough to do whatever is needed. And roippi, at least, understands the GUI and Swing BETTER than I ever did. I think the program is is good hands. And it is up to the new team to decide how they want to treat community-submitted patches. lost has admin access to Sourceforge. He can add (or remove) devs.
I will watch with interest - and distance - how this project develops.
