No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
<br/> | <br/> | ||
;Why do you want to work with the Fedora Project? | ;Why do you want to work with the Fedora Project? | ||
Fedora is my favorite Linux distro. I worked on a fedora project in past 3 months and get to learn | Fedora is my favorite Linux distro. I worked on a fedora project in past 3 months and get to learn during it. I also enjoy fedora community a lot, find everyone helping and always encouraging. Till now, I have contributed to one project only. But I am looking forward to work more and in future i want to contribute to many other projects also. | ||
;Do you have any past involvement with the Fedora project or another open source project as a contributor? | ;Do you have any past involvement with the Fedora project or another open source project as a contributor? | ||
Line 40: | Line 40: | ||
;Why should we choose you over other applicants? | ;Why should we choose you over other applicants? | ||
I have 3 years experience of coding in Python language which is basic required skill of the project. Project Shumgrepper will integrate most of the features of project Datagrepper. I have already worked on Datagrepper project and have better understanding of | I have 3 years experience of coding in Python language which is basic required skill of the project. Project Shumgrepper will integrate most of the features of project Datagrepper. I have already worked on Datagrepper project and have better understanding of it. This project will involve developing the web-front end using python frameworks and I am already familiar with it. This makes me a strong candidate for this project. | ||
;Did you participate with the past GSoC programs, if so which years, which organizations? | ;Did you participate with the past GSoC programs, if so which years, which organizations? | ||
Line 61: | Line 61: | ||
| style="border: 0px solid white;" | | | style="border: 0px solid white;" | | ||
I am [http://www.mozilla.org/en-US/contribute/studentambassadors/ Firefox Student Ambassador] of my college and is involved in raising awareness about Open Source Software, FOSS organisation, Mozilla and its various products. | I am [http://www.mozilla.org/en-US/contribute/studentambassadors/ Firefox Student Ambassador] of my college and is involved in raising awareness about Open Source Software, FOSS organisation, Mozilla and its various products. | ||
I have always been involved in inspiring friends and juniors to contribute to open source projects. I have also given a talk in my institute to | I have always been involved in inspiring friends and juniors to contribute to open source projects. I have also given a talk in my institute to encourage people to apply for 'GSoc and OPW'. Besides this I have also organized many other coding events. | ||
Apart from this, I am always interested to get more and more women involved in free and open source software. | Apart from this, I am always interested to get more and more women involved in free and open source software. | ||
Line 207: | Line 207: | ||
* This may require making amendments in the app. | * This may require making amendments in the app. | ||
* As part of integration, I will first integrate it on [https://apps.fedoraproject.org/packages/guake guake] | * As part of integration, I will first integrate it on [https://apps.fedoraproject.org/packages/guake guake] | ||
* Guake is | * Guake is drop-down terminal made for GNOME desktop environment and is built using mainly python and C. | ||
* If time permits, i would try to integrate and test the app on other applications as well. | * If time permits, i would try to integrate and test the app on other applications as well. | ||
Line 255: | Line 255: | ||
|- | |- | ||
| June 15 - June 23 (9 days) | | June 15 - June 23 (9 days) | ||
| Begin working on Phase III(Web- | | Begin working on Phase III(Web-Front end). | ||
|- | |- | ||
| June 24 - June 27 | | June 24 - June 27 | ||
Line 261: | Line 261: | ||
|- | |- | ||
| June 28 - July 3 (1 week) | | June 28 - July 3 (1 week) | ||
| Continue Phase III(Web- | | Continue Phase III(Web-Front end) which involve improving the front page and embedding security features. | ||
|- | |- | ||
| July 4 - July 10 (1 week) | | July 4 - July 10 (1 week) |
Revision as of 03:27, 20 March 2014
Project Title : Shumgrepper
Contact Information |
|
About Me |
Fedora is my favorite Linux distro. I worked on a fedora project in past 3 months and get to learn during it. I also enjoy fedora community a lot, find everyone helping and always encouraging. Till now, I have contributed to one project only. But I am looking forward to work more and in future i want to contribute to many other projects also.
Yes, I have contributed to Datagrepper project and Fedora-Packages.
I have 3 years experience of coding in Python language which is basic required skill of the project. Project Shumgrepper will integrate most of the features of project Datagrepper. I have already worked on Datagrepper project and have better understanding of it. This project will involve developing the web-front end using python frameworks and I am already familiar with it. This makes me a strong candidate for this project.
No, I am applying to GSoC for the first time.
I have learnt a lot in these 3 months. I would love to work more on other fedora projects.
In early May our summer vacation of college will start and ends by late of July; I can give my full time commitment to this project,. I assure dedication of at least 40 hours per week to the work and that I do not have any other obligations from early May till mid August. |
Past Experience |
I am Firefox Student Ambassador of my college and is involved in raising awareness about Open Source Software, FOSS organisation, Mozilla and its various products. I have always been involved in inspiring friends and juniors to contribute to open source projects. I have also given a talk in my institute to encourage people to apply for 'GSoc and OPW'. Besides this I have also organized many other coding events. Apart from this, I am always interested to get more and more women involved in free and open source software. |
OPW internship: Fedora-Datagrepper |
Link to pull requests: |
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. It will bring up lot of new possibilities to developers, system administers and commiters by allowing them to verify the integrity and authenticity of a tarball, package or a individual source file. Not only this, it will help them in identifying changes made in packages and bundles by comparing check-sums. I will develop JSON/API along with Web front-end for the data generated by summershum. It will integrate most of the features of datagrepper along with user friendly real time visualization tool that will show ongoing changes in package hashes. The final web-app developed will be vulnerable to various attack like DDos, So I will ensure security against it by taking appropriate security preventive measures. |
Project Details |
The project will mainly be divided into 5 phases.
|
Phase 1: Query building for Database |
In this phase of development I will add methods that will query summershum database to get required data.
-- One of the filtering arguments can be ‘filename’ which takes filename as value. http get https://apps.fedoraproject.org/shumgrepper?pkg_name=java-1.8.0-openjdk &filename=/jdk8/jdk/test/java/rmi/reliability/juicer/OrangeImpl.java The above query will return output in json form. Sample output will be: {"sha265sum":36828180b4cc683a13c2192fa0cf20aad0cdbc6ef194a40f6d20047b68a02c1c,"sha1sum":00014cdb3441f22fc1bcece2f94f29c29ab77fb2,
|
Phase 2: Web API Wrapper of the app |
The development in this part is involved with defining the web API wrapper which involves:
The implementation will be done using Flask framework as flask implements a WSGI application that allows you to easily create RESTful web services and make GET(as shown in phase 1) and POST request. Sample directory structure of the app: shumgrepper\ shumgrepper\ static\ css\ views.css templates\ index.html docs\ __init__.py views.py util.py summershum.models\ # files containing methods that will query summershum fedmsg.d\ # display fedmsg messages in human readable format run.py setup.py Flask has a great similarity with MVC architecture as it contains view (templates), controller (views.py) and the model (summershum). views.py contains definition for various end-points. |
Phase 3: Web-Frontend |
In this part of development my aim is to build user-friendly web interface. For this, I will use mako template library to build the web-front end for end-points defined in the earlier phase. Apart from this I will also design and build the front page of the app. As discussed earlier the website is suspected to various attack. One of the prominent can be DDoS attack. In order to prevent it, it is important to distinguish between legitimate website visitors and automated or malicious clients. The above mentioned strategies can be implemented in the following steps:
Figure 1: This is a sample graph showing the frequency of changes made in hashes of the file. |
Phase 4: Deployment |
In this phase i will deploy the package Shumgrepper in fedora production environment. This will enable users to install it via yum. It involves the following steps:
|
Phase 5: Integration |
It involves integrating the app on other applications and testing it
|
Deriverables |
|
Timeline | ||||||||||||||||||||||||||
|