Open garno opened 5 years ago
I think would be important to have a cutoff configurable per project: contributors that haven't touched the repo for X months, ignore them
I think would be important to have a cutoff configurable per project
A user opt-out could also be used instead. I should be able to opt-out from a project (and maybe automatically after X weeks after my last commit?) after, for example, pushing a single small commit that only updates the README.md
file, not just wait for the automatic cutoff time period 🙂
As of now, we calculate a contributor relevancy this way :
After discussions with the team, it has been mentioned that we should review this method to reduce the importance of old commits. This way, we would select active contributors more frequently.
If I’m not mistaken, GitHub gives us the possibility to retrieve contributors activities for the last year. We could ponderate these activities in the following way :
Last 3 months
→commit_count * 4
Last 6 months
→commit_count * 2
Last 12 months
→commit_count * 1
> 12 months
→commit_count * 0.5
These numbers could be tweaked with times to see if the results are satisfying.
Bonus : In #18, we’ve introduced the concept of per-repository configuration. We could allow a project to override these default values.
Thoughts?
✌️