Open h4cc opened 10 years ago
This would be very interesting. Some data form the last couple of days:
Date: 2014-07-09
Green: 1654
Yellow: 1179
Red: 9261
Date: 2014-07-13
Green: 1729
Yellow: 1222
Red: 9302
Date: 2014-07-16
Green: 1754
Yellow: 1250
Red: 9309
I suggest creating a Snapshot
entity that is updated once every day and then using ObHighcartsBundle to display a nice looking chart.
The Snapshot
entity should have properties like: date
, nbGreen
, nbYellow
, nbRed
.
Just let me know if you want me to make a PR.
@Nyholm Thanks for the suggestions, ObHighschartsBundle is looking fine and works too :)
I dont like the idea with a Snapshot
entity, because there is too much old data to be collected. That will need some more effort, because the timestamps for each PackageVersion
need to be collected first.
But after that, we will be abled to visualize HHVM Support from the very first package.
Sorry, I was not too familiar how the PackageVersion
entity was used.
Sounds great!
Mehhh, needing to recrawl about 120000 .travis.yml files, this will take some time with a hourly api limit of 5000 requests.
The graph is working, but the crawler only has 50% of the releases updated.
http://hhvm.h4cc.de/statistics/
Keep in mind, the graph is showing the accumulated number of releases and not packages.
Nice!
It would be more interesting to see packages. But still, very nice!
@Nyholm Yes, that would be great to have too.
The current graphs is showing more of a progress, while a graph showing the number of packages and states will be more like state.
Will try to build such a graph with number of packages, need a bright idea first.
@Nyholm I added a graph for the number of packages, and the accumulated number of releases. For releases a collection command needs to finish first. will take some time.
Have a look: http://hhvm.h4cc.de/statistics/
I think it looks good. :+1: It gives you a good overview. You can se that half of the packages are tested or partially tested. It looks way more promising than the graph on the start page. :smiley:
But i dont know if that numbers are correct, thats why i dont publicate it yet. I need to check the numbers against the official packagist ones: https://packagist.org/statistics
After the whole "Run on HHVM" thing and remodeling the database, this features will need some love again :heart_eyes:
Linke a graph for number of versions and state, vor number oft packages and state.