/GNOMEGamesHealthAnalytics

A graph based application to be able to check the health of the GNOME games built using python and neo4j

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

GNOMEGamesHealthAnalytics

A graph based application to be able to check the health of the GNOME games built using python and neo4j.

  • Check which gnome modules builds are failing/passing/timing out/missing from gnome-continuous builds
  • Find out their dependencies
  • Run queries on a graph to find out what possibly broke a module. For example: Find out which dependencies are used exclusively by the failing modules as an indication that the dependency is broken.

  • Click on the image above for a demonstration on YouTube.

Motivation

See my GNOME blog post

Setup and HowTo

  1. Install python-2.7

  2. Install the following modules using pip install: resources, urllib, json, logging, py2neo

  3. Download and install Neo4j-Community Edition

  4. Clone GNOMEGamesHealthAnalytics: git clone https://github.com/sahilsareen/GNOMEGamesHealthAnalytics.git

  5. Start the Neo4j server

  6. Update GNOMEGamesHealthAnalytics/resources/games.json

  • Which modules to analyse ?
  • For which date ?
  1. Run cd GNOMEGamesHealthAnalytics/src && python GNOMEGamesHealthAnalysis.py

Contributing

  1. Generate a pull request
  2. Generate patches locally using: git format-patch -k HEAD~1 --stdout > SomeFix.patch and email patches to ssareen [AT] gnome [DOT] org

License

See License

Author

  • Sahil Sareen (ssareen [AT] gnome [DOT] org)

Bitdeli Badge