DSACMS / metrics

Experimentations in Open Source Repository Metrics
https://dsacms.github.io/metrics/
Other
6 stars 2 forks source link

Seperate Fetch Action From Generation of Reports and Graphs #137

Closed IsaacMilarky closed 1 month ago

IsaacMilarky commented 2 months ago

Seperate Fetch Action From Generation of Reports and Graphs

Problem

Right now the script that fetches metric data is directly coupled with the part of the script that generates visualizations, reports and graphs. This is bad for maintaining the site in the long run as you would need to re-collect data in order to re-generate a report or a graph which is not ideal.

Solution

I have separated the script into three separate scripts; one to fetch data, one to generate reports, and one to generate graphs.

Result