Ian Hickson | 7214097 | 2021-10-01 06:28:05 -0700 | [diff] [blame] | 1 | <!-- when updating this file also update https://github.com/flutter/.github/blob/main/CODE_OF_CONDUCT.md --> |
| 2 | |
Ian Hickson | cf2fba7 | 2018-11-06 13:41:09 -0800 | [diff] [blame] | 3 | # Code of conduct |
| 4 | |
Ian Hickson | 818f5ca | 2021-12-03 13:39:06 -0800 | [diff] [blame] | 5 | The Flutter project expects Flutter's contributors to act professionally |
| 6 | and respectfully. Flutter contributors are expected to maintain the safety |
| 7 | and dignity of Flutter's social environments (such as GitHub and Discord). |
Ian Hickson | cf2fba7 | 2018-11-06 13:41:09 -0800 | [diff] [blame] | 8 | |
| 9 | Specifically: |
| 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 | |
| 15 | Should you experience anything that makes you feel unwelcome in Flutter's |
Ian Hickson | 8fe7643 | 2019-08-25 10:46:02 -0700 | [diff] [blame] | 16 | community, please contact [conduct@flutter.dev](mailto:conduct@flutter.dev) |
Ian Hickson | 818f5ca | 2021-12-03 13:39:06 -0800 | [diff] [blame] | 17 | or, if you prefer, directly contact someone on the project, for instance |
| 18 | [Hixie](mailto:ian@hixie.ch) or [Tim](mailto:timsneath@google.com). |
| 19 | |
| 20 | The Flutter project will not tolerate harassment in Flutter's |
| 21 | community, even outside of Flutter's public communication channels. |
Ian Hickson | cf2fba7 | 2018-11-06 13:41:09 -0800 | [diff] [blame] | 22 | |
| 23 | ## Conflict resolution |
| 24 | |
| 25 | When multiple contributors disagree on the direction for a particular |
| 26 | patch or the general direction of the project, the conflict should be |
| 27 | resolved by communication. The people who disagree should get |
| 28 | together, try to understand each other's points of view, and work to |
| 29 | find a design that addresses everyone's concerns. |
| 30 | |
| 31 | This is usually sufficient to resolve issues. If you cannot come to an |
Ian Hickson | 818f5ca | 2021-12-03 13:39:06 -0800 | [diff] [blame] | 32 | agreement, ask for the advice of a more senior member of the project. |
Ian Hickson | cf2fba7 | 2018-11-06 13:41:09 -0800 | [diff] [blame] | 33 | |
| 34 | Be wary of agreement by attrition, where one person argues a point |
| 35 | repeatedly until other participants give up in the interests of moving |
| 36 | on. This is not conflict resolution, as it does not address everyone's |
| 37 | concerns. Be wary of agreement by compromise, where two good competing |
| 38 | solutions are merged into one mediocre solution. A conflict is |
| 39 | addressed when the participants agree that the final solution is |
| 40 | _better_ than all the conflicting proposals. Sometimes the solution is |
| 41 | more work than either of the proposals. [Embrace the yak |
| 42 | shave](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#lazy-programming). |
| 43 | |
| 44 | ## Questions |
| 45 | |
Todd Volkert | 8470b4a | 2018-11-20 22:25:03 -0800 | [diff] [blame] | 46 | It's always ok to ask questions. Our systems are large, and nobody will be |
Ian Hickson | cf2fba7 | 2018-11-06 13:41:09 -0800 | [diff] [blame] | 47 | an expert in all the systems. Once you find the answer, document it in |
| 48 | the first place you looked. That way, the next person will be brought |
| 49 | up to speed even quicker. |
| 50 | |
Yazeed Al-Khalaf | d41b1fb | 2020-07-23 04:23:47 +0300 | [diff] [blame] | 51 |  |
Ian Hickson | e833a58 | 2019-08-20 11:00:21 -0700 | [diff] [blame] | 52 | |
| 53 | Source: _[xkcd, May 2012](https://xkcd.com/1053/)_ |