fm-bootstrap.sh does not check the gh version, but fm-contributions.sh needs gh api --slurp

Open Beginner friendly
#8,729 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
git, github, shell
Domain
devtools

Research direction

Start with the COMMON_TOOLS list and the existing gh-axi version check in bin/fm-bootstrap.sh, then read bin/fm-contributions.sh where it calls gh api with --paginate --slurp. Confirm the minimum gh version that supports --slurp before adding an OUTDATED: gh line in the same style. Done when bootstrap reports an old gh and a current gh passes.

Written by the indexing model from the issue text.

Description

ready-for-pr

Bootstrap checks that gh exists (COMMON_TOOLS) but not its version. Distribution packages can ship a gh without gh api --slurp. With such a version, bin/fm-contributions.sh (which uses --paginate --slurp) fails every poll and PR monitoring silently stops; in one home this went unnoticed until a newer gh was installed by hand.

Proposal

An OUTDATED: gh bootstrap line with a minimum version, like the existing gh-axi check. The exact minimum is unverified; --slurp appears to have arrived around gh 2.48.

Dominant language
Shell
Stars
9.1k
Forks
2.8k
Avg merge
2d 6h
Merged PRs (30d)
135

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kunchenguid/firstmate

All issues in kunchenguid/firstmate

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.