2525c58471
- Add SSH-only owner/repo clone path for git.commumedia.org - Preflight remote repository existence with git ls-remote before cloning - Keep advanced URL paste fallback and blank repository creation - Add focused backend and frontend coverage plus docs updates Quality gates: python -m py_compile, vitest run src/components/repositories-settings-tab.test.tsx, npm run typecheck
896 B
896 B
1. Backend - SSH Existence Check
- 1.1 Add
git ls-remotepreflight to repository creation ingit_repositories.py - 1.2 Build SSH clone URL from
ownerandrepoforgit.commumedia.org - 1.3 Return a clear error when the repository is missing or inaccessible
2. Frontend - Structured Clone Form
- 2.1 Update
RepositoryCreateDialogclone mode to acceptownerandrepo - 2.2 Keep advanced full-URL paste flow and blank repository fallback
- 2.3 Reuse the shared dialog from repository settings and repositories page
3. Validation and Docs
- 3.1 Update repository docs to explain SSH-only owner/repo input
- 3.2 Add tests for success, missing repo, and URL fallback behavior
4. Quality Gates
- 4.1 Run backend and frontend targeted tests
- 4.2 Run frontend typecheck and lint where applicable
- 4.3 Commit and push changes