ux(clone): clone public repos unauthenticated; prompt for auth only when the remote actually requires it #163
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cloning a public repo fails today when nothing is configured:
That is backwards for the most common first-contact flow: a public clone needs no credentials at all, and demanding
auth loginbefore the very first command a new user runs is a wall in front of the front door (the double "not configured: not configured" wrapping is its own small bug).Ask
madtea clone <url>attempts the clone unauthenticated first (or detects repo visibility via the unauthenticated API) and succeeds for public repos with zero configuration.auth loginfor that forge (interactive), or name it in the error (non-interactive) - then proceed with the clone after login rather than making the user re-run it.Acceptance
madtea clone <public https url>succeeds.auth login; after login the clone completes.