Skip to content

Add Ubuntu prerequisite diagnostics and fix hints#1341

Merged
codeforester merged 1 commit into
mainfrom
feat/1335-20260701-ubuntu-prereq-diagnostics
Jul 1, 2026
Merged

Add Ubuntu prerequisite diagnostics and fix hints#1341
codeforester merged 1 commit into
mainfrom
feat/1335-20260701-ubuntu-prereq-diagnostics

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add Ubuntu/Debian prerequisite diagnostics for Bash, Python venv support, Git, GitHub CLI, BATS, ShellCheck, jq, and Go.
  • Keep the checks read-only with command -v, Bash version inspection, and python3 -m venv --help.
  • Emit actionable Ubuntu/Debian fix hints without invoking Homebrew or Xcode paths.
  • Assign stable BASE-D008 through BASE-D015 finding IDs and document them.

Validation

  • bats cli/bash/commands/basectl/tests/check.bats
  • bats cli/bash/commands/basectl/tests/doctor.bats
  • PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/pytest tests/test_doctor_findings_docs.py cli/python/base_setup/tests/test_diagnostics_payloads.py cli/python/base_setup/tests/test_diagnostics.py
  • shellcheck --severity=error cli/bash/commands/basectl/subcommands/setup_common.sh cli/bash/commands/basectl/tests/check.bats cli/bash/commands/basectl/tests/doctor.bats cli/bash/commands/basectl/tests/setup_helpers.bash
  • git diff --check
  • env -u BASE_HOME BASE_CACHE_DIR=/private/tmp/base-1335-base-test BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash ./bin/base-test

Fixes #1335
Part of #562

@codeforester codeforester requested a review from a team as a code owner July 1, 2026 18:13
@codeforester codeforester merged commit 2145fa4 into main Jul 1, 2026
26 checks passed
@codeforester codeforester deleted the feat/1335-20260701-ubuntu-prereq-diagnostics branch July 1, 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.

Add Ubuntu prerequisite diagnostics and fix hints

1 participant