fedstats - A final overview

Mid term evaluations of GSoC starts today. It's been a month since it all started and I'd like to blog (brag) about what I've done so far.

To start with, here are the list of things I was assigned to work on till the mid-term and the current status of it :

  1. Statistics Tool

    • Automate Event Report Visualization
      STATUS : Check. The tool was used to gen rate user statistics for PyCon US and can be used for any future events. [Link]

    • Support for multiple formats of Output
      STATUS : Check. The tool is feature-rich with support for SVG, PNG, Text, Markdown, CSV and Gource.

    • Pull data of individual users / multiple users for reporting.
      STATUS : Check. The tool uses datagrepper to generate statistics. If it's on the datagrepper, it should be covered in the stats. Since the tool is based on arguments, stats can easily be generated for multiple users

    • Document code to help future contributors.
      STATUS : Check. The tool has a README which explains the features and the working on the tool in a concise and clear way. [Link to README]

  2. Onboarding Series

    • Identify OnBoarding badges
      STATUS : Check. The CommOps onboaring badge is now a ticket in the Design Trac.

    • Identify steps to make onboarding better
      STATUS : Check. The discussion is scattered across all the CommOps meeting that we have had in this month.


Stats-Tool : Overview


Features :

  • Gather data from datagrepper for analyzing and visualizing data.

  • Support for SVG, PNG, CSV, Markdown, Text and gource style outputs. (Working on PDF and HTML - HTML is currently halted due to a bug in the python-grip module. Waiting for the developer's response on it)

  • Generate category-wise reports (pie / donuts)

This week's work:

  • Added support for gource style outputs (Inspiration - fedmsg2gource)

  • Text output mode now branches out to two. The default text mode only prints the statistics onto a text while and when combined with --log, it dumps the category-wise activities into the text file.

  • Extended the scope of the tool by adding --start and --end arguments which take in dates in the format MM/DD/YYY. Useful for generating event reports.

  • --user=ALL argument added. This is useful pulling ALL the messages from datagrepper. To be combined with either --delta which defaults to delta of one week or --start and --end arguments.

  • Added more options to interactive mode and set defaults.

  • Code cleanup and minor enhancements.

EDIT : I have generated statistics of all the Google Summer of Code Interns for the mid term. If you are interested, take a look here and here.

Repository Statistics :

Total Issues : 13
Total Fixed : 11
Open Issues : 2 (External Bugs)