blob: b24b7393fe54352a96df09d2ec86bdbbc15dc54b [file] [log] [blame] [view]
Ian Hickson72140972021-10-01 06:28:05 -07001<!-- when updating this file also update https://github.com/flutter/.github/blob/main/CODE_OF_CONDUCT.md -->
2
Ian Hicksoncf2fba72018-11-06 13:41:09 -08003# Code of conduct
4
Ian Hickson818f5ca2021-12-03 13:39:06 -08005The Flutter project expects Flutter's contributors to act professionally
6and respectfully. Flutter contributors are expected to maintain the safety
7and dignity of Flutter's social environments (such as GitHub and Discord).
Ian Hicksoncf2fba72018-11-06 13:41:09 -08008
9Specifically:
10
11* Respect people, their identities, their culture, and their work.
12* Be kind. Be courteous. Be welcoming.
13* Listen. Consider and acknowledge people's points before responding.
14
15Should you experience anything that makes you feel unwelcome in Flutter's
Ian Hickson8fe76432019-08-25 10:46:02 -070016community, please contact [conduct@flutter.dev](mailto:conduct@flutter.dev)
Ian Hickson818f5ca2021-12-03 13:39:06 -080017or, if you prefer, directly contact someone on the project, for instance
18[Hixie](mailto:ian@hixie.ch) or [Tim](mailto:timsneath@google.com).
19
20The Flutter project will not tolerate harassment in Flutter's
21community, even outside of Flutter's public communication channels.
Ian Hicksoncf2fba72018-11-06 13:41:09 -080022
23## Conflict resolution
24
25When multiple contributors disagree on the direction for a particular
26patch or the general direction of the project, the conflict should be
27resolved by communication. The people who disagree should get
28together, try to understand each other's points of view, and work to
29find a design that addresses everyone's concerns.
30
31This is usually sufficient to resolve issues. If you cannot come to an
Ian Hickson818f5ca2021-12-03 13:39:06 -080032agreement, ask for the advice of a more senior member of the project.
Ian Hicksoncf2fba72018-11-06 13:41:09 -080033
34Be wary of agreement by attrition, where one person argues a point
35repeatedly until other participants give up in the interests of moving
36on. This is not conflict resolution, as it does not address everyone's
37concerns. Be wary of agreement by compromise, where two good competing
38solutions are merged into one mediocre solution. A conflict is
39addressed when the participants agree that the final solution is
40_better_ than all the conflicting proposals. Sometimes the solution is
41more work than either of the proposals. [Embrace the yak
42shave](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#lazy-programming).
43
44## Questions
45
Todd Volkert8470b4a2018-11-20 22:25:03 -080046It's always ok to ask questions. Our systems are large, and nobody will be
Ian Hicksoncf2fba72018-11-06 13:41:09 -080047an expert in all the systems. Once you find the answer, document it in
48the first place you looked. That way, the next person will be brought
49up to speed even quicker.
50
Yazeed Al-Khalafd41b1fb2020-07-23 04:23:47 +030051!["I try not to make fun of people for admitting they don't know things, because for each thing 'everyone knows' by the time they're adults, every day there are, on average, 10,000 people in the US hearing about it for the first time. If I make fun of people, I train them not to tell me when they have those moments. And I miss out on the fun." "Diet coke and mentos thing? What's that?" "Oh, man! We're going to the grocery store." "Why?" "You're one of today's lucky 10,000."](https://imgs.xkcd.com/comics/ten_thousand.png)
Ian Hicksone833a582019-08-20 11:00:21 -070052
53Source: _[xkcd, May 2012](https://xkcd.com/1053/)_