-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The objective is to be able to easily check current but also historical stats (such as code quality and complexity metrics) on the state of repositories.
Let's look for existing tools for this first. But if we needed to hack a minimal one for ourselves, here are some ideas:
- CI updates a hidden "tracks" file (json, yaml, csv,...) with the new stats on every CI run (maybe only successful ones)
- Alternative: Uses an API to tell a service to dump the stats in an actual DB. Probably Elastic, since has Kibana to view graphs etc. Easier to directly do analysis if we don't have to fetch files from each of the repos?
I've written a few things in umpyre, so you can accumulate/aggregate further stuff there.
But if possible, let's use others' packages instead of writing our own: Still, we can develop our own functional interface to these tools in umpyre.
What, and with what to track?
This should, of course, be parametrizable, because we will no doubt want to add and remove trackers.
Implementation-wise, this points to an architecture where we can specify the what in a config file that is separate from the code that uses the config file.
Proposals for tools to use are welcome!
Here are a few ideas: