Let rulesets store information in established subscriptions
@b1conrad is already working on this.
Since Oct 20, 2022.
Assessment
This issue has not been assessed yet.
Description
Proposing a rule that selects on a wrangler:new_key_value_pair event, with attributes: Id the established subscription identifier, key a key not reserved* for subscriptions, and value an optional value (a falsy value to mean remove the key).
The rule to raise a wrangler:key_value_updated event upon successful addition/deletion to/from the established subscription, with the original attributes.
The key-value pair is for the use of the pico that sets it.
For keys that begin either "Rx_" or "Tx_", it is considered good relationship practice to also send a similar event over the subscription to the other side, with the key prefix reversed. Care must be taken to avoid initiating an infinite loop.
*Reserved subscription keys are:
["Id","Rx_role","Tx_role","Rx","Tx","Tx_host"]
- Dominant language
- TypeScript
- Stars
- 51
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Picolab/pico-engine
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Picolab/pico-engine#668 ·
-
1 - Ready bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Picolab/pico-engine#496 ·
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
Picolab/pico-engine#666 ·
-
documentation question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Picolab/pico-engine#662 ·
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Picolab/pico-engine#661 · 2 comments ·
All issues in Picolab/pico-engine
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
inabagumi/shinju-date#7406 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
umami-software/umami#4787 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day