Skip to content

Surface outdated gh during repo configure#1048

Merged
codeforester merged 1 commit into
mainfrom
feat/1047-20260624-gh-outdated-repo-configure
Jun 24, 2026
Merged

Surface outdated gh during repo configure#1048
codeforester merged 1 commit into
mainfrom
feat/1047-20260624-gh-outdated-repo-configure

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add a best-effort Homebrew freshness check for gh during non-dry-run basectl repo configure.
  • Warn users to run basectl setup --profile dev when Homebrew reports gh is outdated.
  • Cover stale, current, and unavailable Homebrew states in repo configure Bats tests.

Validation

  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash bats cli/bash/commands/basectl/tests/repo.bats --filter "warns when Homebrew-managed gh is outdated" (expected failure before implementation)
  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash bats cli/bash/commands/basectl/tests/repo.bats --filter "Homebrew-managed gh|gh freshness"
  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash bats cli/bash/commands/basectl/tests/repo.bats
  • env -u BASE_HOME BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash ./bin/base-test
  • git diff --check

Fixes #1047

@codeforester codeforester marked this pull request as ready for review June 24, 2026 15:12
@codeforester codeforester requested a review from a team as a code owner June 24, 2026 15:12
@codeforester codeforester merged commit ab2afd4 into main Jun 24, 2026
18 checks passed
@codeforester codeforester deleted the feat/1047-20260624-gh-outdated-repo-configure branch June 24, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Surface outdated gh during repo configure

1 participant