From Fedora Project Wiki

< GSOC 2014

Revision as of 09:15, 16 March 2014 by Charul (talk | contribs)

Template:TNT

Project Title : Shumgrepper

Personal Information


Goal

Shumgrepper is a web app built on the top of Summershum. Summershum is a project that collects md5sum, sha1sum and sha521sum of every file present in every package. This can be used to check how many packages have the full GPL license, how many files contains a particular hash sum in all Fedora or to check the database in taskotron test, etc.

I will develop the web-frontend and json/api for the data generated by summershum. It will integrate most of the features of datagrepper. It will involve UI improvement to it in order to display the data generated by summershum. Apart from this the website will be vulnerable to DDoS attack, it will involve taking appropriate measures to mitigate its effect. Also it contains secure hash keys which needs to be protected.


Project details

The project will mainly be divided into 5 phases.

Phase 1: Query building for Database

This includes linking shumgrepper with the database of summershum, reading and querying the database.

  • Deciding various arguments(filtering arguments, paging argument and formatting arguments) and their parameters.

-- One of the filtering arguments can be ‘filename’ which takes filename as value.
-- Some other arguments can be ‘pkgname’ (takes package_name as value), tarfile, date,md5sum, sha256sum, sha1sum.

  • Add methods in summershum that will return data according to argument requested.
  • Format returned data in machine readable output like csv, json

Phase 2: Web API Wrapper of the app

The development in this part enable shumgrepper return json data when httpie request is made on terminal. This will be implemented using flask framework. It involves defining various end-points of the app.