Version update fails on non-standard SHELL
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Start in internal/update/update.go around line 120 and reproduce with a non-standard SHELL such as es or rc using flyctl version update. Trace how the updater selects the shell for the curl installer command. Done means the command uses /bin/sh when available and only falls back to SHELL when /bin/sh does not exist, without passing incompatible quoting to curl.
Written by the indexing model from the issue text.
Description
; ~/.fly/bin/flyctl version update
Update available 0.0.426 -> v0.0.487.
Run "flyctl version update" to upgrade.
/usr/local/bin/es -c
Running automatic update [curl -L "https://fly.io/install.sh" | sh]
curl: (3) URL using bad/illegal format or missing URL
Error exit status 1
This happens because es (and rc) use single quotes only, so the double quotes here are passed to curl. I'd suggest that this logic:
should instead default to /bin/sh, and only fall back on SHELL if /bin/sh doesn't exist.
- Dominant language
- Go
- Stars
- 1.7k
- Forks
- 311
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 78
Contributor 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 superfly/flyctl
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100