Skip to content

Commit 933fa46

Browse files
authored
Merge branch 'master' into Issue
2 parents 13fddfe + db16803 commit 933fa46

File tree

7 files changed

+288
-25
lines changed

7 files changed

+288
-25
lines changed

content/contributing-code/contents.lr

+26-17
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,40 @@ body:
1313

1414
Here's a list of [all our current projects](/projects/). We use GitHub issues associated with each project to track the work associated with that project. That's where you can find things to work on.
1515

16-
We make extensive use of issue labels to desginate the status of various issues. We have a standard set of labels across all projects, [documented here](https://github.com/creativecommons/ccos-scripts/blob/master/normalize_repos/labels.py). Here are some of the ones that are most relevant to finding a good issue to work on:
17-
18-
* **Issues tagged `help wanted` or `good first issue`** are available for community contribution**
19-
* These issues are available for community contribution and you do not need our permission to work on one of these.
20-
* You may work on an issue labeled `good first issue` even if it's not your first issue.
21-
* Check the issue comments/labels to see whether someone else has indicated that they are working on it. If someone is already working on it and there has been activity within the last 7 days, you may want to find a different issue to work on.
22-
* **Issues tagged with one of these labels: `blocked`, `not ready for work`, `ticket work required`, `CC staff only` are not available to the community. Do not work on these.**
23-
* Issues tagged `blocked` are blocked by other work that needs to be done first.
24-
* Issues tagged `not ready for work` or `ticket work required` need additional work done on the issue before they can be opened to community contributors.
25-
* Issues tagged `CC staff only` are not suitable for community contribution, usually because it requires infrastructure access or institutional knowledge that would be impractical to provide to the community.
26-
* **Issues without any of the above labels _may_ be open for contribution.**
27-
* Please add a comment to ask whether the issue is available before starting work.
16+
We make extensive use of issue labels to designate the priority, status and beginner-friendliness of various issues. We have a standard set of labels across all projects, [documented here](/contributing-code/repo-labels/). Here are some of the ones that are most relevant to finding a good issue to work on:
17+
18+
- **Issues available for community contribution:**
19+
- The following tags mark issues that are open for community contribution:
20+
- `help wanted`: Open to participation from the community but not necessarily beginner-friendly
21+
- `good first issue`: Open to participation from the community and friendly towards new contributors
22+
- You do not need our permission to work on one of these issues.
23+
- You may work on an issue labeled `good first issue` even if it's not your first issue.
24+
* **Issues not available for community contribution:**
25+
- The following tags mark issues that are _not_ open for community contribution:
26+
- `🔒 staff only`: Requires infrastructure access or institutional knowledge that would be impractical to provide to the community
27+
- Do not work on these.
28+
- **Issues not ready for work:**
29+
- The following tags mark issues that are _not_ open for community contribution:
30+
- `🚧 blocked`: Blocked by other work that needs to be done first
31+
- `🧹 ticket work required`: Needs additional work before it is ready to be taken up
32+
- `🚦 awaiting triage`: Has not been triaged by a maintainer
33+
- Do not work on these.
34+
- **Issues without any of the above labels:**
35+
- These issues _may_ (or may not) be open for contribution.
36+
- Please add a comment asking one of the maintainers to triage the issue and label it as appropriate.
2837

2938
Some helpful saved searches on GitHub than can assist with finding an issue:
30-
- [issues labeled "good first issue"](https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
31-
- [issues labeled "help wanted"](https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
32-
- [issues labeled "help wanted", and not labeled as "in progress"](https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+-label%3A%22in+progress%22)
33-
- [incomplete pull requests labeled "help wanted"](https://github.com/search?q=org%3Acreativecommons+is%3Apr+is%3Aopen+label%3A%22help+wanted%22)
39+
- [issues labeled "good first issue"](https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+-linked%3Apr)
40+
- [issues labeled "help wanted"](https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+-linked%3Apr)
41+
- [PRs labeled "help wanted"](https://github.com/search?q=org%3Acreativecommons+is%3Apr+is%3Aopen+label%3A%22help+wanted%22)
42+
43+
Check the issue comments/labels to see whether someone else has indicated that they are working on it. If someone is already working on it and there has been activity within the last 7 days, you may want to find a different issue to work on.
3444

3545
## Contribution process
3646

3747
Once you've found an issue you'd like to work on, please follow these steps to make your contribution:
3848

3949
1. Comment on it and say you're working on that issue. This is to avoid conflicts with others also working on the issue.
40-
* A project maintainer may mark the issue with an `in progress` label at this point, but we don't always get around to that.
4150
2. Write your code and submit your pull request. Be sure to read and follow our **[pull request guidelines](/contributing-code/pr-guidelines/)**!
4251
3. Wait for code review and address any issues raised as soon as you can.
4352

content/contributing-code/github-repo-guidelines/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ All GitHub repositories should have the following items to be considered fully r
3838

3939
## Standard Labels
4040

41-
All repositories must contain a set of standard labels, [listed here](https://github.com/creativecommons/ccos-scripts/blob/master/normalize_repos/labels.json), in addition to repository-specific skill labels, [listed here](https://github.com/creativecommons/ccos-scripts/blob/master/normalize_repos/skills.json).
41+
All repositories must contain a set of standard labels, [documented here](/contributing-code/repo-labels/), which comprise of common labels in addition to repository-specific skill labels.
4242
You don't have to set these up manually. The labels are [automatically managed](https://github.com/creativecommons/ccos-scripts/tree/master/normalize_repos) on all CC repositories, and so, must not be renamed.
4343

4444
Repositories may contain additional custom labels as well which will remain unaffected by the sync. It is recommended that custom labels be explained in the contribution guidelines for that project.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
_model: page
2+
---
3+
_template: page-with-toc.html
4+
---
5+
title: Repository Labels
6+
---
7+
description: To facilitate the community in finding ways to contribute that match their experiences and skillsets, we have developed a comprehensive system for labelling issues and PRs. This is an introduction to this standard labelling scheme.
8+
---
9+
body:
10+
11+
Labels consist of three fields, viz. name, description and color. Label names
12+
should have a consistent format to aid both filtering within the github UI as
13+
well as scanning visually through the list. The following format is the most
14+
suited to this task (where `` denotes a single space):
15+
16+
```
17+
<emoji>⎵<category>:⎵<name>
18+
```
19+
20+
Even label names with more than two words in the text should be separated by a
21+
single space ``.
22+
23+
## List of labels
24+
25+
An issue has many different attributes:
26+
- Priority
27+
- Status
28+
- Goal
29+
- Aspect
30+
- Skill
31+
- Talk
32+
- Friendliness
33+
34+
### *Priority
35+
36+
<div class="table-container">
37+
<table class="table is-bordered" style="table-layout: fixed;">
38+
<thead>
39+
<tr>
40+
<td colspan="5"><strong>Priority color chart</strong></td>
41+
</tr>
42+
</thead>
43+
<tbody>
44+
<tr>
45+
<td class="has-text-white" style="background-color: #b60205;">Unfavourable</td>
46+
<td class="has-text-black" style="background-color: #ff9f1c;">Negative</td>
47+
<td class="has-text-black" style="background-color: #ffcc00;">Neutral</td>
48+
<td class="has-text-black" style="background-color: #cfda2c;">Positive</td>
49+
<td class="has-text-white" style="background-color: #008672;">Favourable</td>
50+
</tr>
51+
<tr>
52+
<td class="has-text-white" style="background-color: #b60205;">#b60205</td>
53+
<td class="has-text-black" style="background-color: #ff9f1c;">#ff9f1c</td>
54+
<td class="has-text-black" style="background-color: #ffcc00;">#ffcc00</td>
55+
<td class="has-text-black" style="background-color: #cfda2c;">#cfda2c</td>
56+
<td class="has-text-white" style="background-color: #008672;">#008672</td>
57+
</tr>
58+
</tbody>
59+
</table>
60+
</div>
61+
62+
The priority of an issue is based on its impact, derived from a combination of
63+
urgency and importance. This determines the importance of the issue when sprint
64+
planning or deciding which issues to tackle next.
65+
66+
- <span class="gh-label has-text-white" style="background-color: #b60205;">
67+
🟥 priority: critical
68+
</span>
69+
- **Description:** Must be fixed ASAP
70+
- <span class="gh-label has-text-black" style="background-color: #ff9f1c;">
71+
🟧 priority: high
72+
</span>
73+
- **Description:** Stalls work on the project or its dependents
74+
- <span class="gh-label has-text-black" style="background-color: #ffcc00;">
75+
🟨 priority: medium
76+
</span>
77+
- **Description:** Not blocking but should be fixed soon
78+
- <span class="gh-label has-text-black" style="background-color: #cfda2c;">
79+
🟩 priority: low
80+
</span>
81+
- **Description:** Low priority and doesn't need to be rushed
82+
83+
### *Status
84+
85+
<div class="table-container">
86+
<table class="table is-bordered" style="table-layout: fixed;">
87+
<thead>
88+
<tr>
89+
<td colspan="5"><strong>Status color chart</strong></td>
90+
</tr>
91+
</thead>
92+
<tbody>
93+
<tr>
94+
<td class="has-text-black" style="background-color: #eeeeee;">Lighter</td>
95+
<td class="has-text-black" style="background-color: #cccccc;">Light</td>
96+
<td class="has-text-black" style="background-color: #999999;">Medium</td>
97+
<td class="has-text-white" style="background-color: #666666;">Dark</td>
98+
<td class="has-text-white" style="background-color: #333333;">Darker</td>
99+
</tr>
100+
<tr>
101+
<td class="has-text-black" style="background-color: #eeeeee;">#eeeeee</td>
102+
<td class="has-text-black" style="background-color: #cccccc;">#cccccc</td>
103+
<td class="has-text-black" style="background-color: #999999;">#999999</td>
104+
<td class="has-text-white" style="background-color: #666666;">#666666</td>
105+
<td class="has-text-white" style="background-color: #333333;">#333333</td>
106+
</tr>
107+
</tbody>
108+
</table>
109+
</div>
110+
111+
The status of the issue determines whether it is ready for work or not. Issues
112+
may not be ready to be worked on for a number of reasons and the maintainers
113+
must keep updating the labels as the situation evolves.
114+
115+
An issue, at the time of closing can have either the
116+
<span class="gh-label has-text-black" style="background-color: #cccccc;">
117+
🏁 status: ready for dev
118+
</span>
119+
or the
120+
<span class="gh-label has-text-black" style="background-color: #eeeeee;">
121+
⛔️ status: discarded
122+
</span>
123+
label based on whether it was closed with or without resolution, respectively.
124+
125+
- <span class="gh-label has-text-black" style="background-color: #cccccc;">
126+
🏁 status: ready for dev
127+
</span>
128+
- **Description:** Ready for work
129+
- <span class="gh-label has-text-black" style="background-color: #999999;">
130+
🚧 status: blocked
131+
</span>
132+
- **Description:** Blocked & therefore, not ready for work
133+
- <span class="gh-label has-text-white" style="background-color: #666666;">
134+
🧹 status: ticket work required
135+
</span>
136+
- **Description:** Needs more details before it can be worked on
137+
- <span class="gh-label has-text-black" style="background-color: #eeeeee;">
138+
⛔️ status: discarded
139+
</span>
140+
- **Description:** Will not be worked on
141+
- <span class="gh-label has-text-white" style="background-color: #333333;">
142+
🚦 status: awaiting triage
143+
</span>
144+
- **Description:** Has not been triaged & therefore, not ready for work
145+
146+
### *Goal
147+
148+
The goal of an issue is the end-result achieved when the issue is resolved. This
149+
represents the impact of the issue on the scope of the software.
150+
151+
- <span class="gh-label goal">⭐ goal: addition</span>
152+
- **Description:** Addition of new feature
153+
- <span class="gh-label goal">✨ goal: improvement</span>
154+
- **Description:** Improvement to an existing feature
155+
- <span class="gh-label goal">🛠 goal: fix</span>
156+
- **Description:** Bug fix
157+
158+
### *Aspect
159+
160+
The aspect of an issue is the side of the project that the issue deals with. A
161+
single codebase can have multiple aspects to it and knowing which ones will be
162+
touched helps contributors find relevant issues.
163+
164+
- <span class="gh-label aspect">📄 aspect: text</span>
165+
- **Description:** Concerns the textual material in the repository
166+
- <span class="gh-label aspect">💻 aspect: code</span>
167+
- **Description:** Concerns the software code in the repository
168+
- <span class="gh-label aspect">🕹 aspect: interface</span>
169+
- **Description:** Concerns end-users' experience with the software
170+
- <span class="gh-label aspect">🤖 aspect: dx</span>
171+
- **Description:** Concerns developers' experience with the codebase
172+
173+
### Skill
174+
175+
The technical skills a person is required to possess to work on the issue.
176+
Skills are a special type of label that vary by repository. Issues may not have
177+
a skill tag if no special skills are required.
178+
179+
- <span class="gh-label skill">💪 skill: &lt;skill name&gt;</span>
180+
- **Description:** Requires proficiency in '&lt;skill name&gt;'
181+
182+
### Talk
183+
184+
Issues with interaction labels do not entail any work to be done on the
185+
repository. They are for Q&A, RFCs and any other form of discussions. While both
186+
of these may appear to be too similar, triage permissions are granted to
187+
collaborators who might not have the answers to questions but by labelling them
188+
as such, they might draw a faster response from an experienced contributor who
189+
does. _In the future this category might be rendered redundant by GitHub
190+
Discussions and will be removed._
191+
192+
- <span class="gh-label talk">❓ talk: question</span>
193+
- **Description:** Can be resolved with an answer
194+
- <span class="gh-label talk">💬 talk: discussion</span>
195+
- **Description:** Open for discussions and feedback
196+
197+
### Friendliness
198+
199+
The level of friendliness a particular issue is the valency of the issue
200+
towards contributions from the community. Some issues provide a great
201+
introduction while others require a little more familiarity with the codebase.
202+
_These issues do not have the category prefix as two of them are special labels
203+
recognized by GitHub. The special ones don't have emojis either._
204+
205+
- <span class="gh-label friendliness">good first issue</span>
206+
- **Description:** New-contributor friendly
207+
- <span class="gh-label friendliness">help wanted</span>
208+
- **Description:** Open to participation from the community
209+
- <span class="gh-label friendliness">🔒 staff only</span>
210+
- **Description:** Restricted to CC staff members
211+
212+
### Miscellaneous
213+
214+
- <span class="gh-label has-background-black has-text-white">
215+
🤯 ノಠ益ಠノ彡┻━┻
216+
</span>
217+
- **Description:** Aaargh!
218+
219+
## Usage rules
220+
221+
In the above categories, some are marked with an `*` sign. Those are mandatory
222+
categories and every issue is required to have at least one label from those
223+
categories.
224+
225+
Only issues labelled with
226+
<span class="gh-label has-text-white" style="background-color: #333333;">
227+
🚦 status: awaiting triage
228+
</span>
229+
are allowed to not have all mandatory labels (seeing as they have not been
230+
triaged yet).
231+
232+
Categories not marked with an `*` are optional and it is upto the discretion of
233+
the maintainers to have apply labels from those categories to issues.

databags/repos.json

+22
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,17 @@
8383
"url": "https://github.com/creativecommons/cc-licenses",
8484
"website": null
8585
},
86+
{
87+
"created": "2020-09-08T19:18:51",
88+
"description": "",
89+
"id": 293905720,
90+
"language": null,
91+
"license": null,
92+
"name": "cc-licenses-data",
93+
"slack": "",
94+
"url": "https://github.com/creativecommons/cc-licenses-data",
95+
"website": null
96+
},
8697
{
8798
"created": "2019-06-12T18:15:54",
8899
"description": "Automated link checker for legalcode and license URLs",
@@ -1038,6 +1049,17 @@
10381049
"url": "https://github.com/creativecommons/wp-theme-creativecommons.org",
10391050
"website": null
10401051
},
1052+
{
1053+
"created": "2020-09-08T17:50:40",
1054+
"description": "[WIP] WordPress theme for openglam.org",
1055+
"id": 293885986,
1056+
"language": null,
1057+
"license": null,
1058+
"name": "wp-theme-openglam",
1059+
"slack": "",
1060+
"url": "https://github.com/creativecommons/wp-theme-openglam",
1061+
"website": null
1062+
},
10411063
{
10421064
"created": "2019-10-16T17:42:01",
10431065
"description": "",

themes/vocabulary_theme/templates/layout.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@
7676
<div class="navbar-dropdown">
7777
{% for href, title in [
7878
['/contributing-code', 'Contribution Guidelines'],
79-
['/contributing-code/projects', 'Project List'],
8079
['/contributing-code/pr-guidelines', 'Pull Request Guidelines'],
8180
['/contributing-code/github-repo-guidelines', 'GitHub Repo Guidelines'],
81+
['/contributing-code/repo-labels', 'Repository Labels'],
82+
['/contributing-code/projects', 'Project List'],
8283
['/contributing-code/usability', 'Usability'],
8384
] %}
8485
<a class="navbar-item" href="{{ href|url }}">{{ title }}</a>

themes/vocabulary_theme/templates/page-with-toc.html

+3-6
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,17 @@ <h1>{{ this.title }}</h1>
1919
{% if this.is_child_of('/contributing-code') %}
2020
<aside class="menu sidebar-menu">
2121
<ul class="menu-list">
22-
<li>
23-
<a class="{% if this.path == '/contributing-code/projects' %} is-active {% endif%} link" href="{{ '/contributing-code/projects'|url }}">Project List</a>
24-
</li>
25-
<hr class="divider">
2622
<li>
2723
<a class="{% if this.path == '/contributing-code' %} is-active {% endif%} link" href="{{ '/contributing-code'|url }}">Contribution Guidelines</a>
2824
<ul>
29-
<li><a class="{% if this.path == '/contributing-code/pr-guidelines' %} is-active {% endif%} link" href="{{ '/contributing-code/pr-guidelines'|url }}"><i class="icon circle-filled"></i>PR Guidelines</a></li>
25+
<li><a class="{% if this.path == '/contributing-code/pr-guidelines' %} is-active {% endif%} link" href="{{ '/contributing-code/pr-guidelines'|url }}"><i class="icon circle-filled"></i>Pull Request Guidelines</a></li>
3026
<li><a class="{% if this.path == '/contributing-code/github-repo-guidelines' %} is-active {% endif%} link" href="{{ '/contributing-code/github-repo-guidelines'|url }}"><i class="icon circle-filled"></i>Github Repo Guidelines</a></li>
27+
<li><a class="{% if this.path == '/contributing-code/repo-labels' %} is-active {% endif%} link" href="{{ '/contributing-code/repo-labels'|url }}"><i class="icon circle-filled"></i>Repository Labels</a></li>
3128
</ul>
3229
</li>
3330
<hr class="divider">
3431
<li>
35-
<a class="link" href="{{ '/contributing-code/cc-search'|url }}">CC Search</a>
32+
<a class="{% if this.path == '/contributing-code/projects' %} is-active {% endif%} link" href="{{ '/contributing-code/projects'|url }}">Project List</a>
3633
</li>
3734
<hr class="divider">
3835
<li>

webpack/sass/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ pre {
100100
}
101101
}
102102

103+
103104
// Sticky utility function
104105
.sticky-top {
105106
position: sticky;

0 commit comments

Comments
 (0)