Test the connection to a git repository without cloning it
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
How can I test the connection to a git repository without cloning it?
I have a UI where the user fills in the data for connecting to a git repository. After they click on connect, I want to check if they can connect to the specified repository without cloning it, as cloning can take several minutes or even hours and happens in the background in a queue.
Is there any way to do this in pygit2?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names pygit2 and libgit2 but no source file, test, or entry point. Start by reviewing pygit2's existing repository and remote-connection APIs, then determine whether an established operation can verify access without cloning; done should include a documented or tested way to perform that check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100