Description
As discussed a bit in apertium/apertium-init#51, we probably want badges for the monolingual and pair repos. But how should they look? Time for bikeshedding!
I've implemented a proof-of-concept https://github.com/apertium/apertium-stats but that's a very thin wrapper around the existing scripts. I don't expect that repo or code to survive, hence why this issue is filed here. E.g., https://github.com/mr-martian/apertium-lint might be a better place for this kind of statistics gathering.
But to get the conversation started properly, I've added this to the nightly builder so that each successful build of a language or pair will yield statistics for that commit and update the badges.
E.g., for apertium-kaz:
For apertium-ote:
For apertium-pt-gl:
- https://apertium.projectjj.com/pkg-stats/apertium-pt-gl/ which has JSON statistics for each point in history.
All subject to change. Should it look like that? Probably not. Should it be stored there? Absolutely not. Are these the stats we want?
But this works. Adjusting it and storing everything on apertium.org instead is easy. Stuffing the statistics into a service is similarly easy.
@sushain97 @ftyers @unhammer @flammie @IlnarSelimcan @mr-martian @xavivars