Should you accept a pull request from a very bad person? (Part II)
Things you can and can't do when faced with this dilemma
Even if you opted to censor this person from your project, what is your recourse? Copying the code they submit and committing it under a different Github account is also unethical. Besides, if you blocked their Github account, what stops the contributor from opening a new, pseudonymous account from which to submit contributions?
I think there are three ways one could approach this.
1. Open-source code is uniquely neutral
"Open source exists so that everyone can contribute their talents to something that benefits everybody. If Joseph Stalin or bin Laden wrote a great patch, I'd want it. We'd all be better for it. We can fight his ideas in a different arena."
Besides, there are mechanical concerns—such as the contributor opening a new, pseudonymous account—that make governing the character of the contributors to an open-source project unwieldy.
If this were your view, you’d accept the pull request and dismiss anyone’s judgment as misplaced.
2. No code is neutral, just as no technology is neutral
History is littered with conflicts between the advance of science and technology, on the one hand, and the morals of its contributors on the other. Everything is relative; choose as wisely as you can.
3. Intention matters
For the millionth time, "free speech" has absolutely nothing to do with someone being obligated to host your website on their property.
— Jackson Palmer (@ummjackson) October 28, 2018
Berners-Lee might be viewed differently had the internet immediately become a cesspool. We’d blame him more if he were profiting from it immediately. Since this didn’t occur, we treat him more like a scientist making a natural, inevitable discovery.
If this were your view, you accept the pull request, particularly because your project (presumably) does nothing to advance this person’s views or ability to act on them.
¯\_(ツ)_/¯