Skip to content

Extract workspace clone command#1495

Merged
codeforester merged 1 commit into
mainfrom
enhancement/1462-20260706-project-engine-slim
Jul 6, 2026
Merged

Extract workspace clone command#1495
codeforester merged 1 commit into
mainfrom
enhancement/1462-20260706-project-engine-slim

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Fixes #1462

Summary

  • move workspace clone orchestration from base_projects.engine into base_projects.workspace_clone_command
  • share workspace root and manifest-option resolution through base_projects.workspace_context
  • keep engine as the compatibility facade for existing clone helper imports

Validation

  • /private/tmp/base-python-train-venv/bin/python -m pytest cli/python/base_projects/tests/test_engine_structure.py -q
  • /private/tmp/base-python-train-venv/bin/python -m pytest cli/python/base_projects/tests/test_workspace_clone.py cli/python/base_projects/tests/test_workspace_init.py cli/python/base_projects/tests/test_workspace_configure.py cli/python/base_projects/tests/test_workspace_pull.py -q
  • /private/tmp/base-python-train-venv/bin/python -m pytest cli/python/base_projects/tests -q
  • /private/tmp/base-python-train-venv/bin/pylint cli/python/base_projects/engine.py cli/python/base_projects/workspace_clone_command.py cli/python/base_projects/workspace_context.py cli/python/base_projects/tests/test_engine_structure.py
  • /private/tmp/base-python-train-venv/bin/python -m compileall cli/python/base_projects
  • git diff --check
  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash BASE_CACHE_DIR=/private/tmp/base-1462-workspace-smoke bin/basectl workspace clone --workspace /Users/rameshhp/work --manifest /Users/rameshhp/work/base-workspace/workspace.yaml --dry-run

@codeforester codeforester requested a review from a team as a code owner July 6, 2026 18:27
@codeforester codeforester merged commit 6f4738f into main Jul 6, 2026
26 checks passed
@codeforester codeforester deleted the enhancement/1462-20260706-project-engine-slim branch July 6, 2026 18:30
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.

Slim the base projects command engine

1 participant