Add a command for port configuration
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cli, networking
Research direction
Start by locating the existing y r command and its port-configuration handling, then trace the CLI entry point for adding the proposed y l helper. Done means the examples work for individual publishers, all publishers, and all port categories, including displaying and updating port:type values in the shown formats.
Written by the indexing model from the issue text.
Description
Currently, to set up a port or to check its configuration, one has to type a lot of characters:
$ y r 125 uavcan.pub.dynamics.id
65535
$ y r 125 uavcan.pub.dynamics.id 120
120
This should be improved with a dedicated helper command ("L" is for "link"):
$ y l 125 p dynamics # Displays the port:type tuple per standard notation
65535:zubax.physics.dynamics.DoF3rdTs.1.0
$ y l 125 p dynamics 120 # Changes and displays the result
120:zubax.physics.dynamics.DoF3rdTs.1.0
$ y l 125 p # Display all publishers on this node as a dict
dynamics: 120:zubax.physics.dynamics.DoF3rdTs.1.0
dq: 65535:zubax.telega.DQ.1.0
...
$ y l 125 # Display all ports on this node
pub:
dynamics: 120:zubax.physics.dynamics.DoF3rdTs.1.0
dq: 65535:zubax.telega.DQ.1.0
sub: ...
cln: []
srv: ...
...
- Dominant language
- Python
- Stars
- 69
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No 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 OpenCyphal/yakut
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
OpenCyphal/yakut#116 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 70/100
OpenCyphal/yakut#107 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
OpenCyphal/yakut#118 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
OpenCyphal/yakut#115 ·
-
Improve UIOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
OpenCyphal/yakut#114 · 1 comment ·
All issues in OpenCyphal/yakut
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
py-econometrics/pyfixest#2072 ·
Maintainers usually reply within 1 day
-
~planning docs
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Kromatic-Innovation/athenaeum#3084 ·
Maintainers usually reply within 1 day
-
Bosch Room Thermostat II number entities offer -500 to 3000 °C setpoint limits and a -32768 to 32767 °C outdoor temperaturePossibly taken @zigpy-review-bot claimed this today. Openbot: code audit
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zigpy/zha-device-handlers#5769 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 80/100
R0Y00/Xbox2Windows#254 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kludex/python-multipart#375 ·
Maintainers usually reply within 1 day