Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Git Commit Reader #45

Open
3 tasks
mariugul opened this issue Sep 21, 2024 · 0 comments · May be fixed by #46
Open
3 tasks

Add Git Commit Reader #45

mariugul opened this issue Sep 21, 2024 · 0 comments · May be fixed by #46
Assignees

Comments

@mariugul
Copy link
Owner

mariugul commented Sep 21, 2024

Research on git wrappers like GitPython and pygit2 using libgit seems to introduce too much of a dependency. All I need is to read commits and not much more than that. Therefore, subprocessing git commands seems the best way.

This of course assumes git is present on the system. The git dependency should not be a problem, because who would want to lint their commits with comeit if they don't have git installed? 😄

Ideas

  • Limit the number of commits to output. -n <number>, --max-count=<number>
  • Show commits more recent than a specific date. --since=<date>, --after=<date>
  • Show commits older than a specific date. --until=<date>, --before=<date>
@mariugul mariugul self-assigned this Sep 21, 2024
@mariugul mariugul linked a pull request Sep 22, 2024 that will close this issue
@mariugul mariugul linked a pull request Sep 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant