It's not suddenly somehow his fault that there's people out there who take code being posted to the internet as a reason to harass and threaten someone, even if he did post that code to the internet by himself.
The community ought to rally around him and ostracize people who take it from "technical disagreement" to "personal attacks", not wring their collective hands about how it's really unavoidable and/or his own fault. A community that implicitly condones such behavior is complicit, even if only a minority actively engages in it.
Agreed with this, but I suspect the problem is no one's really sure how you react to things like this. There's no centralized body or medium for "out of band" issues - it's kind of the nature of open source.
I would say it does speak to the need for community managers, but again, a difficult ask for OSS projects. Who, when, how and what powers do they have?
The community ought to rally around him and ostracize people who take it from "technical disagreement" to "personal attacks", not wring their collective hands about how it's really unavoidable and/or his own fault. A community that implicitly condones such behavior is complicit, even if only a minority actively engages in it.