ui5-community / bestofui5-data

Supply of data for the bestofui5 website
https://bestofui5.org/
Apache License 2.0
9 stars 7 forks source link

Statistics for Easy UI5 Generators #4

Open petermuessig opened 2 years ago

petermuessig commented 2 years ago

As Easy UI5 sub generators are not published to NPM an option to access statistics may be the clone count: https://docs.github.com/en/rest/metrics/traffic#get-repository-clones

This would maybe also allow us to see how often one or the other generator is used

marianfoo commented 2 years ago

the clone api can be a good indicator. Unfortunately, the history is only the last 7 days. We might have to log this ourselves.

marianfoo commented 2 years ago

with the removal of push -f it should be now possible to create a history on branch live-data

7

marianfoo commented 2 years ago

first stage is in #9 let's see if this process will collect the data like I intended it´s just collecting for now, will process the data later when this works

marianfoo commented 2 years ago

first run this morning looks promising https://github.com/ui5-community/bestofui5-data/commit/fac7b55c8bb604a36478199e720454610995889e image

marianfoo commented 2 years ago

It works, but as seen on the screenshot above, it crawls the same date the crawler is executed. Might be better to exclude the current date to get more accurate data.