/Chaoss-Microtasks

Primary LanguageJupyter Notebook

Chaoss-Microtasks

MicroTask1

Produce a listing of the number of new committers per month, and the number of commits for each of them, as a table and as a CSV file. Use the GrimoireLab enriched index for git.

Solution :- The code is in the MicroTask-1 directory . It contains CSV, JGP files of the output as well.

Data Retrival :- Data retirval can be done by two ways . Both the codes are in the MicroTask-1 directory.

  • By p2o.py uploading the data to ElasticSearch . and then using the ElasticSearch API's to access the data in the indices . The p2o.py can be run through terminal or in the code itself ( through subprocess Library)

  • By creating indices through ElasticSearch and uploading it through the code.

Output

Total Commits by all Authors

Total Commits by all Authors

New Commiters each month

Total Commits by all Authors

MicroTask2

Produce a chart showing the distribution of time-to-close (using the corresponding field in the GrimoireLab enriched index for GitHub issues) for issues already closed, and opened during the last six months.

Solution :- The code is in the MicroTask-2 directory . It contains CSV, JGP files of the output as well.

Data Retrival :- We Upload the data through p20.py on our localhost instance. Data Retrival is then done through the ElasticSearch/ElasticSearch_DSL API'S .

Output

Chart of time-to-close of issues

Time-to-Close

CSV file

Time-to-Close

MicroTask3

Produce a listing of repositories, as a table and as CSV file, with the number of commits authored, issues opened, and pull requests opened, during the last three months, ordered by the total number (commits plus issues plus pull requests).

Note

  • Make sure you have your LocalHost instance () ON .
  • Install all the necessary dependencies . Check this Link for further instruction for installation.