2018-01-17 16:55:16 +00:00
# Community roles
The following guidelines aim to keep the project vibrant and responsive,
by ensuring a **smooth transition flow between community roles** —
2023-12-28 15:47:03 +00:00
from newcomer to occasional contributor to regular contributor to maintainer.
2018-01-17 16:55:16 +00:00
This way, the project should be able to adapt dynamically and flexibly
to the natural variations in availability and interest of its contributors,
improving long-term resilience, reducing the risk of burnout, and avoiding
[single points of failure ](https://en.wikipedia.org/wiki/Bus_factor ).
To this end, rather than _assigning_ roles and tasks to people,
these guidelines aim to **recognize the work that people already do** .
2023-12-28 15:47:03 +00:00
Everyone is encouraged to get involved
2018-01-17 16:55:16 +00:00
and contribute to the project in whatever way they prefer,
and we will strive to **get barriers out of the way** of these contributions.
2023-12-28 15:47:03 +00:00
To ensure that these role-transitioning processes are
2018-01-17 16:55:16 +00:00
straightforward, transparent, predictable, and impartial,
2023-12-28 15:47:03 +00:00
the metrics used are objective, easy to check, and explicitly described below. (That's not to say they're hard-set rules:
exceptions can always be considered through open community discussion.)
2018-01-17 16:55:16 +00:00
2024-03-28 01:37:27 +00:00
> [!IMPORTANT]
> It is required to have [two factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as a outside collaborator or a member to the tldr-pages organization.
2018-01-17 16:55:16 +00:00
## When to change roles
- **Regular contributors should be added as collaborators in the repository.**
2023-12-28 15:47:03 +00:00
Specifically: once a contributor has had at least _5 non-trivial pull requests merged_
2018-10-28 17:02:02 +00:00
(see `https://github.com/tldr-pages/tldr/commits?author=<username>` )
2018-01-17 16:55:16 +00:00
on a repository under the tldr-pages organization,
they should be invited to become
a **collaborator** in that repository.
This means they will be able to push commits to that repository,
as well as merge PRs, label and close issues, among other things.
2019-04-09 16:36:08 +01:00
- **Repository collaborators who regularly perform maintenance tasks should be added as organization members.**
(Maintenance work means facilitating contributions by other people,
2023-12-28 15:47:03 +00:00
which in this project typically consists of reviewing and/or merging PRs.)
2018-01-17 16:55:16 +00:00
Specifically: once a repository collaborator has _merged at least 10 PRs_
and submitted at least _5 non-trivial reviews to PRs_
2018-10-28 17:02:02 +00:00
(see `https://github.com/tldr-pages/tldr/pulls?q=reviewed-by:<username>` ),
which can overlap with the 10 they merged themselves,
2018-01-17 16:55:16 +00:00
they should be invited to become a
[**member** ](https://github.com/orgs/tldr-pages/people )
of the tldr-pages organization.
This means they will be able to
push commits to all of the organization's repositories,
merge PRs, label and close issues, among other things.
2023-12-28 15:47:03 +00:00
2024-01-03 14:16:35 +00:00
> [!NOTE]
> All members of the tldr-pages organization **must** make their membership public.
2018-01-17 16:55:16 +00:00
2019-04-09 16:36:08 +01:00
- **Organization members who remain active for a while should become organization owners.**
2018-01-17 16:55:16 +00:00
Specifically: members of the tldr-pages organization
who remain _active for at least 6 months_
2021-02-12 20:33:19 +00:00
(see [`MAINTAINERS.md` ](MAINTAINERS.md#organization-members ))
2018-01-17 16:55:16 +00:00
should be invited to become an
[**owner** ](https://help.github.com/articles/permission-levels-for-an-organization/ )
of the tldr-pages organization.
This means they will be able to add people to the organization,
manage all the organization's repositories, configure integrations, etc.
- **These roles are temporary, and that's OK.**
People's interests and availability naturally change over time,
so the project should regularly update the list of people in each role,
2023-12-28 15:47:03 +00:00
to accurately reflect the active team managing the project
2018-01-17 16:55:16 +00:00
(and to avoid conveying an undue sense of obligation
on people whose priorities have shifted.)
Specifically: If an organization member becomes _inactive for over 6 months_ ,
their membership status should be equally deactivated.
(They should nevertheless remain as collaborators
in the repositories on which they have been active in the past.)
2023-12-28 15:47:03 +00:00
Again, this is merely a reflection
2018-01-17 16:55:16 +00:00
of their actual involvement with the project,
not a demotion or punishment.
Indeed, if they return to active participation in the project,
they should be added back to the organization, to reflect that fact.
2018-01-17 16:55:57 +00:00
## How to change roles
2023-10-13 00:26:58 +01:00
> [!NOTE]
> This section is aimed at owners in the tldr-pages organization
2023-12-28 15:47:03 +00:00
> (i.e. the group of people who can perform these changes).
2018-01-17 16:55:57 +00:00
If you notice a contributor being particularly active,
review their recent contributions to check whether a role transition is due,
according to the criteria defined in the previous section.
If a role change is warranted, **open a new issue proposing that role change** ,
using one of the template messages below as a base.
2019-04-10 23:57:49 +01:00
### Adding new collaborators
1. Open an issue with the following message template (edit it as appropriate):
2024-03-28 01:37:27 +00:00
```md
2019-04-10 23:57:49 +01:00
Hi, @username ! You seem to be enjoying contributing to the tldr-pages project.
2024-01-24 03:45:04 +00:00
You now have had five distinct pull requests [merged ](<!-- REPLACE THIS WITH THE LINKS TO THE RELEVANT PRs --> )!
2021-01-08 09:22:35 +00:00
That qualifies you to become a collaborator in this repository, as explained in our [community roles documentation ](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md ).
2019-04-10 23:57:49 +01:00
2019-04-14 20:40:56 +01:00
As a collaborator, you will have commit access to the repository.
That means you can merge pull requests, label and close issues, and perform various other maintenance tasks that are needed here and there.
Of course, all of this is voluntary — you're welcome to contribute to the project in whatever ways suit your liking.
2019-04-10 23:57:49 +01:00
2021-01-08 09:22:35 +00:00
If you do decide to start performing maintenance tasks, though, we only ask you to get familiar with the [maintainer's guide ](https://github.com/tldr-pages/tldr/blob/main/contributing-guides/maintainers-guide.md ).
2019-04-10 23:57:49 +01:00
2019-04-11 12:04:47 +01:00
So, what do you say? Can we add you as a collaborator?
Either way, thanks for all your work so far!
2024-03-28 01:37:27 +00:00
> [!NOTE]
> It is required to have [two factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as a collaborator the tldr-pages/tldr repository.
2019-04-10 23:57:49 +01:00
```
2023-12-28 15:47:03 +00:00
2. Once they acknowledge the message and if they accept the invitation,
go to < https: / / github . com / tldr-pages / tldr / settings / collaboration >
and add them to the repository as a collaborator with write permissions.
2019-04-10 23:57:49 +01:00
2024-01-24 03:45:04 +00:00
3. Suggest them to open a PR adding their name to the "Repository collaborators" section
in [MAINTAINERS.md ](MAINTAINERS.md#repository-collaborators ) file.
2019-04-15 13:07:25 +01:00
Make sure to include `Closes #<issue number>` in the PR description.
2023-12-28 15:47:03 +00:00
The issue will then be automatically closed once the PR gets merged.
2019-04-10 23:57:49 +01:00
### Adding new organization members
1. Open an issue with the following message template (edit it as appropriate):
2024-03-28 01:37:27 +00:00
```md
2024-01-24 03:45:04 +00:00
Hi, @username ! After joining as a collaborator in the repository, you have been regularly performing [maintenance tasks ](<!-- REPLACE THIS WITH THE LINKS TO THE RELEVANT ISSUES AND/OR PRs --> ).
2019-04-14 20:40:56 +01:00
Thank you for that!
2024-01-24 03:45:04 +00:00
2021-01-08 09:22:35 +00:00
According to our [community roles documentation ](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md ), you've now met the thresholds to be effectively considered an active maintainer of the project.
2024-01-24 03:45:04 +00:00
2019-04-11 12:04:47 +01:00
To publicly acknowledge that fact, we'd like to add you to the tldr-pages organization.
2019-04-10 23:57:49 +01:00
2023-12-28 15:47:03 +00:00
If you accept the invitation, we ask you to make your membership public and (in case you don't already) start hanging out in our [Matrix chat room ](https://matrix.to/#/#tldr-pages:matrix.org ).
2024-01-24 03:45:04 +00:00
2020-12-23 10:00:01 +00:00
Additionally, consider subscribing to the notifications from the various repositories under the [tldr-pages organization ](https://github.com/tldr-pages ).
2024-01-24 03:45:04 +00:00
2020-12-23 10:00:01 +00:00
As one of the public faces of the tldr-pages project, it's also especially important that you follow and encourage the [project
2023-10-24 10:29:17 +01:00
governance principles](https://github.com/tldr-pages/tldr/blob/main/GOVERNANCE.md).
2019-04-11 12:04:47 +01:00
How does that sound? Are you up for it?
2019-04-10 23:57:49 +01:00
```
2023-12-28 15:47:03 +00:00
2. Once they acknowledge the message and if they accept the invitation,
go to < https: / / github . com / orgs / tldr-pages / people >
2019-04-10 23:57:49 +01:00
and add them to the organization as a member.
2024-01-24 03:45:04 +00:00
3. Suggest them to open a PR moving their name to the "Organization members" section
in [MAINTAINERS.md ](MAINTAINERS.md#organization-members ) file.
2019-04-15 13:07:25 +01:00
Make sure to include `Closes #<issue number>` in the PR description.
2023-12-28 15:47:03 +00:00
The issue will then be automatically closed once the PR gets merged.
2019-04-10 23:57:49 +01:00
### Adding new organization owners
1. Open an issue with the following message template (edit it as appropriate):
2024-03-28 01:37:27 +00:00
```md
2020-05-11 00:23:54 +01:00
Hi, @username ! You've been an active tldr-pages organization member for over 6 months.
2024-01-24 03:45:04 +00:00
2019-04-10 23:57:49 +01:00
Thanks for sticking around this far and helping out!
2024-01-24 03:45:04 +00:00
2023-12-28 15:47:03 +00:00
According to our [community roles documentation ](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md ), you're now eligible to become an owner in the organization.
2019-04-14 20:40:56 +01:00
That means you will, from now on, be part of the team responsible for performing role changes (like this one!) in the community.
2021-01-08 09:22:35 +00:00
When performing such role transitions, make sure to follow the process described in the [COMMUNITY-ROLES.md ](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md ) document.
2020-05-11 00:27:09 +01:00
2019-04-11 12:04:47 +01:00
Is that OK with you? Let us know!
2019-04-10 23:57:49 +01:00
2019-04-11 12:04:47 +01:00
Either way, thanks so much for all the work you've done so far. You rock!
2019-04-10 23:57:49 +01:00
```
2023-12-28 15:47:03 +00:00
2. Once they acknowledge the message and if they accept the invitation,
2019-04-10 23:57:49 +01:00
go to https://github.com/orgs/tldr-pages/people
and change their role from "member" to "owner".
2024-01-24 03:45:04 +00:00
3. Suggest them to open a PR moving their name to the "Organization owners" section
in [MAINTAINERS.md ](MAINTAINERS.md#organization-owners ) file.
2019-04-15 13:07:25 +01:00
Make sure to include `Closes #<issue number>` in the PR description.
2023-12-28 15:47:03 +00:00
The issue will then be automatically closed once the PR gets merged.
2019-04-10 23:57:49 +01:00
### Removing inactive organization members
1. Open an issue with the following message template (edit it as appropriate):
2024-03-28 01:37:27 +00:00
```md
2021-01-08 09:22:35 +00:00
Hi, @username ! As you know, our [community roles documentation ](https://github.com/tldr-pages/tldr/blob/main/COMMUNITY-ROLES.md ) defines processes for keeping the list of organization members in sync with the actual maintenance team.
2019-04-14 20:40:56 +01:00
Since you haven't been active in the project for a while now, we'll be relieving you from the maintainer responsibilities.
In practice, not much will change on your side, since you'll remain a collaborator in the repos you have been active in.
That means **you will keep the ability to commit, merge PRs, label and close issues, etc.** , whenever you feel so inclined.
2024-01-24 03:45:04 +00:00
2019-04-14 20:40:56 +01:00
If you don't, that's all right too!
2024-01-24 03:45:04 +00:00
2019-04-14 20:40:56 +01:00
Every bit of work you already did for the tldr-pages project was a voluntary gift of your time to this community, which is deeply appreciated.
Your efforts have contributed to a project which helps hundreds of people every day — be proud of it!
2023-12-28 15:47:03 +00:00
And of course, you're welcome back anytime as an active maintainer, if you so choose — in which case, just let us know and we'll re-add you to the organization, in accordance with the principles of our governance guidelines.
2024-01-24 03:45:04 +00:00
2019-04-10 23:57:49 +01:00
In any case, we wish you the best of luck in your new endeavors!
```
2. Once they acknowledge the message (or after two weeks without any reaction),
2023-12-28 15:47:03 +00:00
go to < https: / / github . com / orgs / tldr-pages / people > , click the gear icon in their row,
2019-04-10 23:57:49 +01:00
and select the "Convert to outside collaborator" menu entry.
2021-10-01 20:34:43 +01:00
3. Open a PR moving their name to the "Past organization members" section
2019-04-10 23:57:49 +01:00
in [MAINTAINERS.md ](MAINTAINERS.md ).
2019-04-15 13:07:25 +01:00
Make sure to include `Closes #<issue number>` in the PR description.
2019-04-10 23:57:49 +01:00
The issue will then be automatically closed once the PR is merged.
2018-01-17 16:55:57 +00:00
2018-01-17 16:55:16 +00:00
## Who can change roles
2023-12-28 15:47:03 +00:00
2018-10-28 17:02:02 +00:00
Any member of the community can (and is encouraged to) propose role changes
by following the process outlined [above ](#how-to-change-roles ).
2021-12-01 10:45:05 +00:00
[Owners of the tldr-pages organization ](MAINTAINERS.md#organization-owners )
2018-10-28 17:02:02 +00:00
can then perform the actual role changes.
2023-12-15 06:09:34 +00:00
## CODEOWNERS
The [`.github/CODEOWNERS` file ](https://github.com/tldr-pages/tldr/blob/main/.github/CODEOWNERS ) allows contributors with write access to the [tldr-pages/tldr repository ](https://github.com/tldr-pages/tldr ) to get automatic review request notifications for given files and directories.
If they wish to, contributors can open a pull request to add themselves to this file as desired.
Example uses include (but are not limited to):
- Contributors who speak a specific language and want to assist with reviewing translations in those specific languages.
- Contributors with specific expertise who wish to review pull requests for specific platforms.
- Contributors interested in reviewing [client specification ](https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md ) updates.
> [!NOTE]
> This mechanism is purely for automatic review requests for PRs and doesn't grant collaborators additional copyright over the code-owned files. View the [LICENSE](https://github.com/tldr-pages/tldr/blob/main/LICENSE.md) file for more information.