Skip to content

Commit e8ee2bb

Browse files
committed
Use spaces + title case in default tags
1 parent f6d2396 commit e8ee2bb

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

pgcommitfest/commitfest/fixtures/commitfest_data.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"model": "commitfest.tag",
9797
"pk": 1,
9898
"fields": {
99-
"name": "bugfix",
99+
"name": "Bugfix",
100100
"color": "#a51d2d",
101101
"description": "Fixes a bug"
102102
}
@@ -105,7 +105,7 @@
105105
"model": "commitfest.tag",
106106
"pk": 2,
107107
"fields": {
108-
"name": "backport",
108+
"name": "Backport",
109109
"color": "#1a5fb4",
110110
"description": "Once merged should be backported to old branches"
111111
}
@@ -114,7 +114,7 @@
114114
"model": "commitfest.tag",
115115
"pk": 3,
116116
"fields": {
117-
"name": "missing-tests",
117+
"name": "Missing Tests",
118118
"color": "#c66424",
119119
"description": "Author should add tests"
120120
}
@@ -123,7 +123,7 @@
123123
"model": "commitfest.tag",
124124
"pk": 4,
125125
"fields": {
126-
"name": "missing-docs",
126+
"name": "Missing Docs",
127127
"color": "#c66424",
128128
"description": "Author should add documentation"
129129
}
@@ -132,7 +132,7 @@
132132
"model": "commitfest.tag",
133133
"pk": 5,
134134
"fields": {
135-
"name": "missing-benchmarks",
135+
"name": "Missing Benchmarks",
136136
"color": "#c66424",
137137
"description": "Author should do additional benchmarks"
138138
}
@@ -141,16 +141,16 @@
141141
"model": "commitfest.tag",
142142
"pk": 6,
143143
"fields": {
144-
"name": "help-user-testing",
144+
"name": "Help - User Testing",
145145
"color": "#07732e",
146-
"description": "Reviewers are requested to try out the patch and provide user feedback on behaviour UX/UI"
146+
"description": "Reviewers are requested to try out the patch and provide user feedback on UX/UI"
147147
}
148148
},
149149
{
150150
"model": "commitfest.tag",
151151
"pk": 7,
152152
"fields": {
153-
"name": "help-bikeshedding",
153+
"name": "Help - Bikeshedding",
154154
"color": "#07732e",
155155
"description": "Reviewers are requested to propose or vote on stylistic changes like a user facing function name"
156156
}
@@ -159,7 +159,7 @@
159159
"model": "commitfest.tag",
160160
"pk": 8,
161161
"fields": {
162-
"name": "help-docs",
162+
"name": "Help - Docs",
163163
"color": "#07732e",
164164
"description": "Reviewers are requested to help review or write documentation"
165165
}
@@ -168,7 +168,7 @@
168168
"model": "commitfest.tag",
169169
"pk": 9,
170170
"fields": {
171-
"name": "help-benchmarks",
171+
"name": "Help - Benchmarks",
172172
"color": "#07732e",
173173
"description": "Reviewers are requested to help discuss or do benchmarks and discuss performance impact"
174174
}
@@ -177,7 +177,7 @@
177177
"model": "commitfest.tag",
178178
"pk": 10,
179179
"fields": {
180-
"name": "good-first-review",
180+
"name": "Good First Review",
181181
"color": "#613583",
182182
"description": "An easy to review patch for a new reviewer"
183183
}

pgcommitfest/commitfest/migrations/0013_tag_patch_tags.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,49 +9,49 @@ def add_initial_tags(apps, schema_editor):
99
Tag = apps.get_model("commitfest", "Tag")
1010
Tag.objects.bulk_create(
1111
[
12-
Tag(name="bugfix", color="#a51d2d", description="Fixes a bug"),
12+
Tag(name="Bugfix", color="#a51d2d", description="Fixes a bug"),
1313
Tag(
14-
name="backport",
14+
name="Backport",
1515
color="#1a5fb4",
1616
description="Once merged should be backported to old branches",
1717
),
1818
Tag(
19-
name="missing-tests",
19+
name="Missing Tests",
2020
color="#c66424",
2121
description="Author should add tests",
2222
),
2323
Tag(
24-
name="missing-docs",
24+
name="Missing Docs",
2525
color="#c66424",
2626
description="Author should add documentation",
2727
),
2828
Tag(
29-
name="missing-benchmarks",
29+
name="Missing Benchmarks",
3030
color="#c66424",
3131
description="Author should do additional benchmarks",
3232
),
3333
Tag(
34-
name="help-user-testing",
34+
name="Help - User Testing",
3535
color="#07732e",
36-
description="Reviewers are requested to try out the patch and provide user feedback on behaviour UX/UI",
36+
description="Reviewers are requested to try out the patch and provide user feedback on UX/UI",
3737
),
3838
Tag(
39-
name="help-bikeshedding",
39+
name="Help - Bikeshedding",
4040
color="#07732e",
4141
description="Reviewers are requested to propose or vote on stylistic changes like a user facing function name",
4242
),
4343
Tag(
44-
name="help-docs",
44+
name="Help - Docs",
4545
color="#07732e",
4646
description="Reviewers are requested to help review or write documentation",
4747
),
4848
Tag(
49-
name="help-benchmarks",
49+
name="Help - Benchmarks",
5050
color="#07732e",
5151
description="Reviewers are requested to help discuss or do benchmarks and discuss performance impact",
5252
),
5353
Tag(
54-
name="good-first-review",
54+
name="Good First Review",
5555
color="#613583",
5656
description="An easy to review patch for a new reviewer",
5757
),

0 commit comments

Comments
 (0)