Skip to content

Conversation

@PaperHS
Copy link

@PaperHS PaperHS commented Jan 14, 2026

Added automated repository cloning functionality with smart fallback:

  • New script: clone-repo.sh for ArcSphere Android repository
  • SSH-first approach with HTTPS fallback
  • Integrated into setup.sh as optional Step 5
  • User-friendly prompts and error handling

Features:

  • Idempotent: checks if repo already exists
  • Tries SSH (git@github.com) first for better developer experience
  • Auto-fallbacks to HTTPS with clear credential instructions
  • Detailed troubleshooting guidance
  • All prompts in English for consistency

Technical design follows Linus principles:

  • Simple data structure (SSH URL, HTTPS URL, target path)
  • No special cases: sequential retry pattern
  • Never breaks userspace: pure addition, zero breaking changes
  • Practical: solves real onboarding problem

Co-Authored-By: Claude noreply@anthropic.com

@PaperHS PaperHS changed the title Add repository clone feature to android-dev-setup plugin feat: Add repository clone feature to android-dev-setup plugin Jan 14, 2026
Added automated repository cloning functionality with smart fallback:
- New script: clone-repo.sh for ArcSphere Android repository
- SSH-first approach with HTTPS fallback
- Integrated into setup.sh as optional Step 5
- User-friendly prompts and error handling

Features:
- Idempotent: checks if repo already exists
- Tries SSH (git@github.com) first for better developer experience
- Auto-fallbacks to HTTPS with clear credential instructions
- Detailed troubleshooting guidance
- All prompts in English for consistency

Technical design follows Linus principles:
- Simple data structure (SSH URL, HTTPS URL, target path)
- No special cases: sequential retry pattern
- Never breaks userspace: pure addition, zero breaking changes
- Practical: solves real onboarding problem

Co-Authored-By: Claude <noreply@anthropic.com>
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