Skip to content

feat: return structured clone commands from git adapters#92

Draft
TorstenDittmann wants to merge 1 commit intomainfrom
feat/command-clone-api
Draft

feat: return structured clone commands from git adapters#92
TorstenDittmann wants to merge 1 commit intomainfrom
feat/command-clone-api

Conversation

@TorstenDittmann
Copy link
Copy Markdown
Contributor

Summary

  • replace generateCloneCommand() string assembly with Utopia\Command composition across the shared adapter contract and the GitHub, Gitea, and GitLab adapters
  • remove shell-only clone steps by switching to git -C, git sparse-checkout set --no-cone, and PHP-side GitHub wildcard tag resolution
  • update clone tests to assert Command instances and execute them through Console::execute(...)

Testing

  • composer lint
  • composer check
  • composer test (fails in this environment because the GitHub app key and Gitea/Gogs access token test credentials are not configured)

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.

1 participant