Allow checkout_branch to point to a tag in clone_repository method
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
When I try to provide a tag to the checkout_branch flag in pygit2.clone_repository(), it fails and is unable to find the reference. It would be nice to be able to checkout a tag right away (like a branch) on clone to clone a specifc release of a package
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
Start at the pygit2.clone_repository entry point and trace how checkout_branch is resolved. Compare tag handling with the existing branch behavior; done means cloning can select a specified tag immediately, with the behavior covered alongside the existing clone tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100