pizza-cli icon indicating copy to clipboard operation
pizza-cli copied to clipboard

Spike: investigate inspecting commit counts from gitlab

Open jpmcb opened this issue 8 months ago • 0 comments

Type of feature

🍕 Feature

Current behavior

We have the user-contributions command and it inspects the OpenSauced API to get number of commits / prs created / etc. for a given repository. But this really only works with GitHub data (since the API is primarily GitHub based).

But we could use some of the packages from pizza to ingest a gitlab repository, inspect it's commits, and build a contribution chart from those commits

❯ pizza insights user-contributions https://gitlab.com/gitlab-org/gitlab

Warning: inspecting gitlab repository - experimental feature

https://gitlab.com/gitlab-org/gitlab
Commiter email         Commits
[email protected]  15
[email protected]      7
[email protected]        22

Suggested solution

No response

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Contributing Docs

  • [X] I agree to follow this project's Contribution Docs

jpmcb avatar Oct 26 '23 21:10 jpmcb