fish completions are broken
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by locating the fish completion output for cpak completion fish and the definitions for --mask-state and --device-dri. Check how their descriptions are quoted and compare with the other generated descriptions. The issue is resolved when fish --no-config --command 'cpak completion fish | source' runs without the reported errors.
Written by the indexing model from the issue text.
Description
cpak version: v2.14.18
Running this fails: fish --no-config --command 'cpak completion fish | source'
There are 2 types of errors it can give. 1. complete: too many arguments and 2. fish: Unknown command: foobar. Both are the result of the 1st one!
These 2 lines both have an unescaped ' inside the -d '[...] description. This completely breaks parsing of the following lines allow for the Unknown command errors.
complete -c cpak -n '__fish_seen_subcommand_from spawn' -l mask-state -d 'a directory holding cpak's own state, to hide inside any grant that contains it'
complete -c cpak -n '__fish_seen_subcommand_from x11-broker' -l device-dri -d 'allow the package's granted DRI device access'
- Dominant language
- Go
- Stars
- 218
- Forks
- 5
- Avg merge
- 45m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a 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 Containerpak/cpak
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Containerpak/cpak#93 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Containerpak/cpak#90 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Containerpak/cpak#89 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Containerpak/cpak#88 ·
-
[Feature] Ability to install applications sytem wide (Like how you can do it with `flatpak --system`Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Containerpak/cpak#81 ·
All issues in Containerpak/cpak
Similar issues
-
Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
projectdiscovery/httpx#2735 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
charmbracelet/huh#849 ·
-
help wanted stage/010-actionable
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
hivecommons/hive#18458 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
suzuki-shunsuke/tfcmt#2636 ·
Maintainers usually reply within 1 day
-
ui: links opened in a new tab omit the public URL path prefix (e.g. rotations on a schedule's assignments page)Possibly taken @dginther claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day