milestone-analyse/Milestone Analyse.ipynb

706 lines
287 KiB
Plaintext
Raw Normal View History

2019-12-18 09:56:28 +01:00
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# CHANGELOG generation and Milestone analysis\n",
"\n",
"This script is here to make the process of generating and updating the `CHANGELOG` file of the [Friendica](https://friendi.ca) project more easy. The script will call the `github` API and collect all the nexxessary information from the Milestone and then sums them up in numbers and prefilled text blocks that can be used for the release notes and CHANGELOG file.\n",
"\n",
"## Usage\n",
"\n",
"1. Create an access token in your github account and save it in the file `token.txt` next to this jupyter notebook\n",
"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.\n",
"\n",
"**Note** the script will not automatically generate the `CHANGELOG` section for the release. Instead it will summerize the work done during the milestone to make the manual work less cumbersome to create the section.\n",
"\n",
"## Author\n",
"\n",
"* Tobias Diekershoff <tobias.diekershoff@gmx.net>\n",
"\n",
"## License (MIT / Expat style)\n",
"\n",
"Copyright (c) 2019, Tobias Diekershoff\n",
"\n",
"Permission is hereby granted, free of charge, to any person obtaining a copy\n",
"of this software and associated documentation files (the \"Software\"), to deal\n",
"in the Software without restriction, including without limitation the rights\n",
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n",
"copies of the Software, and to permit persons to whom the Software is\n",
"furnished to do so, subject to the following conditions:\n",
"\n",
"The above copyright notice and this permission notice shall be included in all\n",
"copies or substantial portions of the Software.\n",
"\n",
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n",
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n",
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n",
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n",
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n",
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n",
"SOFTWARE."
]
},
{
"cell_type": "code",
"execution_count": 108,
"metadata": {},
"outputs": [],
"source": [
"from github import Github\n",
"from matplotlib import pylab as plt\n",
"import seaborn as sns\n",
"sns.set_style(\"darkgrid\")\n",
"pal = sns.color_palette(\"husl\", 16)\n",
"from wordcloud import WordCloud"
]
},
{
"cell_type": "code",
"execution_count": 109,
"metadata": {},
"outputs": [],
"source": [
"# get github token from token.txt file\n",
"with open('./token.txt','r') as file:\n",
" ghtoken = file.readline().strip()\n",
"# current milestone\n",
"milestone = 18\n",
"# types of issues\n",
"bugfixes = []\n",
"enhancements = []\n",
"newfeatures = []\n",
"addonstuff = []\n",
"translation = []\n",
"closedissues = []\n",
"closedtitles = []\n",
"prcount = 0\n",
"issuecount = 0\n",
"alllabels = {}\n",
"allcontributors = {}\n",
"titlewords = []"
]
},
{
"cell_type": "code",
"execution_count": 110,
"metadata": {},
"outputs": [],
"source": [
"# and login\n",
"gh = Github(ghtoken)\n",
"# open the friendica repository\n",
"repo = gh.get_repo('friendica/friendica')\n",
"ms = repo.get_milestone(milestone)\n",
"addonlabel = ms.title"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Friendica Core Repository\n",
"\n",
"### Some basic stats"
]
},
{
"cell_type": "code",
"execution_count": 111,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Milestone State: open\n",
"Open / Close Issue: 11/241\n"
]
}
],
"source": [
"print('Milestone State: {}\\nOpen / Close Issue: {}/{}'.format(ms.state, ms.open_issues, ms.closed_issues))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now grap all issues of the milestone and sort them.\n",
"\n",
"* are they issues or pull requests\n",
"* bug fixes, new features or enhancements\n",
"\n",
"also collect the issue numbers of the (real) issues that got closed."
]
},
{
"cell_type": "code",
"execution_count": 112,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"# get the \"issues\" from the milestone. Seperate pull requests from fixed issues and analyse them a bit.\n",
"for issue in repo.get_issues(milestone=ms, state='all'):\n",
" ititle = issue.title\n",
" titlewords.append(ititle)\n",
" iauthor = issue.user.login\n",
" lnames = []\n",
" itype = ''\n",
" for label in issue.labels:\n",
" lnames.append(label.name)\n",
" try:\n",
" pr_url = issue.pull_request.html_url\n",
" # This issue is actually a pull request\n",
" itype = 'PR'\n",
" prcount += 1\n",
" if ('Bug' in lnames):\n",
" bugfixes.append(ititle+' [{}] by {}'.format(\", \".join(lnames), iauthor))\n",
" if ('Addons' in lnames):\n",
" addonstuff.append(ititle+' [{}] by {}'.format(\", \".join(lnames), iauthor))\n",
" if ('Translation' in lnames):\n",
" translation.append(ititle+' [{}] by {}'.format(\", \".join(lnames), iauthor))\n",
" if ('New Feature' in lnames):\n",
" newfeatures.append(ititle+' [{}] by {}'.format(\", \".join(lnames), iauthor))\n",
" if ('Enhancement' in lnames):\n",
" enhancements.append(ititle+' [{}] by {}'.format(\", \".join(lnames), iauthor))\n",
" allcontributors[iauthor] = allcontributors.get(iauthor, 0) + 1\n",
" for l in lnames:\n",
" alllabels[l] = alllabels.get(l, 0) + 1\n",
" except:\n",
" # this issue is actually an issue\n",
" itype = 'ISSUE'\n",
" issuecount += 1\n",
" if issue.state == 'closed':\n",
" closedissues.append(int(issue.number))\n",
" closedtitles.append(ititle)\n",
"closedissues.sort()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Closed Issues\n",
"\n",
"First of all, number countings."
]
},
{
"cell_type": "code",
"execution_count": 113,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"\n",
"Total: Pull Requests / Issues: 190 / 62\n"
]
}
],
"source": [
"print('\\n\\nTotal: Pull Requests / Issues: {} / {}'.format(prcount, issuecount))"
]
},
{
"cell_type": "code",
"execution_count": 114,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[989, 1071, 1188, 1334, 2537, 3229, 3231, 3385, 4112, 4442, 4451, 5048, 5568, 5802, 6865, 7190, 7308, 7316, 7418, 7613, 7657, 7659, 7671, 7679, 7681, 7682, 7688, 7691, 7702, 7707, 7709, 7718, 7733, 7740, 7747, 7756, 7766, 7773, 7776, 7778, 7781, 7821, 7825, 7834, 7863, 7868, 7880, 7888, 7902, 7914, 7920, 7946, 7953]\n",
"\n",
"====================\n",
"Issue Titles\n",
"====================\n",
"[frio] Self contact hovercard shouldnt show follow and private message action buttons\n",
"frio: visual glitch with 'active tab indicator' on .../contact/123456\n",
"[API] Rewrite followers/ids and friends/ids to output expected data\n",
"Resharing a Mastodon post truncates body, breaks share display\n",
"[frio] Composer Modal jot new permission tab doesn't show connectors\n",
"addon: js_upload sets wrong permission on uploaded images\n",
"Upload of images broken when 'js_upload' is used\n",
"federation with pixelfed - images missing on incoming posts\n",
"Missing/Broken client API\n",
"frio: Post display doesn't reload after (un)ignoring it\n",
"Registration broken with policy approval\n",
"Admin Summary - one line too much\n",
"Compose page of frio theme on dev results in blank screen\n",
"Personal notes are public when posted from non-Composer jot\n",
"Home Notifications page is showing wrong notifications\n",
"Resharing Mastodon post removes embedded video\n",
"Reshare a Friendica post from Diaspora to Friendica removes title\n",
"Log file without write access leads to white screen\n",
"Inserting images broken\n",
"[frio] Follow button affected by whether they follow me\n",
"Search field doesn't show results and deleting a saved search doesn't work\n",
"Browser language isn't used when user is not logged in\n",
"Password reset doenst work\n",
"[vier] Default theme settings page is blank\n",
"Contact requests from Diaspora on News Page Accounts are wrong/misleading\n",
"ActivityPub: using sharedInbox for private deliveries can leak privacy\n",
"Enhancements for account registration (Captcha/HoneyPot/Comment field)\n",
"[Frio] Better \"Insert Link\" button\n",
"2019.09 PHP Notices\n",
"Can't see restricted posts on remote profile if the remote profile is on the same instance\n",
"Frio: Feature requests for the new composer page\n",
"/contact/blocked needs to show public contact blocks as well\n",
"Rework \"redir\" and calls to \"remote_user\"\n",
"Delete notifications for deleted items\n",
"Problem mit Foren auf der gleichen Instanz\n",
"Investigate `/contact` pages slowness\n",
"Setting permissions on posts needs more secure workflow\n",
"Replace defaults() with ??\n",
"Category labels in posts are not clickable\n",
"nodeinfo: needs extension for protocol activitypub\n",
"Adding Code-Coverage to the Friendica code-base\n",
"Sort saved folders alphabetically\n",
"Diaspora: Image URLs with double \"http://\" throw BBCode off\n",
"Drop unsecure OPENSSL_PKCS1_PADDING from openssl_private_decrypt()\n",
"Feature: remote_self for OStatus contacts\n",
"Logging in o registering via previously unknown OpenID should give the option to associate it with existing account\n",
"OpenID URIs should be verified before allowing a user to register them\n",
"Users are allowed to re-use OpenID of other users\n",
"Frio: Missing functionality\n",
"Possibilities to interact with others are hidden\n",
"contact request: bad usability\n",
"Addons: Jappix-mini: Replace error link to Jappix website with something more useful\n",
"forced track user\n"
]
}
],
"source": [
"print(closedissues)\n",
"\n",
"print('\\n====================\\nIssue Titles\\n====================')\n",
"for i in closedtitles:\n",
" print(i)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Issues by Labels"
]
},
{
"cell_type": "code",
"execution_count": 115,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"\n",
" >> Pull Requests merged\n",
"\n",
"=========================\n",
"Addons (2)\n",
"=========================\n",
"Add \"discourse\" as protocol [Addons, New Feature] by annando\n",
"Added hooks for the email fetch process [Addons, Enhancement] by annando\n",
"\n",
"=========================\n",
"Translation (4)\n",
"=========================\n",
"DE, ET, JA, NL and PL translation updates [Translation] by tobiasd\n",
"Fix run_xgettext.sh FRIENDICA_VERSION [Bug, Translation] by nupplaphil\n",
"regen messages.po after Hackathon 2019 [Berlin 2019, Translation] by tobiasd\n",
"CS translation update THX Aditoo [Translation] by tobiasd\n",
"\n",
"=========================\n",
"Enhancements (103)\n",
"=========================\n",
"Issue 7659: Udate the \"user-contact\" value with the \"contact\" values [Enhancement] by annando\n",
"Github Action: Merge to develop [Enhancement] by nupplaphil\n",
"API: Improved handling of quoted posts and attachments [Enhancement, Federation] by annando\n",
"Update Install.md [Docs, Enhancement] by copiis\n",
"Issue 7651: Added basic support for more complicated \"video\" elements [Enhancement] by annando\n",
"APContact: Added follower count, following count and count of posts [Enhancement, Federation] by annando\n",
"API: Account class improved [API, Enhancement] by annando\n",
"Make 2Factor \"tel\" field instead \"number\" [Enhancement, UI, UI/Theme] by nupplaphil\n",
"Issue 7691: We can now switch to BCC for ActivityPub [Enhancement, Performance, Privacy] by annando\n",
"Do reshares as native as possible [Enhancement, Federation] by annando\n",
"Mail contacts: Update public via user contact / display owner's posts [Enhancement, Federation] by annando\n",
"[frio] Add numeric field_input [Enhancement, UI/Theme] by nupplaphil\n",
"Make Two Factor Field numeric [Enhancement, UI] by nupplaphil\n",
"Add data for shared posts from the original [Enhancement] by annando\n",
"Changed the option to enable the smart threading with the option to disable this [Enhancement, UX] by annando\n",
"Make quoted announces look better / more announce improvements [Enhancement, Federation, UI] by annando\n",
"Only show the difference between posting and receive date on difference [Enhancement, UX] by annando\n",
"[Frio] Optical indicator for connector accordion added [Enhancement, UI, UI/Theme] by annando\n",
"Group selection: Respect \"pubmail\" and ignore atchived or blocked contacts [Enhancement, Privacy] by annando\n",
"API: Improve attachment removal functionality for the status text [API, Enhancement] by annando\n",
"Disable drone except \"develop\" branch [Enhancement] by nupplaphil\n",
"[frio/plusminus] Made Connectors on new composer popup more visible [Enhancement, UI/Theme] by hoergen\n",
"Show the received date along with the creation date of posts [Enhancement] by annando\n",
"Generalize the Compose ACL to the whole site [Enhancement] by MrPetovan\n",
"Only transfer posts via mail [Enhancement, Federation] by annando\n",
"nodeinfo version 2 / basic nodeinfo data is always enabled [Enhancement, Federation] by annando\n",
"Don't allow unencrypted IMAP, allow deleting mails [Enhancement, Federation] by annando\n",
"Avoid contact update for non federated networks [Enhancement] by annando\n",
"Only read undeleted mails / improved structure [Enhancement] by annando\n",
"E-Mail import: The item is now provided to the hook [Enhancement, Federation] by annando\n",
"Use the \"reply-to\" header of the original post when answering via mail [Enhancement, Federation] by annando\n",
"Don't use the creation date when transmitting to Diaspora [Enhancement, Federation] by annando\n",
"Improvement for PR 7854: Avoid leaking of BCC header data [Enhancement, Federation] by annando\n",
"composer Update to version 1.9.1 [Enhancement, Installation] by casperrutten\n",
"Fix mail delivery via AP when the contact is hidden [Enhancement, Federation] by annando\n",
"Storing the mail header in the item [Enhancement, Federation] by annando\n",
"Added hooks for the email fetch process [Addons, Enhancement] by annando\n",
"Make the automatic title appending optional [Enhancement, Federation] by annando\n",
"Show title for posts with attached pages [Enhancement, Federation] by annando\n",
"Improve the look of fetched feeds and the BBCode processing of attachments [Enhancement, Federation] by annando\n",
"AP: Remove the link description from the \"rich html\" and adds it to the attachment [Enhancement, Federation] by annando\n",
"Don't guess the site info / restrict the description length [Enhancement, Federation] by annando\n",
"AP: Read different content types for the source and the content [Enhancement, Federation] by annando\n",
"ActivityPub: Use the contentMap to transmit additional content encodings [Enhancement, Federation] by annando\n",
"Fix image links with descriptions in API and AP transmission [Enhancement, Federation] by annando\n",
"Remove unnecessary code in \"include/enotify\" [Enhancement] by nupplaphil\n",
"Pinning now works as expected [Enhancement] by annando\n",
"Pass Router parameters to module content method [Enhancement] by MrPetovan\n",
"Pass the parameters from the router to the modules [Enhancement] by annando\n",
"a hidden field for the registration form [Berlin 2019, Enhancement] by tobiasd\n",
"categories of postings linked [Berlin 2019, Enhancement] by tobiasd\n",
"Diaspora: Use the standard function for adding a relationship [Berlin 2019, Enhancement, Federation] by annando\n",
"Plusminus Scheme for Frio improved contacts and visibility [Berlin 2019, Enhancement, UI, UI/Theme] by hoergen\n",
"added export and import of followed contacts to and from CSV files [Berlin 2019, Enhancement] by tobiasd\n",
"Changed label for network sorting [Berlin 2019, Enhancement] by annando\n",
"AP: Respect \"manually approve\" during contact request [Berlin 2019, Enhancement, Federation] by annando\n",
"Rework photo functions [Enhancement] by MrPetovan\n",
"Posted order is now arrival order [Berlin 2019, Enhancement, UX] by annando\n",
"Added usort() to the saved folders widget [Enhancement] by AlfredSK\n",
"[Drone.io] Add node info for better routing [Enhancement] by nupplaphil\n",
"Move Core\\NotificationsManager to Model\\Notify [Enhancement] by nupplaphil\n",
"Images: Show the description as title [Enhancement, UX] by annando\n",
"Move Activity definitions to constants [Docs, Enhancement] by nupplaphil\n",
"Changed OpenID registration [Bug, Enhancement, Federation] by annando\n",
"Move include/text.php to class structure [Enhancement] by nupplaphil\n",
"move mod/ignored to src/Module/Item/Ignored [Enhancement] by nupplaphil\n",
"Move mod/receive to src/Module/Diaspora/Receive [Enhancement] by nupplaphil\n",
"Reworked gcontact [Enhancement] by annando\n",
"Some improvements for accessibility - I hope [Enhancement, UX] by annando\n",
"Handling for HTTP Error code 417 [Enhancement] by annando\n",
"Change Model type to `OrderedCollectionPage` [Enhancement, Federation] by kPherox\n",
"[frio] Rework hovercard actions [Bug, Enhancement, UI/Theme, UX] by MrPetovan\n",
"Clarify quotation style in doc/Developers-Intro [Docs, Enhancement] by MrPetovan\n",
"Remove deprecated defaults() function [Enhancement] by MrPetovan\n",
"Replace deprecated calls to defaults() by ?? and ?: in src/ [Enhancement] by MrPetovan\n",
"Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ [Enhancement] by MrPetovan\n",
"Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/ [Enhancement] by MrPetovan\n",
"Changed quotation (\" to ') [Enhancement] by annando\n",
"Convert links with empty descriptions [Enhancement, UX] by annando\n",
"Replace deprecated defaults() calls in include/api and boot [Enhancement] by MrPetovan\n",
"Discriminate between links and non-links in [url] BBCode tag insertion [Enhancement, UX] by MrPetovan\n",
"Move mod/manage to src/Module/Delegation [Enhancement] by MrPetovan\n",
"move uexport module to src [Berlin 2019, Enhancement] by tobiasd\n",
"Fix security vulnerabilities. [Enhancement, Security] by nathilia-peirce\n",
"Move mod/delegate to src/Module/Settings/Delegation [Enhancement] by MrPetovan\n",
"Move mod/search to src/Module/Search/Index [Enhancement] by MrPetovan\n",
"Fix communication issues with systems that speak both AP and Diaspora [Enhancement, Federation] by annando\n",
"Some added logging to the proxy functionality to better analyze problems [Enhancement] by annando\n",
"Fix for multiline host-meta, reducement of requests, fix for wordpress [Enhancement] by annando\n",
"Rework theme session variables [Enhancement] by MrPetovan\n",
"add server side check about note to admin [Enhancement] by tobiasd\n",
"Replace obsolete functionality in \"PortableContact\" [Enhancement] by annando\n",
"modified Vagrant devel VM (PHP 7.3, proper composer) [Enhancement] by tobiasd\n",
"New class \"GServer\" [Enhancement] by annando\n",
"Move mod/acl to src/Module/Search/Acl [Enhancement] by MrPetovan\n",
"Remove obsolete function to guess the base url of a contact [Enhancement] by annando\n",
"add option 'require' for textarea form elements [Enhancement, UI] by tobiasd\n",
"Enable the possibility to fetch a specific header variable [Enhancement] by annando\n",
"Don't send blank pictures on error, fail instead. [Enhancement, UX] by annando\n",
"Reworked the remote authentication [Bug, Enhancement] by annando\n",
"Add router config [Enhancement] by nupplaphil\n",
"Adding drone as CI [Enhancement] by nupplaphil\n",
"Frio upgrade fontawesome [Enhancement, UI/Theme] by vinzv\n",
"\n",
"=========================\n",
"Fixes (75)\n",
"=========================\n",
"Add type-hint to debug null value fatal error [Bug] by MrPetovan\n",
"Fix wrong type-hints for table parameter in Database->selectToArray and DBA::selectToArray [Bug] by MrPetovan\n",
"Add meaningful sorter to ACL autocomplete [Bug, UX] by MrPetovan\n",
"Issue 7953: Don't show follow on the hovercard for the \"self\" contact [Bug] by annando\n",
"Fix notice \"Undefined index: href\" [Bug] by annando\n",
"Fixed warning [Bug] by annando\n",
"Restore correct highlighted contact tabs [Bug, UI/Theme, UX] by MrPetovan\n",
"Return early if user.uid isn't present in ACL::getFullSelectorHTML [Bug] by MrPetovan\n",
"Escape potential URL-containing BBCodes before running autolinker [Bug, UX] by MrPetovan\n",
" Add relationship filter to api_friends_ids and api_followers_ids [API, Bug] by MrPetovan\n",
"Don't process empty hash tags in Model\\Item [Bug] by MrPetovan\n",
"Log a message when data isn't the expected type in GContact::updateFromOutbox [Bug] by MrPetovan\n",
"Fix phpunit exclude list [Bug, Performance] by nupplaphil\n",
"Issue 7613: When an item is deleted, delete all notifications for it [Bug, UX] by annando\n",
"Issue 7418: connections to forums should now work again [Bug, Federation] by annando\n",
"Fix a notice [Bug] by annando\n",
"Fix: Don't automatically mention a post creator on private posts [Bug, Privacy] by annando\n",
"Fixes issue 7914: Reshares got crumbled [Bug, UX] by annando\n",
"Allow contacts and groups with same ID in ACL selector [Bug, UX] by MrPetovan\n",
"ACL: Contact list is now sorted, forums reappeared [Bug, UX] by annando\n",
"Fix a notice about an undefined \"attach\" index [Bug] by annando\n",
"Restore correct test for hidewall in ACL::getFullSelectorHTML [Bug] by MrPetovan\n",
"Fix run_xgettext.sh FRIENDICA_VERSION [Bug, Translation] by nupplaphil\n",
"Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML [Bug] by MrPetovan\n",
"Themes are now saved just once [Bug] by nupplaphil\n",
"Restore post reload after (un)ignore [Bug, UX] by MrPetovan\n",
"Various ACL/jot fixes [Bug, UI/Theme, UX] by MrPetovan\n",
"Fix ACL-related warnings [Bug] by MrPetovan\n",
"Attached photos from pixelfed are now added to the body again [Bug, Federation] by annando\n",
"Fix a notice in gcontact.php [Bug] by annando\n",
"Notice/warning in event fixed [Bug] by annando\n",
"Fix some notices/warnings again [Bug] by annando\n",
"Fix further notes and warnings [Bug] by annando\n",
"Fix warnings [Bug] by annando\n",
"Fix fatal errors, caused by an empty \"verb\" [Bug] by annando\n",
"Update vagrant_provision.sh [Bug, Installation] by casperrutten\n",
"Fix: Mentions in the HTML part of the \"contentMap\" now are links [Bug, Federation] by annando\n",
"User account page flags is stored as 255 [Bug] by MrPetovan\n",
"Fix a notice [Bug] by annando\n",
"add missing template for userexport [Berlin 2019, Bug, UI/Theme] by tobiasd\n",
"Add missing quotation [Berlin 2019, Bug] by tobiasd\n",
"move link generation into the loop [Berlin 2019, Bug] by tobiasd\n",
"Another duplicated \"use\" removed [Berlin 2019, Bug] by annando\n",
"Removed duplicated \"use system\" [Berlin 2019, Bug] by annando\n",
"Fix/FollowUp ACLFormatter [Bug] by nupplaphil\n",
"Some more warnings removed [Bug] by annando\n",
"Solve warning [Bug] by annando\n",
"Fix several warnings and errors [Bug] by annando\n",
"Fix 7778: Don't return empty string in permissions [Bug] by annando\n",
"Fix wrong check for logfile in admin summary [Bug] by nupplaphil\n",
"Revert \"Add not null/default value for ACL in fields\" [Bug] by nupplaphil\n",
"Fix travis - Remove APCu setting for PHP 7.2/7.3 [Bug] by nupplaphil\n",
"Check null for acl-fields [Bug] by nupplaphil\n",
"Wrong condition for home notifications [Bug] by nupplaphil\n",
"(hopefully) fix preview issue with tags on Mastodon [Bug] by annando\n",
"Changed OpenID registration [Bug, Enhancement, Federation] by annando\n",
"[composer] Downgrade dependencies [Bug] by nupplaphil\n",
"Expect outbox->first to be a Link structure in Model\\GContact [Bug, Federation] by MrPetovan\n",
"Add Fallback in case the logfile isn't accessible. [Bug] by nupplaphil\n",
"Fix fatal error [Bug] by annando\n",
"Fix: Friendica contacts had falsely been detected as ActivityPub [Bug, Federation] by annando\n",
"Remove remaining Logger log level in explicit Logger::debug call [Bug] by MrPetovan\n",
"[frio] Rework hovercard actions [Bug, Enhancement, UI/Theme, UX] by MrPetovan\n",
"Prevent empty [url] label regular expression to break image insertion [Bug, UX] by MrPetovan\n",
"Saved Search fixes [Bug] by MrPetovan\n",
" Catch missing Certainty bundle exception when checking for exposed password [Bug, UX] by MrPetovan\n",
"Strings.php: Spaces are transformed to Tabs [Bug] by annando\n",
"Fix typo in Core\\Authentication [Bug] by MrPetovan\n",
"Complete L10n::detectLanguage call parameters in Module\\Register [Bug] by MrPetovan\n",
"Fix browser language detection [Bug, UX] by nupplaphil\n",
"The getGUID function hadn't fetched the GUID from pictures with scale \"0\" [Bug] by annando\n",
"[vier] Add necessary required_once statement in theme/vier/config.php [Bug] by MrPetovan\n",
"Fix notice \"Undefined index: openRegistrations\" [Bug] by annando\n",
"Critical Fix: Inbox needs to be accessed via POST [Bug] by annando\n",
"Reworked the remote authentication [Bug, Enhancement] by annando\n",
"\n",
"=========================\n",
"New Features (8)\n",
"=========================\n",
"[API] Provide post/contact search [API, New Feature] by MrPetovan\n",
"Add POST follow request Mastodon API endpoint [API, New Feature] by MrPetovan\n",
"API: Added endpoints /instance and /instance/peers [API, New Feature] by annando\n",
"Add GET /api/v1/follow_requests Mastodon API endpoint [API, Docs, New Feature] by MrPetovan\n",
"Discourse logo added [Federation, New Feature] by annando\n",
"Add \"discourse\" as protocol [Addons, New Feature] by annando\n",
"Pinning: Missing file added [New Feature] by annando\n",
"We can now pin posts [Berlin 2019, New Feature] by annando\n"
]
}
],
"source": [
"print('\\n\\n >> Pull Requests merged')\n",
"print('\\n=========================\\nAddons ({})\\n========================='.format(len(addonstuff)))\n",
"for i in addonstuff:\n",
" print(i)\n",
"print('\\n=========================\\nTranslation ({})\\n========================='.format(len(translation)))\n",
"for i in translation:\n",
" print(i)\n",
"print('\\n=========================\\nEnhancements ({})\\n========================='.format(len(enhancements)))\n",
"for i in enhancements:\n",
" print(i)\n",
"print('\\n=========================\\nFixes ({})\\n========================='.format(len(bugfixes)))\n",
"for i in bugfixes:\n",
" print(i)\n",
"print('\\n=========================\\nNew Features ({})\\n========================='.format(len(newfeatures)))\n",
"for i in newfeatures:\n",
" print(i)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Addon Repository\n",
"\n",
"Here is a list of closed pull requests from the addon repository.\n",
"\n",
"Issues with addons are handled in the core repository, listed above in the *Addons* section of the report."
]
},
{
"cell_type": "code",
"execution_count": 116,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"DE and ET translation updates by tobiasd\n",
"[various] Use correct object class for Oauth token by MrPetovan\n",
"Issue 7916: Buffer is unsupported now by annando\n",
"Bump symfony/cache from 3.4.8 to 3.4.36 in /advancedcontentfilter by dependabot[bot]\n",
"[js_upload] Restore public image upload by MrPetovan\n",
"[js_upload] Rewrite addon after ACL changes by MrPetovan\n",
"Discourse Addon by annando\n",
"CA translation pack by tobiasd\n",
"[remote_permissions] Fix ACLFormatterTest by nupplaphil\n",
"Added logging to twitter addon by annando\n",
"Check null for acl-fields by nupplaphil\n",
"CA translation updated THX obiolscat by tobiasd\n",
"added editorconfig file by tobiasd\n",
"[forumdirectory] Remove direct access to $_SESSION['theme'] by MrPetovan\n",
"[xmpp] Rename /manage module to /delegation by MrPetovan\n",
"[various] Replace deprecated defaults() calls by ?? operator by MrPetovan\n",
"[retriever] First submission of retriever plugin by mexon\n",
"[gnot] Make settings collapsible by tobiasd\n",
"[mailstream] Support new img format with alt text by mexon\n",
"[mailstream] Remove URL parameters when extracting image filenames by mexon\n",
"[mailstream] Include BB code as plaintext by mexon\n",
"[mailstream] Do not send \"announce\" messages by mexon\n",
"[mailstream] Modernise logging in mailstream plugin by mexon\n"
]
}
],
"source": [
"repo = gh.get_repo('friendica/friendica-addons')\n",
"labels = []\n",
"try:\n",
" labels.append(repo.get_label(addonlabel))\n",
" issues = repo.get_issues(labels=labels, state='closed')\n",
" for i in issues:\n",
" print(\"{} by {}\".format(i.title, i.user.login))\n",
" titlewords.append(i.title)\n",
" allcontributors[i.user.login] = allcontributors.get(i.user.login, 0) + 1\n",
"except:\n",
" print(\"No pull requests with the label {} found in the addon repository.\".format(addonlabel))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Graphs\n",
"\n",
"Lets make some bar charts for the number counts of the used labels and the contributors to the repository."
]
},
{
"cell_type": "code",
"execution_count": 119,
"metadata": {
"scrolled": false
},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA3cAAAKnCAYAAAAlerSNAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzs3XmcV3Wh//E3DjMspZIpLuSS5OACIyjiGihqkoW4YHlTIXdxX3K5N3fNTM0ry3VD08DlmgrXJdNy40omiQvl+hO1XBJBvCjJPn5/fxiTIyDojI1+fD7/8THnnO85n/Od8fv4vjhbq0qlUgkAAACfa8u19AAAAABoOnEHAABQAHEHAABQAHEHAABQAHEHAABQAHEHAABQAHEHFGf48OHp0qVLxowZ86ms95577mnW9U6YMCFdunTJT37yk2Zd72fRNddcs0y/m8/qezJmzJh06dIl11xzTcO0Ll26ZMCAAZ/6tmfOnJlrr732U99Oc3ryySdz2GGHZfPNN0/Xrl2zww475MILL8ysWbMWWXb27Nm5+OKLs+OOO6auri4777xzrrvuuiztiU1vvPFGNt1000a/kw969913c+GFF6Zv376pq6tLv379cvnll2fu3LmfaJ+eeeaZbLTRRkv8HJg2bVpOO+209OnTJ127ds3WW2+dH/3oR3nllVc+0fYAPg5xB8BnTqdOnXLEEUfkm9/8ZksPpZENNtggRxxxRLp37/4v3/ZOO+2Um2666V++3U/q4Ycfzl577ZX//d//zTbbbJN99903HTp0yMiRIzNo0KBGcVVfX5+jjz46l156ab7+9a9n0KBBad26dc4666ycf/75S9zGu+++myOPPDJ///vfFzt/9uzZGTRoUEaOHJn27dtnr732yjrrrJOLLrooBx54YObMmfOx9mnatGk56qijsmDBgiXO33PPPXPjjTemc+fO2XfffdOtW7fccccdGThwYP7yl798rO0BfFytW3oAAPBhX/va13LkkUe29DAWscEGG2SDDTZokW1Pnz49q6yySots+5M488wzU6lUcsMNN6Suri5JUqlUctppp+VXv/pVrr/++uy3335JkjvvvDPjxo3L/vvvn5NOOilJcvTRR+fAAw/M1VdfnV133TVdunRptP7XXnstRx55ZJ566qkljuHKK6/Mk08+mR133DEXXXRRampqkiTXXXddzjrrrIwcOXKZ/86effbZHHHEER95BG748OF5/fXXc/LJJzfsW5LceuutOfHEE3PeeeflsssuW6btAXwSjtwBAM1q8uTJefHFF7P99ts3hF2StGrVKocffniS5H//938bpl933XVp3bp1Dj300IZp1dXVOeaYY1KpVHLzzTc3Wv8111yT/v3759lnn80WW2yxxHH8+te/TqtWrXLqqac2hF2S/OAHP8g666yTa6+9dolH4T7o/PPPz8CBAzNt2rRsuummS1zunnvuyUorrZTBgwc3mj5gwICstdZaGT9+fN57772lbg/gkxJ3wBfea6+9ltNPPz077LBDunXrlh49emT33XfPDTfcsNjl58yZk3PPPTdbbrllunfvnn333TcTJkxY7LK/+c1vstdee6VHjx7ZZJNNMnjw4Dz88MNLHdOCBQsyYsSI9O/fP927d0+vXr1ywAEH5A9/+MNSX/tR16udfPLJ6dKlS5555pmGaX/9619z9NFHZ7vttkvXrl3Tt2/fnHHGGZk2bdoir3/qqacarqGqq6vLgAEDcsMNNyz2uqh77rkn3//+99O9e/f06dMnl1566TJ/sV3cPuy7777p27dvpkyZkuOPPz6bb755Nt544+y9995LfP8/6NVXX02XLl1yySWX5Le//W1222231NXVpW/fvrn66quTJI8++mh+8IMfpHv37unbt2+GDx/e6Mv/4q65W5yFR6wWbmOzzTbLoYcemqeffnqRZcePH5/Bgwdnyy23TF1dXfr375/LL7888+bNa/ReJO8fPerSpUuGDx/e8PqXXnopP/rRj7LVVls1XNd2/vnnZ+bMmY22s/B3//bbb+f000/P1ltvnW7dumX33XfP3Xffvci45s2bl8svvzw777xzunXrli233DLHH3/8Ml079uUvfzk/+tGPssceeywyb2FkLbzubt68efnzn/+c9ddfPyuuuGKjZevq6tKuXbs88sgjjaaPGjUqnTp1yrXXXvuR1zu++uqrWWONNbLqqqs2mt6qVat06dIlM2bMyAsvvLDU/bnqqqvSrVu3jBkzJltuueVil6mvr88hhxySI444Isstt+jXq5qamsyfP3+ZYhLgk3JaJvCF9uqrr2bgwIGZPXt2dtxxx6y++up54403cvfdd+eMM85IfX199tlnn0avOe+88zJ//vx897vfzbvvvpu77ror++23Xy655JJsu+22DcsNHTo0l1xySTp16pTddtstrVq1alj2vPPO+8gvpWeffXb++7//O7169Urv3r0zc+bM3HnnnTnggANy9dVXZ/PNN2+W/X/rrbfywx/+MP/3f/+XnXbaKR07dsxzzz2XG264IRMmTMhtt92W6urqJMm4ceNyxBFHpLq6Ot/61rey0kor5cEHH8wZZ5yRp59+OmeffXbDem+66aaccsop+epXv5pddtkls2fPzmWXXZbll1++SeN9991384Mf/CDt2rXLrrvumjfffLPhfRk7dmzWW2+9pa7jt7/9bS655JL069cvPXv2zG233Zbzzjsvr732Wm688cb07t07//Zv/5a77rorI0aMyAorrLDIkZilOemkk3LrrbdmvfXWy1577ZXZs2c3hP7ll1/eEAgTJ07MoYcemq985SvZeeed06ZNmzz00EO56KKL8te//jXnnntuw/WHI0aMyMorr5y99torvXr1SpJMmjQpP/zhDzNnzpxst912WXPNNfPEE0/kqquuyv33358bbrghHTp0aDS2/fbbLzNmzMi3v/3tzJo1K7fffnuOPvroXHnlldlmm22SJPPnz89BBx2Uhx9+OHV1ddlnn30yffr0/OY3v8n48eMzevTo1NbWLnH/V1tttRx00EGLnfe73/0uSfKNb3wjyfv/uLJgwYKstdZaiyxbVVWV1VZbbZFr1c4888xstdVWqaqq+sjr2Gpqahoi+cMWxu/f/va3RU75/LArrrgiffr0+chlqqqqlvh38sILL+TFF1/MWmut1egIIkCzqwAUZtiwYZXa2trKLbfcstRlTz311EptbW3l97//faPpkyZNqtTW1la+//3vL7LezTbbrPLKK680TH/qqacqG2+8cWXbbbetLFiwoOH1Xbp0qeyzzz6VWbNmNSz71ltvVXbcccfKxhtvXJk+fXqlUqlUHn744UptbW3lnHPOqVQqlcrMmTMr66+/fmXvvfduNKY//elPldra2sqRRx75kfv04fV90EknnVSpra2tPP3005VKpVIZPXp0pba2tnLzzTc3Wu7MM8+s1NbWVu6///5KpVKpzJo1q7LFFltUttxyy0b7Xl9fXznyyCMrtbW1lQceeKBSqVQqb7/9dmXTTTet9O7du/L66683Gn9dXd0y/W4Wtw/77LNPpba2tjJkyJDKvHnzGqZfeumlldra2soFF1zwket85ZVXKrW1tZXa2trK7373u4bpDz74YMP0a6+9dpHlBw4c2DDtlltuqdTW1lauvvrqhmm1tbWVXXbZpeHnO++8s1JbW1s57rjjKvPnz2+Y/vLLL1d69epV+eY3v1mZO3dupVKpNLx3L7/8csNy8+bNqwwYMKCywQYbVGbOnLnE7SxYsKDyrW99q7LhhhtWxo0b12hfL7jggkptbW3l3//93xumLfzdDxw4sPLuu+82TL/tttsqtbW1lWOOOaZh2siRIyu1tbWV888/v9F6//SnP1U22mijyh577LG4t3ippk2bVtlqq60qtbW1lUmTJlUqlUrlscceq9TW1lZOPfXUxb5m4MCBldra2kbv5Qct7ney0L777lupra2tPPbYY42mv/nmm5UePXpUamtrK7feeuvH2oeFnwMf/Bv6KPX19ZXBgwdXamt
"text/plain": [
"<Figure size 1080x720 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA3cAAAK3CAYAAAAmrLYWAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzs3XtgT/Xjx/HXzDaUSwq5x759Rmw25pZbru1LrvFtMRMlzW005EuhFEIXl5/09UVfNFKZcs91Ipa5E8LXvZgsGbua8/ujPp+vj21s9tHq3fPx397n8n6f8znns/P6nPf7HDfLsiwBAAAAAP7U8uV1AwAAAAAAuUe4AwAAAAADEO4AAAAAwACEOwAAAAAwAOEOAAAAAAxAuAMAAAAAAxDugHvg4MGDGjVqlIKCglSjRg3VrFlTwcHB+vjjj3X9+vXftS3Lly/XmTNnsjVv9+7d5ePjoytXrkiSlixZIh8fH3300Ucub1d6eroWLFigxMREl6/7zyS7+zgmJkY+Pj566623fp+G/Y6aNWumwMBAx9/38rgzQUpKiubMmePSdV66dEn9+vVTrVq15O/vr9GjR7t0/ffCtGnT5OPjo3Xr1kmSzp49Kx8fH/Xt2/ee1x0XF6fPP//8ntfj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l999/v1566SUlJSVp2bJlTuufOHGiOnfurIsXL6pWrVqZtuH69etas2aNihUrpoiICEewk6Tw8HDdd9992eqGnZycrJEjR6pnz566ceOGqlWrlul8V69e1bZt21StWjWnYCdJL774ory8vJy2GTAJ4Q5wkaVLlyotLU3dunVTkSJFMp3Hw8NDr732msaNG6cHHnjAadrKlSsVHBwsf39/BQQEKDg4WCtWrMiwDh8fHw0fPly7du1S9+7dFRAQoNq1a2vQoEE6e/asY75mzZopKipKktShQwc1a9ZM0v/GqWzbtk1dunRR9erV9eSTT+ratWsZxtzZWZalGTNmqEmTJvLz81Pnzp21evVqp3luNyZs+PDhTuMifHx89O2330qSateure7duzvmTUhI0MSJE9WiRQtVr15djz/+uCIiInTixAmndd5uO65du6Zx48YpKChIvr6+ql+/vvr376+DBw9m+rlkth1ffPGFFi9erL///e/y9fVVUFCQvvjiC0nS+vXr1alTJ9WoUUNPPvmkPv744wzrOXfunEaPHq0WLVrI19dXAQEB6tSpkxYuXHjHNiQkJKhDhw6qUqWKPv300yz3b/fu3dWsWTOdP39eERERqlu3rqMbVUxMTIb1nj59Wi+//LIef/xxBQQEqHfv3jp+/Lhatmzp9BlkxcfHR0OGDNH27dvVuXNn+fn5qVmzZnrvvfeUkpKSYd727dtnWIcrx9PZ17Vq1So9//zz8vX1VdOmTR13D65evarJkyc7jqVGjRpp9OjRmd75unz5ssaOHatGjRrJ399foaGhOnLkiGMf2906zutmt44dtFu1apWCg4MVEBCgmjVrqkePHtq+fXuG+fbv368+ffqoYcOG8vX11ZNPPqnJkyc7ulXbx5SdO3dOCQkJju8C6deL5+nTp6tt27by9/dXnTp19Pzzz2vbtm3Z2oc3r9PHx8cx3RXnY2ZccZ7d7rO4WWpqqj788EO1bt3a8X0QERGR6V2m5cuXKzg4WLVr11ZAQICefvppRUZGOroMLlmyRM2bN3e0z8fHR0uWLHEsv2/fPvXt21d169aVr6+vWrdurZkzZyo1NdWpnpyeuzk5lm9Vrlw5vfzyy2rZsmWGafYwbx/7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SRR9SxY0fly5dP69ev1+uvv66ff/5Z/fr1U9WqVRUaGqp
"text/plain": [
"<Figure size 1080x720 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAA24AAAHECAYAAABBSXnGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzsnXeAVNXZxp/dmdneO7uUpfciIAioYAXFEhWxxZqgsUVjN/lMjC3GFo0ltgj22HtBRVBExUJHeu9s72129/vjOWfu3LvTd3Z3wPf3z+zccs6555a5+z5viWptbW2FIAiCIAiCIAiCELFEd/UABEEQBEEQBEEQBN/IP26CIAiCIAiCIAgRjvzjJgiCIAiCIAiCEOHIP26CIAiCIAiCIAgRjvzjJgiCIAiCIAiCEOHIP26CIAiCIAiCIAgRjvzjJgiCIAiCIAiCEOHIP26CIAiCIAiCIAgRjvzjJgiCIAiCIAiCEOHIP26CIAiCIAiCIAgRjvzjJgiCIAiCIAiCEOHYu3oAwoHJmsolAICSxn0AgG5xvQAAfZIGAwC21qwDAKyvWgEAGJIyxrVviiMdAJDqyAAA7KjdDABIi+H3ZHsaAKCyqQwA0NjSAABoRQsAIDs2HwBQ7awAAMzf/76r7RFphwEAeiX0BwA0tzoBANtrNwIA0h1Zqq8s0/EUN+wFANQ2VwMAeiT0BQDUOCtd2+h+rH10Ji9/uwwAEOuwAQCmDh8AACiuqgEAFKSnurYtruay3JRkAMDuMs5XdkoSAKCqnvOaGBsDAIiOijL1VV5bBwDISEwwtQcAWUmJAIAytU2uajMS+GXXfgDAkIKcLh7JgUF75yuU/Vtb+fnthm0AgMRYBwBgVK/8kMbgTqOzGQCwcN1WAMCAvEwAQI/MtHa3LRx8tIK/Edt29jAt71Ww1fV3VFRsZw5JOMD4u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61Oq1VxGunTQIA5ERQ9lRBAICWFl6rDY3MOuiuuAldS71SueKi6dVii+Lzxen2ztLRfcRGMy5evwO5e1jY0HGq0IHAx6985/r7P397GwDgdHo+NwW9sz0uX7GYv013XPocAOCae2cCAKaddVjYxmlFFDdBEARBEARBEIQIJ6IUNx1L1lD7GgAgOlrFF9mM2j6tLYyFsMfQStrs5H+7UdGJltb4P2mUJZths5P1vJwqA5OzaaXbAJpVW8xy2NT4Pbu39fK4XMfZWduKstFq31D3ljEapWq1tpR4OfqOIzqKcSNGLRpaXlpa6JNb18I5qWva6Npnf/WbAIDuqZcDAHqm3WBqU8d5ndb9EtNyqzo2o/ssAEZWR8BQsbJiqXb0V8pbtOVcTe92run7hMzjPB7fySrLJPsxW+GPzKaFX6tlk7NPMq3Pi6Of+qkF9DVvdSlIbW0aJ1uyWUY6VhXMmjHPut6fauZpfVcobZraRqrXCSqTZUKMqkenjrOmgWpJt7Rk1z5arZmllMvvNm43LY+x8VPHZml0vJQnrP1Y+9BKUJqK57LywVLGexVX0SugT3a6a11zizk2ydt0+xvDApVZMcEt66d1vvwR6Hz7Goc/vM2F+zzo4epl+tPZHFwcl69LV8fN/fF4Kq7PfUX1/8iBvQEAEwf0CqovQego6uoXqL9+vXGMzc2Mi6+qfhoAkJL8Jy5vMTIw2pSHVJTrtVfF6bfw+Ryt3u/0PnZb93aPa0r24QCAN3bSo0erX+MzWNdWZ3j8uojeUTpjpI6VA4Ds2Eyf2/jro15l+i5tpEeTe225nbW7232MByLLv2VOhsf+703XMkcsr4uTzqFSVjiwW5ttPHHoFMZvJyZT8fx2Lv8PEMVNEARBEARBEAThV4z84yYIgiAIgiAIghDhRJSrpHa
"text/plain": [
"<Figure size 1080x720 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"x = []\n",
"y = []\n",
"plt.figure(figsize=(15,10))\n",
"for k in alllabels:\n",
" x.append(k)\n",
" y.append(alllabels[k])\n",
"chart = sns.barplot(x,y,palette=pal)\n",
"chart.set_xticklabels(chart.get_xticklabels(), rotation=80)\n",
"chart.axes.set_title(\"Labels used in milestone {}\".format(ms.title),fontsize=20)\n",
"chart.tick_params(labelsize=15)\n",
"plt.show()\n",
"x = []\n",
"y = []\n",
"plt.figure(figsize=(15,10))\n",
"for k in allcontributors:\n",
" x.append(k)\n",
" y.append(allcontributors[k])\n",
"chart = sns.barplot(x,y,palette=pal)\n",
"chart.set_xticklabels(chart.get_xticklabels(), rotation=80)\n",
"chart.axes.set_title(\"Contributors making pull requests for milestone {}\".format(ms.title),fontsize=20)\n",
"chart.tick_params(labelsize=15)\n",
"plt.show()\n",
"wordcloud = WordCloud(max_font_size=40, background_color='white', relative_scaling=.5).generate(\" \".join(titlewords).strip('.,:;-_()[]{}').replace('issue',''))\n",
"plt.figure(figsize=[15,10])\n",
"plt.imshow(wordcloud)\n",
"plt.axis(\"off\")\n",
"plt.show()"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}