Skip to content

Commit 058da4e

Browse files
authored
Use the new set of labels (#274)
The labels have been updated to better reflect the current state of the project. Update all labels-related configuration to reflect this change. Also for the labeler configuration add some missing files that were not being labeled at all.
2 parents 68056e2 + f60ff71 commit 058da4e

File tree

6 files changed

+24
-15
lines changed

6 files changed

+24
-15
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ body:
5151
- Unit, integration and performance tests (part:tests)
5252
- Build script, CI, dependencies, etc. (part:tooling)
5353
- Channels, `Broadcast`, `Anycast`, etc. (part:channels)
54-
- Select (part:select)
55-
- Utility receivers, `Event`, `FileWatcher`, `Timer`, etc. (part:receivers)
54+
- Core types (`Sender`, `Receiver`, exceptions, etc.) (part:core)
55+
- Utilities (`Event`, `FileWatcher`, `Timer`, etc.) (part:utilities)
56+
- Synchronization of multiple sources (`select()`, `merge()`, etc.) (part:synchronization)
5657
validations:
5758
required: true
5859
- type: textarea

.github/keylabeler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ caseSensitive: true
1313
# Explicit keyword mappings to labels. Form of match:label. Required.
1414
labelMappings:
1515
"part:channels": "part:channels"
16+
"part:core": "part:core"
1617
"part:docs": "part:docs"
17-
"part:receivers": "part:receivers"
18-
"part:select": "part:select"
18+
"part:synchronization": "part:synchronization"
1919
"part:tests": "part:tests"
2020
"part:tooling": "part:tooling"
21+
"part:utilities": "part:utilities"
2122
"part:❓": "part:❓"

.github/labeler.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,22 @@
4242
- "src/frequenz/channels/_anycast.py"
4343
- "src/frequenz/channels/_broadcast.py"
4444

45-
"part:receivers":
45+
"part:core":
4646
- changed-files:
4747
- any-glob-to-any-file:
48-
- "src/frequenz/channels/_merge.py"
49-
- "src/frequenz/channels/_merge_named.py"
50-
- "src/frequenz/channels/event.py"
51-
- "src/frequenz/channels/file_watcher.py"
52-
- "src/frequenz/channels/timer.py"
48+
- "src/frequenz/channels/_exceptions.py"
49+
- "src/frequenz/channels/_receiver.py"
50+
- "src/frequenz/channels/_sender.py"
5351

54-
"part:select":
52+
"part:synchronization":
5553
- changed-files:
5654
- any-glob-to-any-file:
55+
- "src/frequenz/channels/_merge.py"
5756
- "src/frequenz/channels/_select.py"
57+
58+
"part:utilities":
59+
- changed-files:
60+
- any-glob-to-any-file:
61+
- "src/frequenz/channels/event.py"
62+
- "src/frequenz/channels/file_watcher.py"
63+
- "src/frequenz/channels/timer.py"

docs/user-guide/receiving/multiple-sources/index.md renamed to docs/user-guide/receiving/synchronization/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Multiple Sources
1+
# Synchronization of Multiple Sources
22

3-
If you need to receive values from multiple sources it can be complicated, as
4-
you probably want to get the first message of each receiver as soon as it is
5-
available. A naive approach like this will not work:
3+
If you need to receive messages from multiple sources in a synchronized way it
4+
could be difficult to, for example, receive the first message of each receiver
5+
as soon as it is available in one single task. A naive approach like this will
6+
not work:
67

78
```python
89
receiver1: Receiver[int] = channel1.new_receiver()
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)