Codes of Conduct now guide open source communities

Open source software communities have a noble intention: to work together over the internet to create something that benefits everyone. But hostility and bias often flourish in communities where there are no consequences for contributors who display non-inclusive behavior.

Toxic cultures have discouraged many talented developers from contributing necessary improvements to even the most important projects for the Web.

It’s a contributing factor to the reality that only 3% of open source contributors are women and that the majority are male and white. For the health of the internet, such lack of diversity is grim. Open source is everywhere now, so it means a very homogenous group of people is responsible for software the entire world interacts with every day.

In the fight for inclusivity and healthier communities, Codes of Conduct have surfaced as one of the most important (and sometimes controversial) instruments for change. They are valued especially by underrepresented groups in open source, including women, as a tool of empowerment for calling out bad behavior.

Today, Apache, Google, Microsoft, Mozilla and WordPress all have Codes of Conduct for their open source projects. One established community after another, including those with founders who have controversial communication styles, like Linus Torvalds of Linux, have had to reckon with community members who called for a full stop on rude and aggressive interactions.

“Codes of conduct are vital to open source communities,” explains Coraline Ada Ehmke, a developer and open source-advocate who created the Contributor Covenant, a Code of Conduct text adopted by thousands of open source projects in just five years.

“A Code of Conduct is a way of expressing community values,” she says.

A core value could be to foster an open and welcoming environment for everyone: “regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation,” as it says in the Contributor Covenant.

That may not seem controversial. But time and again, some contributors find it unsettling or even infuriating when new rules and processes are introduced to govern language and behaviors they are used to, and may not believe are harmful.

“There are best practices for how to write documentation, or share an idea with a group of potential strangers, in a way not likely to cause offense,” explains Jory Burson, a consultant and educator who helps open source communities build healthy cultures.

Emma Irwin, an open project and communities specialist at Mozilla, says a Code of Conduct is toothless unless it is actually enforced. “Trust comes from enforcement. Stability comes with enforcement. If you have a Code of Conduct and don’t enforce it, you can actually cause more harm,” she says.

The boundaries of such enforcement are still being tried and tested, as open source communities wrestle with how to create the best conditions for equality and diversity. For instance, should an expulsion from one community lead to expulsion from another?

Codes of Conduct were initially only introduced at open source conferences and public events to stem disagreements that veered from technical to personal matters.

In 2014, after signing a pledge to only attend conferences with Codes of Conduct, Coraline Ada Ehmke began contemplating a similar approach to online communities.

“I started thinking of ways that we could advance the cause of inclusivity in the wider tech community,” Ehmke recalls. “Since I have a long history of working in open source, it seemed logical to me that these communities of maintainers and contributors also needed a social contract to express and enforce community values of improving diversity and being welcoming to people of all kinds, especially those who are traditionally underrepresented in tech.”

“So the Contributor Covenant was born,” Ehmke says.

“In the last seven to eight years, the practice has shifted from needing the Code of Conduct for events, to needing it for the digital space,” Burson says. “It’s a very good progression.”

How can community members best help enforce a Code of Conduct?

  1. Anonymous

    [Continued from previous post]

    One of the reasons I got involved Open Source software was freedom. Freedom from the corporate license agreements and legalese. And freedom of speech and expression. Now these code of conducts are creeping into OSS and creating exactly the situation I wanted to avoid in the first place.

    I repeat: encouraging a healthy OSS community should be a grassroots effort by every individual. Not an authoritarian an punitive practice imposed from the top.

  2. Anonymous

    Such codes of conduct can be very divisive: imposing authoritarian, punitive practices on an open source project can discourage contributions. Project contributors come from very diverse backgrounds and what is offensive to one person might not be to another.

    Instead of imposing such draconian rules, we should all look out for each other and *not* tolerate abusive behavior as individuals. Call it out. Fight as strongly as possible against it. And in some cases, understand that misunderstandings occur and it was not intentionally abusive. That way we can ensure a healthy community without the toxic effects of authoritarianism.

  3. Anonymous

    There is something I don't really understand: if there are 95 male coders and 5 female coders willing to improve the firefox browser, base on the Codes of Conduct, "to be equal"; would you guys kick 90 male coders out to make it to be "equal"?

  4. Emma

    Saying, "hey, we don't do that here" when you see people engaging in a disruptive or hurtful fashion goes a long way.

  5. Tara

    The worst behaviour we're willing to tolerate is actually where the bar is set in terms of conduct. It's up to all participants to hold themselves and each other accountable to the level of behaviour we say we want. We all have a role in creating safe environments and building our collective cultures.

    It's useful and necessary to be explicit about behaviour norms in groups. This enables us to be clear about how we want to be with each other, which is good foundation for doing awesome work together.