Repository navigation
Replies: 1 comment
|
Endorsing this, and supplying the one thing #8654 asked for that the proposal doesn't cover yet: access checks. Why it matters in practice. I hit exactly the failure this removes — five attempts over ten hours to clone a repository I own, each ending in "The source control operation could not be completed." The cause (a bare name rejected by Access checks. "The repositories you can see" is not one set, and the design has to pin each of these down:
Suggested shape. Request Prior art, so the questions don't loop. This direction has been implemented and closed unmerged three times: #8340 (search by name), #10214 (suggest by owner — this discussion is its follow-up), #13228 (search when cloning); the original request #8654 was closed |
Uh oh!
There was an error while loading. Please reload this page.
Problem
Add Project asks for
owner/repositorybefore it can look a GitHub repository up. If you know the owner and not the repository name, you have to leave T3 and find it elsewhere. Submittingowner/used to call lookup and fail with a generic error. #15969 stops that and asks for the full name. It does not help you find the repository.Proposal
When the GitHub Add Project field contains an owner followed by
/, and optionally the start of a repository name, show that owner's repositories as selectable rows. Choosing a row uses the existing exact lookup and clone path. Show the first 100 repositories, say when the list is cut off, and still accept a typedowner/repositoryname for anything past that cutoff.Scope
gh repo list.Out of scope: browsing past the first 100, searching all of GitHub, and GitLab, Bitbucket, Azure DevOps, or Forgejo.
Questions
Closed #10214 mixed this listing workflow with the validation fix. Julius asked for maintainer approval of this direction and scope before a separate PR. The validation-only replacement is #15969. I will open the listing PR only after that approval is explicit, and I will link it there.
All reactions