reposense / RepoSense

Contribution analysis tool for Git repositories
https://reposense.org
MIT License
245 stars 154 forks source link

Default report on reposense/reposense shows only 5 authors #2207

Open damithc opened 4 months ago

damithc commented 4 months ago

Command java -jar RepoSense.jar --repos https://github.com/reposense/RepoSense.git --view

Expected: show authors who were active on last 30 days

Actual: Shows only five specific authors, who didn't even contribute during the last 30 days

image

No such issue with other repos e.g., java -jar RepoSense.jar --repos https://github.com/teammates/teammates.git --view image

chan-j-d commented 4 months ago

I believe this is a result of placing a default config json file that Reposense (referring to this remote repo) has in https://github.com/reposense/RepoSense/blob/master/_reposense/config.json. The default analysis configuration will be taken from there. The CLI flag to disable this should be -i.

damithc commented 4 months ago

@chan-j-d Thanks for the quick diagnosis. If the file is not being used, best to remove it (preferred). Otherwise the example command in this UG page needs to change (use a different repo for the example?)

chan-j-d commented 4 months ago

I'm in favor of removing it and I think it may be good to repurpose one of the test repos to test this instead and remove this file from this repo. It may a bit weird for users, especially new contributors to try running reposense against itself and not understanding why it's outputting what it is.