Skip to content

Commit 2385ea0

Browse files
authored
Remove version:xxx and add part:select and part:receivers labels (#28)
`version:xxx` was never really used and it is really hard to maintain as labels (and these affected files) need to be updated each time a version is released. We also add new the new `part:xxx` labels.
2 parents d4a3793 + fc49258 commit 2385ea0

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,14 @@ body:
2727
placeholder: What did you expect to happen.
2828
validations:
2929
required: true
30-
- type: dropdown
30+
- type: input
3131
id: version
3232
attributes:
3333
label: Affected version(s)
3434
description:
35-
Which version(s) have you tried and found this issue in? (if you see
36-
this issue **not** happening on any version, please let us know in the
37-
"Extra information").
38-
multiple: true
39-
options:
40-
- I don't know (version:❓)
41-
- An older version (version:old)
42-
- v0.1.x (version:0.1.x)
43-
validations:
44-
required: true
35+
Please add a comma-separated list of the versions affected by this
36+
issue.
37+
placeholder: 'Example: v0.11.0, v0.12.0'
4538
- type: dropdown
4639
id: part
4740
attributes:
@@ -55,7 +48,9 @@ body:
5548
- Documentation (part:docs)
5649
- Unit, integration and performance tests (part:tests)
5750
- Build script, CI, dependencies, etc. (part:tooling)
58-
- Channels implementation (part:channels)
51+
- Channels, `Broadcast`, `Bidirectional`, etc. (part:channels)
52+
- Select (part:select)
53+
- Utility receivers, `Merge`, `Timer`, etc. (part:receivers)
5954
validations:
6055
required: true
6156
- type: textarea

.github/keylabeler.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ caseSensitive: true
1414
labelMappings:
1515
"part:channels": "part:channels"
1616
"part:docs": "part:docs"
17+
"part:receivers": "part:receivers"
18+
"part:select": "part:select"
1719
"part:tests": "part:tests"
1820
"part:tooling": "part:tooling"
1921
"part:❓": "part:❓"
20-
"version:0.1.x": "version:0.1.x"
21-
"version:old": "version:old"
22-
"version:❓": "version:❓"

.github/labeler.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,13 @@
2424
- setup.py
2525

2626
"part:channels":
27-
- "src/frequenz/channels/**"
27+
- any:
28+
- "src/frequenz/channels/**"
29+
- "!src/frequenz/channels/select.py"
30+
- "!src/frequenz/channels/util/**"
31+
32+
"part:receivers":
33+
- "src/frequenz/channels/util/**"
34+
35+
"part:select":
36+
- "src/frequenz/channels/select.py"

0 commit comments

Comments
 (0)