Wikimedia uses [[ https://wikimedia.biterg.io/ | Bitergia's analytics ]] tool for the technical community metrics. This tool provides useful information and is convenient for community managers who are familiar with its every know-how. However, this tool is cumbersome to use for others (e.g., sponsorship committee reviewers, event organizers, etc.) as it requires too many steps to obtain statistics for a topic and there is a bit of learning curve to get comfortable with the tool.
[[ https://gerrit.wikimedia.org/g/labs/tools/awmd-stats | AWMD stats tool ]] generates monthly statistics of technical contributors to Wikimedia projects from Africa. Seeking inspiration from this tool, the goal of this project is to design and develop a proof of concept that demonstrates what an extended version of AWMD tool for use by others in the Wikimedia movement would look like. See [[https://github.com/samuelguebo/awmd-stats/issues/28|#28]] on Github.
===Project summary ===
This project is about developing a tool that gives a sneak peek into a developer’s contributions on Wikimedia platforms: Gerrit, Phabricator and Github. The first version of this tool will:
* Allow uploading data which might be a list of users with their Wikitech/Gerrit, MediaWiki/Phabricator, and Github usernames in a CSV format.
* Fetch users contributions within a specific timeframe from Gerrit, Phabricator and Github via corresponding APIs. The initial focus could be on the quantitative data and to focus on minimal criteria (e.g., for Gerrit, it could be just obtaining a number of patches merged on Gerrit for a user). Pulling data from Github might be a tough nut to crack because of various reasons, and we might be ignoring it in the first version.
* Present the information in a list and/or graphical view format with the ability to sort the data by the most active user.
This tool will be hosted on [[ https://tools.wmflabs.org/ | Toolforge ]], and you will be designing, developing and deploying it from scratch :)
=== Skills required===
Basic familiarity with Python and Web APIs
Write a program in Python to fetch for a user number of patches merged within a specific timeframe on Gerrit. Host the code in a repository on Github. Anyone can work on this task. When you've finished, add a link to your repo in a comment on this Phabricator task.
=== Get in touch with mentors on Zulip===
As a question in the topic `Phab:T202233 Developer metrics tool` under https://wikimedia.zulipchat.com/#narrow/stream/180873-gsoc19-outreachy18
=== Mentors ===
@srishakatux, @D3r1ck01, @Tuxology, maybe @samuelguebo