osuosl / fenestra

A dashboard displaying stats about the OSU Open Source Lab
Apache License 2.0
2 stars 3 forks source link

Average all languages in projects. #38

Closed MorganEPatch closed 7 years ago

MorganEPatch commented 7 years ago

Currently, Fenestra cycles through each project one at a time, then displays the language makeup of that individual project, while only looking at the languages Ruby, Python, Javascript, CSS, and Shell. It also only has four colors for the five languages.

In my opinion, this is non-intuitive, and it sounds like others agree with me as well. Given the title "Languages used at the OSL", the graph seems like it should display the makeup of all of our projects, so you get an overview of the organization as a whole.

This change would allow it to request the language data on all configured projects at once, and display the contribution of each language in the projects, as a percentage lines of code. I think this is a more meaningful and helpful graph.

Note: For testing, it may be helpful to change line 8 of jobs/languages.rb from 1h to like 3m.

Kennric commented 7 years ago

@LyonesGamer Can you also please update the projects list? Basically, everything in the osuosl github org that isn't a private repo should be included if it has commits in the last year or two.

+1