summaryrefslogtreecommitdiff
path: root/CodeOfConduct/Guidelines.mdwn
blob: d0c5be64a324a869d8ed1e61139922d93c4b8909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Guidelines for Project Maintainer moderation

Remember these aren't rules, there's simply suggestions project maintainers are
free to use when moderating projects on Freedesktop - especially when using
Gitlab.

## Training

The Board offers external CoC enforcement training for any interested community
members who inquire. Interested members can contact board@foundation.x.org. See
our [Hosting Policy](https://www.x.org/wiki/XorgFoundation/Policies/Hosting/#powersandduties)
for reference.

## Allowing CoC team members to moderate IRC channels

If you want to allow CoC team members to moderate in your project's IRC channel
you can add the @freedesktop-coc group to the channel's access list:

    /m ChanServ access #channel add @freedesktop-coc CHANOP|MASTER

Assign the role you think fits the best. This will assign the specified access
level to all current members of the CoC team.

## Dealing with Spam

If possible or unless told otherwise, don't report spam through Gitlab's
reporting system. Because of how much spam we get, we've setup a spam bot
that project maintainers can use instead to prevent the pipes from getting
clogged up - and get a much faster response. When you see spam:

* If it's an issue or a merge requeest, add the "spam" label to it on Gitlab.
  This will hide the comment immediately
* If it's a comment, react with the do not litter emoji 🚯 and the bot will
  do its civic duty

Note that the bot isn't setup by default, but can be setup for any project
on freedesktop's gitlab. See
[gitlab.freedesktop.org/freedesktop/damspam](https://gitlab.freedesktop.org/freedesktop/damspam) for information on how
to do this

## Documenting incidences

Document things first and foremost, such as with screenshots

The biggest reason for this: Gitlab *does not* keep an edit history for
comments, nor does it keep track of deleted comments. Once something has
been removed or edited it's gone. Taking record of incidents can help the
CoC team act on those when/if you reach out to them - as it makes it much
easier to spot repeated patterns of behavior.

## Inappropriate comments

If you come across a comment that feels inappropriate or hinders a healthy discussion, consider one of the following actions:

* Editing the comment with a canned response such as:
  * "This comment has been removed as discussion about Foo is off-topic,
    and should be discussed in its own issue"
  * "This comment has been hidden due to inflammatory language, please
    assume good faith when participating in discussions."
* You can also delete the comment
* You can also add a spoiler tag when editing the comment, to keep the body
  of the comment intact - but collapse it by default.

Be aware that no notification will be generated for editing or comments,
unless you explicitly mention somebody not mentioned before.

## Limit engagement with problematic comments to moderating them

Trying to argue with someone or accuse them of wrongdoing will many times
make a situation worse, and can also complicate things from the perspective
of the CoC team. When problematic behavior occurs, it's recommended to keep
responses brief and to the point - and to reach out to the code of conduct
team if moderating the discussion fails.

Feel free to ask a more neutral person to deliver any messages in case there
is a personal history between you and the persons involved or if you think
it's better if the action can't be attributed to you directly. We also have the
[@conduct](https://gitlab.freedesktop.org/conduct) gitlab account which can be
used to comment on issues or merge requests on gitlab. Ping one of the current
CoC team members if you want to make use of this account.

## Escalating issues within your project

If a contributor is causing issues within your project, as a project maintainer you may choose to exclude them from your project's spaces. If the behavior is completely egregious, please immediately escalate to the Code of Conduct committee who can take appropriate action. In most cases, we suggest first issuing a firm warning to them about their behavior, with a ban to be placed if they do not heed this warning.

You may take this decision independently as a maintainer, however if you need any assistance or would like to discuss anything, please feel free to get in touch with the committee.

### Suggested template to issue warning

    To: $contributor
    Cc: conduct@lists.freedesktop.org
    Subject: Your behavior in $project
    
    Dear $contributor,
    Your behavior on $project has been [derailing|disrespectful|disruptive|inconsiderate]. As the maintainer of $project, I urge you to read the freedesktop.org Code of Conduct you agreed to when signing up at https://www.freedesktop.org/wiki/CodeOfConduct.
    
    Please read this, consider your actions, and refrain from such behavior in future.
    
    If there is no improvement in your behavior after this warning, we will consider either a temporary ban from all our project's spaces (issues, merge requests, mailing lists and other discussion forums, conferences, etc) or escalating to the freedesktop.org Code of Conduct committee who can take more extensive action.
    
    $yourname
    Maintainer, $project

### Suggested template to issue ban

    To: $contributor
    Cc: conduct@lists.freedesktop.org
    Subject: Your behavior in $project

    Dear $contributor,
    Your behavior on $project has continued to be [derailing|disrespectful|disruptive|inconsiderate] despite my earlier warning.

    As the maintainer of $project, I am hereby banning you from any interaction with the project. This includes, but is not limited to: issues, merge requests, mailing lists and other discussion forums, and conferences.
    
    You can ask me to lift the ban after $time.

    If you contravene this ban and continue to interact with the project, we will escalate this to the freedesktop.org Code of Conduct committee who are likely to issue an immediate ban across all of freedesktop.org.

    $yourname
    Maintainer, $project

## Conflict of Interest

In case you as a maintainer feel there is a risk of a conflict of
Interests when taking actions against somebody, feel free to escalate it
directly to the CoC team.