ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.35k stars 324 forks source link

Multiple GIT repositories #155

Closed rohits-page closed 6 years ago

rohits-page commented 6 years ago

I am having issues running gitinspector over multiple repositories. How do I run gitinspector over multiple repositories and get a comprehensive view of developer activity?

Thanks!

adam-waldenberg commented 6 years ago

Hi @rohits-page. You just specify the relative or absolute path on the command line to each repository. Gitinspector will then merge these together into a report.

rohits-page commented 6 years ago

Thanks. So if I have 100 repositories, do I specify all 500 entries? Is there a way to specify the root folder and let the script identify the repositories? Will it be possible for you to share an example?

Thanks

On Wed, Aug 30, 2017, 3:18 PM Adam Waldenberg notifications@github.com wrote:

Hi @rohits-page https://github.com/rohits-page. You just specify the relative or absolute path on the command line to each repository. Gitinspector will then merge these together into a report.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ejwa/gitinspector/issues/155#issuecomment-326135227, or mute the thread https://github.com/notifications/unsubscribe-auth/AbaMUsNmY8atyhyVgS7W6JKO1q8loFbHks5sdd-mgaJpZM4PIBlu .

adam-waldenberg commented 6 years ago

@rohits-page

No, there is no recursion. Implementing recursion would probably introduce unforeseen side-effects. If you want to check 100 repos, you need to specify all of them. You can always make a script to take care of the recursion if you like.

The merging is somewhat explained if you specify "--help" and read the documentation (or in the man page) - basically, you just do,

gitinspector [repo1] [repo2] [repo3]...