You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the production instance, you'll need to clone and run an instance of
79
+
[bugzilla-graphql-gateway][bz-gateway].
75
80
76
81
## Adding a project
77
82
78
-
Codetribute can read from both GitHub and Bugzilla. Regarding the latter, bugs with the `good-first-bug` keyword and mentored bugs will appear in the list.
79
-
To add a new entry to the site, create a file `<project-name>.yml` in `src/data` using the [template example](#template-example) as the initial setup.
80
-
For inspiration, check out the [Taskcluster](https://github.com/mozilla-frontend-infra/codetribute/blob/main/src/data/taskcluster.yaml) yaml file.
83
+
Codetribute can read from both GitHub and Bugzilla. Regarding the latter, bugs
84
+
with the `good-first-bug` keyword and mentored bugs will appear in the list.
85
+
86
+
To add a new entry to the site, create a file `<project-name>.yml` in `src/data`
87
+
using the [template example](#template-example) as the initial setup.
88
+
For inspiration, check out the [Taskcluster][taskcluster-example] yaml file.
_Note: The `summary` and `introduction` fields are to be rendered as markdown, allowing for bullet points, links and other simple formatting._
137
+
138
+
_Note: The `summary` and `introduction` fields are to be rendered as markdown,
139
+
allowing for bullet points, links and other simple formatting._
123
140
124
141
#### Project Icons
125
142
126
-
Each project should have an icon associated to it to be displayed on the home page. To pick an icon, you could either:
127
-
1. Include an icon in `src/images/projectIcons`. The icon should have the same name as its configuration file
128
-
and have the image extension set as `.svg`.
129
-
2. Pick an icon from [materialdesignicons](https://materialdesignicons.com) and include its name in the `icon` field of the yaml file.
143
+
Each project should have an icon associated to it to be displayed on the home
144
+
page. To pick an icon, you could either:
145
+
146
+
1. Include an icon in `src/images/projectIcons`. The icon should have the same
147
+
name as its configuration file and have the image extension set as `.svg`.
148
+
2. Pick an icon from [materialdesignicons](https://materialdesignicons.com) and
149
+
include its name in the `icon` field of the yaml file.
130
150
131
151
### Best Practices
132
152
133
153
Below is information about how to get a bug or issue appear on the site.
134
154
135
155
#### GitHub
136
156
137
-
Codetribute will read the `repositories` field from the yaml file and will take extract the issues that match the repository labels.
157
+
Codetribute will read the `repositories` field from the yaml file and will take
158
+
extract the issues that match the repository labels.
138
159
139
160
_Example: Display servo issues tagged with the label *E-easy*_
140
161
141
162
```yaml
142
-
repositories:
163
+
repositories:
143
164
- servo/servo: E-easy
144
165
```
145
166
146
-
_Example: Display telemetry-dashboard issues tagged with either the *mentored* or *good first issue* label_
167
+
_Example: Display telemetry-dashboard issues tagged with either the *mentored* or
168
+
*good first issue* label_
147
169
148
170
```yaml
149
171
repositories:
150
172
- mozilla/telemetry-dashboard: ['mentored', 'good first issue']
151
173
```
152
174
153
-
For the `/languages/:language` route, we get issues from repositories whose primary language is the language selected & tagged with labels specified in yaml files
154
-
or any issues across Github repositories with the language lowercased as the label (e.g., `javascript`).
175
+
For the `/languages/:language` route, we get issues from repositories whose
176
+
primary language is the language selected & tagged with labels specified in yaml
177
+
files or any issues across Github repositories with the language lowercased as
178
+
the label (e.g., `javascript`).
155
179
156
180
#### Bugzilla
157
181
158
-
Codetribute will read the `products` field from the yaml file and will extract bugs with keyword `good-first-bug`. Here are some ways to display bugs on the site.
182
+
Codetribute will read the `products` field from the yaml file and will extract
183
+
bugs with keyword `good-first-bug`. Here are some ways to display bugs on the
184
+
site.
159
185
160
186
_Example: Display all Taskcluster bugs with keyword *good-first-bug*_
161
187
162
188
```yaml
163
-
products:
189
+
products:
164
190
- Taskcluster
165
191
```
166
192
167
-
_Example: Display Taskcluster bugs that are under either the Tools component or the Queue component with keyword *good-first-bug*_
193
+
_Example: Display Taskcluster bugs that are under either the Tools component or
194
+
the Queue component with keyword *good-first-bug*_
168
195
169
196
```yaml
170
197
products:
@@ -178,7 +205,14 @@ products:
178
205
## Contributing
179
206
180
207
This project welcomes contributors. If you are interested, please feel free to
0 commit comments