Use `-o pipefail`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 20/100
Research direction
Inspect the repository's shell scripts and their shebangs, then reproduce the behavior on the ubuntu-24.04 GitHub Actions runner. Determine which scripts run in sh compatibility mode and whether the requested option is currently supported; done means the intended pipefail behavior is applied consistently without causing the runner failure.
Written by the indexing model from the issue text.
Description
All scripts should specify -o pipefail.
Problem right now: bash (at least on ubunut-24.04 gha runner), when is run in sh compat mode (i.e. sees the sh shebang), gets angry and quits whenever it sees -o pipefail.
Maybe in the future it gets resoved. Then I'll add -o pipefail back.
- Dominant language
- Shell
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
[arch] gate_sync.sh: stale remote tmp files on install failure; overlapping cron runs unguardedOpenarch area:fleet priority:p3 severity:low track:hosted-product
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
alunduil/alunduil-chezmoi#852 ·
Maintainers usually reply within 1 day
-
bug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MagnaCapax/PMSS#1009 ·
Maintainers usually reply within 5 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100