Skip to content

Commit 80071f3

Browse files
authored
Move humans, structure to unifiedjs/governance
Closes GH-2. Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
1 parent b82b10a commit 80071f3

23 files changed

+315
-473
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.log
33
node_modules/
44
yarn.lock
5+
config/unified*.yml

config/github-humans.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# List of extra configuration for GitHub.
2+
# Currently lists the permissions and repos of extra collaborators.
3+
permission: WRITE
4+
outsideCollaborators:
5+
- scope: rehypejs/rehype-react
6+
collaborators:
7+
- name: Linda_pp
8+
email: lin90162@yahoo.co.jp
9+
url: https://rhysd.github.io
10+
github: rhysd
11+
- scope: remarkjs/gulp-remark
12+
collaborators:
13+
- name: Denys Dovhan
14+
email: denysdovhan@gmail.com
15+
url: https://denysdovhan.com
16+
github: denysdovhan
17+
- scope: remarkjs/remark-embed-images
18+
collaborators:
19+
- name: David Herges
20+
email: david@spektrakel.de
21+
url: https://spektrakel.de
22+
github: dherges
23+
- scope: remarkjs/remark-git-contributors
24+
collaborators:
25+
- name: Vincent Weevers
26+
email: mail@vincentweevers.nl
27+
url: http://vincentweevers.nl
28+
github: vweevers
29+
- scope: remarkjs/remark-react
30+
collaborators:
31+
- name: David Clark
32+
email: david.dave.clark@gmail.com
33+
url: https://davidtheclark.com
34+
github: davidtheclark
35+
- scope: remarkjs/remark-textr
36+
collaborators:
37+
- name: Denys Dovhan
38+
email: denysdovhan@gmail.com
39+
url: https://denysdovhan.com
40+
github: denysdovhan
41+
- scope: vfile/vfile-reporter-pretty
42+
collaborators:
43+
- name: Sindre Sorhus
44+
email: sindresorhus@gmail.com
45+
url: https://sindresorhus.com
46+
github: sindresorhus
47+
- name: Kevin Mårtensson
48+
email: kevinmartensson@gmail.com
49+
github: kevva
50+
- name: Sam Verschueren
51+
email: sam.verschueren@gmail.com
52+
github: SamVerschueren
53+
- scope: vfile/vfile-to-eslint
54+
collaborators:
55+
- name: Sindre Sorhus
56+
email: sindresorhus@gmail.com
57+
url: https://sindresorhus.com
58+
github: sindresorhus
59+
- name: Kevin Mårtensson
60+
email: kevinmartensson@gmail.com
61+
github: kevva
62+
- name: Sam Verschueren
63+
email: sam.verschueren@gmail.com
64+
github: SamVerschueren

config/github-organizations.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# GitHub org config.
2+
owner: core/!emeritus
3+
orgs:
4+
- github: unifiedjs
5+
unified: unified
6+
- github: remarkjs
7+
unified: remark
8+
- github: rehypejs
9+
unified: rehype
10+
- github: retextjs
11+
unified: retext
12+
- github: redotjs
13+
unified: redot
14+
- github: mdx-js
15+
unified: mdx
16+
- github: micromark
17+
unified: micromark
18+
- github: syntax-tree
19+
unified: syntax tree
20+
- github: vfile
21+
unified: vfile

config/github-teams.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# List of GitHub teams.
2+
- name: emeritus
3+
description: Past members of the @:org organization team
4+
scope: :org/*
5+
permission: READ
6+
member: :orgTeam/emeritus
7+
maintainer: :orgTeam/releaser
8+
- name: members
9+
description: The @:org organization team
10+
scope: :org/*
11+
permission: READ
12+
member: :orgTeam/!emeritus
13+
maintainer: :orgTeam/releaser
14+
- name: mergers
15+
parent: members
16+
description: '@:org members with write rights'
17+
scope: :org/*
18+
permission: WRITE
19+
member: :orgTeam/merger
20+
maintainer: :orgTeam/releaser
21+
- name: releasers
22+
parent: members
23+
description: '@:org members with release rights'
24+
scope: :org/*
25+
permission: ADMIN
26+
member: :orgTeam/releaser
27+
maintainer: :orgTeam/lead
28+
- name: moderators
29+
description: The @:collective collective moderation team
30+
scope: :org/*
31+
permission: ADMIN
32+
member: moderation/!emeritus
33+
maintainer: :orgTeam/lead
34+
- name: core
35+
description: The @:collective collective core team
36+
scope: :org/*
37+
permission: ADMIN
38+
member: core/!emeritus
39+
maintainer: :orgTeam/lead

config/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'use strict'
2+
3+
const fs = require('fs')
4+
const path = require('path')
5+
const yaml = require('js-yaml')
6+
7+
// Name of the whole collective.
8+
exports.collective = 'unifiedjs'
9+
10+
exports.humans = load('unified-humans')
11+
exports.teams = load('unified-teams')
12+
exports.ghOrgs = load('github-organizations')
13+
exports.ghTeams = load('github-teams')
14+
exports.ghHumans = load('github-humans')
15+
16+
function load(name) {
17+
return yaml.safeLoad(fs.readFileSync(path.join('config', name + '.yml')))
18+
}

0 commit comments

Comments
 (0)