A small Jupyter notebook to analyse a Friendica milestone and the associated label in the addon repository for release note and CHANGELOG preparation.
Find a file
2019-12-18 10:02:31 +01:00
.gitignore added token.txt to gitignore file 2019-12-18 10:02:31 +01:00
COPYING initial commit 2019-12-18 09:56:28 +01:00
Milestone Analyse.ipynb initial commit 2019-12-18 09:56:28 +01:00
README.md initial commit 2019-12-18 09:56:28 +01:00

Milestone Analyse

This is a small jupyter notebook to do some basic data gathering and summarizing for releases of Friendica.

It will collect data from a given milestone, that you need to identify by the integer ID value in the notebook. Additionally it will collect some data from the for the milestone associated label from the friendica-addons repository.

These data will be summarized to

  • list the closed issue numbers
  • list the closed issue titles
  • list the merged pull requests and their authors sorted by bug fixes, enhancements and new features according to the used labels
  • create bar plots of the used labels of the merged pull requests and the authors of merged pull requests
  • create a word cloud from the titles of the pull requests

Requirements

The notebook relies on the following python packages

  • matplotlib
  • seaborn
  • pygithub
  • wordcloud

Usage

  1. Create an access token in your github account and save it in the file token.txt next to this jupyter notebook
  2. Change the milestone variable to the correct integer identification value from the github milestone page and let all cells of the jupyter notebook run.

Author

  • Tobias Diekershoff <tobias.diekershoff(at)gmx.net>

License (MIT / Expat style)

Copyright (c) 2019, Tobias Diekershoff

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.