Get tag types
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
I was trying to do the equivalent of git for-each-ref refs/tags and get which tags are lightweight and which ones are annotated. The closest that I could find was repo.references.iterator(ReferenceFilter.TAGS), but all had the same type.
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 with repo.references.iterator(ReferenceFilter.TAGS) and inspect how tag references are currently exposed. Determine how the iterator can distinguish lightweight tags from annotated tags, then verify that both kinds report their correct type through the Python bindings. Done means callers can enumerate tags and tell which category each tag belongs to.
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
- 35/100