fix(boards): emb boards sync fails on a -dev emb
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
The issue names no file, so start by locating the boards sync command implementation and the existing --ref flag handling in this Dart CLI, then trace where the tag is derived from emb's own version string. Reproduce with a -dev version to hit the HTTP 422 against the commits endpoint, and note that the --ref main escape hatch already works. Done means a -dev version resolves to main by default while the command still reports which ref it used.
Written by the indexing model from the issue text.
Description
emb boards sync fetches the board library at the tag of emb's own version. A -dev build has no tag, so it fails:
✗ Could not check emb-public at v0.7.0-dev (0.2s)
HttpException: HTTP 422 for https://api.github.com/repos/toyota-connected/emb_cli/commits/v0.7.0-dev
If this emb is newer than the published tag, pass an existing ref: emb boards sync --ref main
(run)
The workflow emb init flatpak writes installs emb from git when emb is unreleased, so this is the emb such a workflow has between releases. A -dev version could default to main, the branch it was built from, and still name the ref it used.
- Dominant language
- Dart
- Stars
- 15
- Forks
- 6
- Avg merge
- 6h 44m
- Merged PRs (30d)
- 60
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No 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 toyota-connected/emb_cli
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
toyota-connected/emb_cli#360 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 42/100
toyota-connected/emb_cli#359 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
toyota-connected/emb_cli#357 ·
Maintainers usually reply within 1 day
All issues in toyota-connected/emb_cli
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 60/100
hiddify/hiddify-app#2668 ·
Maintainers usually reply within 1 day
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ibanner56/CallersCompendium#2366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ccch1mneyyy/dsh-Go#1777 ·
Maintainers usually reply within 1 day
-
area: mobile documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CommandLineCoding/Elephant#383 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100