Skip to content

Refactor dev profile helpers#1483

Merged
codeforester merged 1 commit into
mainfrom
enhancement/1464-20260705-dev-profile-helpers
Jul 6, 2026
Merged

Refactor dev profile helpers#1483
codeforester merged 1 commit into
mainfrom
enhancement/1464-20260705-dev-profile-helpers

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Extract Base dev profile normalization and manifest loading into base_dev.profiles.
  • Keep base_dev.engine re-export compatibility for existing callers.
  • Add a focused test that locks the compatibility surface.

Closes #1464

Validation

  • PYTHONPATH=lib/python:cli/python $HOME/.base.d/base/.venv/bin/python -m pytest cli/python/base_dev/tests/test_engine.py::DevManifestTests::test_engine_reexports_profile_helpers -q
  • PYTHONPATH=lib/python:cli/python $HOME/.base.d/base/.venv/bin/python -m pytest cli/python/base_dev/tests/test_engine.py -q
  • PYTHONPATH=lib/python:cli/python $HOME/.base.d/base/.venv/bin/python -m pytest cli/python/base_dev/tests -q
  • PYTHONPATH=lib/python:cli/python $HOME/.base.d/base/.venv/bin/python -m pylint cli/python/base_dev/engine.py cli/python/base_dev/profiles.py cli/python/base_dev/tests/test_engine.py
  • PYTHONPATH=lib/python:cli/python $HOME/.base.d/base/.venv/bin/python -m compileall -q cli/python/base_dev/engine.py cli/python/base_dev/profiles.py cli/python/base_dev/tests/test_engine.py
  • git diff --check
  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash BASE_CACHE_DIR=/private/tmp/base-1464-dev-smoke bin/basectl setup --profile dev --dry-run

Note

  • basectl check base --profile dev --format json reached the refactored profile code but was not used as the passing smoke because this sandbox cannot write /Users/rameshhp/.base.d/base/checks/last.json.tmp, and this host is missing some dev profile Homebrew tools.

@codeforester codeforester requested a review from a team as a code owner July 6, 2026 01:06
@codeforester codeforester merged commit 6ef23e4 into main Jul 6, 2026
26 checks passed
@codeforester codeforester deleted the enhancement/1464-20260705-dev-profile-helpers branch July 6, 2026 01:08
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.

Split base dev profile orchestration helpers

1 participant