Skip to content

svcorg/Contraband

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Contraband

Intro

Contraband is a tool that helps the scholarship committee reviewers who need developer contribution statistics while reviewing applications for Wikimedia events to get the contributions of the developer from two different platforms

  1. Gerrit
  2. Phabricator

and represent them in the form of graphs and user contribution activity.

Apart from scholarship committee reviewers, the tool can also be used by all others to view the contributions of the user for the Wikimedia Foundation.

Technologies used: Django, Reactjs

How to use the tool?

To get a user statistics, the Fullname, Gerrit username and phabricator username of the user has to be provided. Full names, Gerrit username, Phabricator username of multiple users can be provided once. Bulk adddition can also be done using the csv file.

The tool creates a query with the usernames provided. Each query has a hash associated with it and each of the queries has a lifetime of 30 days.

While displaying the result, the tool paginates the usernames given and each page displays the contributions and statistics of a single user. There will be a next and previous option provided to get the contributions of next and previous users.

In default, the tool searches for all the contributions of the user in the past one year. This behaviour can be changed by updating the time stamp filter. There is also another filter provided to track the type of issue (like merged, open etc).

Installation

Initially, clone the repo with the command

git clone https://github.com/rammanoj/Contraband.git

The tool has two different components i.e Backend and Frontend Each of them has their own installation instructions.

Backend installation file | Frontend installation file

API

The API documentation of the tool is avialable here.

License

About

tool to track developer activity in Wikimedia Foundation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.0%
  • Python 35.0%
  • CSS 4.9%
  • HTML 1.1%