libgit2 / libgit2/pygit2

git log tag1..tag2 with pygit2

Open
#930 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.7k
Forks
408
Avg merge
2d 57m
Merged PRs (30d)
7

Description

How to do "git log tag1..tag2" with pygit2?

Is there a way to execute sh type git commands from within pygit2 or should I use other tool (subprocess.Popen)?

I just try pygit2, seems well implement but the documentation make it barely usable as we have to explore the lib base on few examples provided by ourself (it really time consuming)...

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names pygit2 and asks about reproducing a git log tag range, but it names no source file or test. Start by reviewing the pygit2 documentation and examples for revision walking and shell-command guidance; done means the supported approach or subprocess recommendation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.