techstartucalgary / tsu-website

The official repository for Tech Start UCalgary's website
https://techstartucalgary.com
MIT License
7 stars 7 forks source link

Automatize collaborators #362

Open kamadorueda opened 2 years ago

kamadorueda commented 2 years ago

I noticed that collaborators are updated by hand, however, this could be automatized by a GitHub Action, or any other periodic task

The easiest I can think of is simply running git log --format="%aN" --since="$(date -d1m --iso=d)" | sort | uniq and then push a commit with the changes to GitHub. That would give us the authors of commits in the repository since the last month, that file can then be linked to from the README, and can also keep track of the authors that contributed in a given month.

A more elaborated automatization would be using: https://github.com/ejwa/gitinspector

An even more elaborated version of this would be collecting stats from all the club projects, and offering badges like "Active club member Summer 2022" if certain criteria is met. This could also help motivate members to be more active, same as graduating "Cum Laude" or being in "the Den's list" motivates students to have good grades

kamadorueda commented 2 years ago

https://en.wikipedia.org/wiki/Need_theory