{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "#default_exp ghtop" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# ghtop API\n", "\n", "> API details" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "#export\n", "import sys, signal, shutil, os, json, emoji, enlighten\n", "from dashing import *\n", "from collections import defaultdict, Counter\n", "from warnings import warn\n", "from itertools import islice\n", "\n", "from fastcore.utils import *\n", "from fastcore.foundation import *\n", "from fastcore.script import *\n", "from ghapi.all import *\n", "\n", "from rich.console import Console\n", "from rich.style import Style\n" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "#export\n", "term = Terminal() #TODO Remove when done transitioning to Rich\n", "console = Console()" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "#export\n", "def github_auth_device(wb='', n_polls=9999):\n", " \"Authenticate with GitHub, polling up to `n_polls` times to wait for completion\"\n", " auth = GhDeviceAuth()\n", " print(f\"First copy your one-time code: {term.yellow}{auth.user_code}{term.normal}\")\n", " print(f\"Then visit {auth.verification_uri} in your browser, and paste the code when prompted.\")\n", " if not wb: wb = input(\"Shall we try to open the link for you? [y/n] \")\n", " if wb[0].lower()=='y': auth.open_browser()\n", "\n", " print(\"Waiting for authorization...\", end='')\n", " token = auth.wait(lambda: print('.', end=''), n_polls=n_polls)\n", " if not token: return print('Authentication not complete!')\n", " print(\"Authenticated with GitHub\")\n", " return token" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "When we run this we'll be shown a URL to visit and a code to enter in order to authenticate. Normally we'll be prompted to open a browser, and the function will wait for authentication to complete -- for demonstrating here we'll skip both of these steps:" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "First copy your one-time code: \u001b[33mDC25-7D48\u001b[m\n", "Then visit https://github.com/login/device in your browser, and paste the code when prompted.\n", "Waiting for authorization...Authentication not complete!\n" ] } ], "source": [ "github_auth_device('n',n_polls=0)" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _exit(msg):\n", " print(msg, file=sys.stderr)\n", " sys.exit()" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "#exports\n", "def limit_cb(rem,quota):\n", " \"Callback to warn user when close to using up hourly quota\"\n", " w='WARNING '*7\n", " if rem < 1000: print(f\"{w}\\nRemaining calls: {rem} out of {quota}\\n{w}\", file=sys.stderr)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "When creating `GhApi` we can pass a callback which will be called after each API operation. In this case, we use it to warn the user when their quota is getting low." ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [], "source": [ "#export\n", "Events = dict(\n", " IssuesEvent_closed=('โญ', 'closed', noop),\n", " IssuesEvent_opened=('๐Ÿ“ซ', 'opened', noop),\n", " IssueCommentEvent=('๐Ÿ’ฌ', 'commented on', term.white),\n", " PullRequestEvent_opened=('โœจ', 'opened a pull request', term.yellow),\n", " PullRequestEvent_closed=('โœ”', 'closed a pull request', term.green),\n", ")" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _to_log(e):\n", " login,repo,pay = e.actor.login,e.repo.name,e.payload\n", " typ = e.type + (f'_{pay.action}' if e.type in ('PullRequestEvent','IssuesEvent') else '')\n", " emoji,msg,color = Events.get(typ, [0]*3)\n", " if emoji:\n", " xtra = '' if e.type == \"PullRequestEvent\" else f' issue # {pay.issue.number}'\n", " d = try_attrs(pay, \"pull_request\", \"issue\")\n", " return color(f'{emoji} {login} {msg}{xtra} on repo {repo[:20]} (\"{d.title[:50]}...\")')\n", " elif e.type == \"ReleaseEvent\": return f'๐Ÿš€ {login} released {e.payload.release.tag_name} of {repo}'" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [], "source": [ "#export\n", "def print_event(e, counter):\n", " res = _to_log(e)\n", " if res: print(res)\n", " elif counter and e.type == \"PushEvent\": [counter.update() for c in e.payload.commits]\n", " elif e.type == \"SecurityAdvisoryEvent\": print(term.blink(\"SECURITY ADVISORY\"))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We can pretty print a selection of event types using `print_event`, e.g:" ] }, { "cell_type": "code", "execution_count": 70, "metadata": {}, "outputs": [], "source": [ "#Hamel\n", "\n", "Events = dict(\n", " IssuesEvent_closed=('โญ', 'closed', Style(color='default')),\n", " IssuesEvent_opened=('๐Ÿ“ซ', 'opened', Style(color='default')),\n", " IssueCommentEvent=('๐Ÿ’ฌ', 'commented on', Style(color='white')),\n", " PullRequestEvent_opened=('โœจ', 'opened a pull request', Style(color='yellow')),\n", " PullRequestEvent_closed=('โœ”', 'closed a pull request', Style(color='green')),\n", " SecurityAdvisoryEvent=('', 'SECURITY ADVISORY', Style(color='red', blink=True))\n", ")\n", "\n", "def _to_log(e):\n", " login,repo,pay = e.actor.login,e.repo.name,e.payload\n", " typ = e.type + (f'_{pay.action}' if e.type in ('PullRequestEvent','IssuesEvent') else '')\n", " emoji,msg,style = Events.get(typ, ['','',Style(color='default')])\n", " if emoji: \n", " xtra = '' if e.type == \"PullRequestEvent\" else f' issue # {pay.issue.number}'\n", " d = try_attrs(pay, \"pull_request\", \"issue\")\n", " msg=f'{emoji} {login} {msg}{xtra} on repo {repo[:20]} (\"{d.title[:50]}...\")'.strip()\n", " elif e.type == \"ReleaseEvent\": msg = f'๐Ÿš€ {login} released {e.payload.release.tag_name} of {repo}'\n", " return msg, style\n", "\n", "class RichEvent:\n", " def __init__(self, e): \n", " self.ev=e\n", " self.msg, self.style = _to_log(self.ev)\n", " def __rich__(self): return self.msg\n", "\n", "def print_event(e:RichEvent, counter):\n", " if e.msg: console.print(e, style=e.style, highlight=False)\n", " elif counter and e.ev.type == \"PushEvent\": counter.update({'commits':len(e.ev.payload.commits)})" ] }, { "cell_type": "code", "execution_count": 71, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
โœ” Didier-D-crypto closed a pull request on repo Didier-D-crypto/Empl (\"Bump ini from 1.3.5 to\n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Holzhaus commented on issue # 168 on repo mixxxdj/website (\"Site of mixxx is out...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ reaperrr commented on issue # 18828 on repo OpenRA/OpenRA (\"InvalidDataException: \n",
       "nuyell1.aud is not a valid s...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ fantommohammed opened a pull request on repo fantommohammed/Mu-lt (\"Begin...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ 0pdd commented on issue # 2 on repo proofit404/cruftbot (\"Initialize Django project....\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dependabot opened a pull request on repo Didier-D-crypto/Empl (\"Bump dot-prop from 4.2.0 \n",
       "to 4.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ oulasvirta opened issue # 11 on repo oulasvirta/write-git (\"Title...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo sgrayban/github-read (\" master from \n",
       "anuraghazra:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dseo3 opened a pull request on repo dseo3/GroupProject_T (\"Populating data inside of \n",
       "bookmark...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ snyk-bot opened a pull request on repo BlueCC8/iot-simulato (\"[Snyk] Security upgrade \n",
       "mongoose from 5.4.11 to 5....\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” realpaliy closed a pull request on repo realpaliy/Messenger (\"Update \n",
       "SharedMediaVC.swift...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ schancel opened a pull request on repo cashweb/stamp (\"Ensure capacitor adds toolbar \n",
       "space...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ zjklee commented on issue # 407 on repo Handlebars-Net/Handl (\"Template compilation seems \n",
       "slower with 2.0...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ ThomVivet opened issue # 452 on repo sahib/rmlint (\"Documentation: clarification about the\n",
       "-C / --xatt...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ GeertvanHorrik opened a pull request on repo WildGums/Orchestra (\"GitHubSync update...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ bodhish commented on issue # 9 on repo jcsherin/package-tod (\"Todo CLI in Java...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "evts = load_sample_events().map(RichEvent)\n", "for e in evts[:100]: print_event(e,None)" ] }, { "cell_type": "code", "execution_count": 74, "metadata": {}, "outputs": [], "source": [ "#export\n", "#TODO display commit count to the terminal!!\n", "def tail_events(evt):\n", " \"Print events from `fetch_events` along with a counter of push events\"\n", " c = Counter({'commits':0})\n", " for ev in evt: print_event(ev, c)" ] }, { "cell_type": "code", "execution_count": 73, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
โœ” Didier-D-crypto closed a pull request on repo Didier-D-crypto/Empl (\"Bump ini from 1.3.5 to\n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Holzhaus commented on issue # 168 on repo mixxxdj/website (\"Site of mixxx is out...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ reaperrr commented on issue # 18828 on repo OpenRA/OpenRA (\"InvalidDataException: \n",
       "nuyell1.aud is not a valid s...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ fantommohammed opened a pull request on repo fantommohammed/Mu-lt (\"Begin...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ 0pdd commented on issue # 2 on repo proofit404/cruftbot (\"Initialize Django project....\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dependabot opened a pull request on repo Didier-D-crypto/Empl (\"Bump dot-prop from 4.2.0 \n",
       "to 4.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ oulasvirta opened issue # 11 on repo oulasvirta/write-git (\"Title...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo sgrayban/github-read (\" master from \n",
       "anuraghazra:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dseo3 opened a pull request on repo dseo3/GroupProject_T (\"Populating data inside of \n",
       "bookmark...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ snyk-bot opened a pull request on repo BlueCC8/iot-simulato (\"[Snyk] Security upgrade \n",
       "mongoose from 5.4.11 to 5....\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” realpaliy closed a pull request on repo realpaliy/Messenger (\"Update \n",
       "SharedMediaVC.swift...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ schancel opened a pull request on repo cashweb/stamp (\"Ensure capacitor adds toolbar \n",
       "space...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ zjklee commented on issue # 407 on repo Handlebars-Net/Handl (\"Template compilation seems \n",
       "slower with 2.0...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ ThomVivet opened issue # 452 on repo sahib/rmlint (\"Documentation: clarification about the\n",
       "-C / --xatt...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ GeertvanHorrik opened a pull request on repo WildGums/Orchestra (\"GitHubSync update...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ bodhish commented on issue # 9 on repo jcsherin/package-tod (\"Todo CLI in Java...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” realpaliy closed a pull request on repo realpaliy/Messenger (\"Update \n",
       "SharedMediaVC.swift...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โญ diddledan closed issue # 5 on repo diddlesnaps/openttd (\"In game music does not play \n",
       "(Ubuntu / Snap version...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Quinnvanderschaar2 closed a pull request on repo Quinnvanderschaar2/B (\"Development...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ jef commented on issue # 1388 on repo jef/streetmerchant (\"feat(proxies): Fallback to a \n",
       "global proxy list...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ aisaioop opened issue # 1597 on repo aisaioop/yzevgyqigd \n",
       "(\"็ฆๆณ‰ไปฃๅผ€ๆ€€ๅญ•ๆตไบง่ฏๆ˜Ž,B่ถ…ๅ•/ๅšๅผ€่ฏŠๆ–ญ่ฏๆ˜Žใ€–โ•…ๅพฎ2979194412ใ€—...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ twostraws commented on issue # 34667 on repo apple/swift (\"Replace many instances of \n",
       "sanity, sane, and insane...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ vuphuongha opened a pull request on repo DickinsonCollege/Far (\"Change to correct \n",
       "link...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Roguinaa commented on issue # 262 on repo kevinclement/SimpleA (\"Every Single Incorrect \n",
       "Mount Icon...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ ghys opened a pull request on repo openhab/openhab-webu (\"[Main UI/HABPanel] Mobile app \n",
       "interface, part 2...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ github-learning-lab opened issue # 1 on repo pg45/markdown-portfo (\"Getting Started with \n",
       "GitHub...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ ljwagerfield commented on issue # 743 on repo lukeautry/tsoa (\"Bundle with webpack for \n",
       "MonoRepo scenario...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ JlchavezG opened a pull request on repo JlchavezG/Psbg (\"Se agregan notificaciones...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ github-learning-lab commented on issue # 1 on repo pg45/markdown-portfo (\"Getting Started \n",
       "with GitHub...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” GeertvanHorrik closed a pull request on repo WildGums/Orchestra (\"GitHubSync update...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ timashvayko9 commented on issue # 82 on repo Mikhail-M12/AiSD_938 (\"lab3 - Balaeva...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ ThomasWaldmann commented on issue # 257 on repo bepasty/bepasty-serv (\"Errors & \n",
       "unsuccessful install following Installati...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ mnxn opened a pull request on repo ocaml/opam-repositor (\" jsonoo (0.2.1)...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ trybe-evaluation-feedback commented on issue # 31 on repo tryber/sd-08-project (\"Iniciando\n",
       "o projeto shopping cart...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ sagemaker-bot commented on issue # 413 on repo aws/sagemaker-tensor (\"change: include \n",
       "granular buildspecs for dlc and ge...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo rockonedege/javascri (\" master from \n",
       "javascript-tutorial:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ anirbank91 commented on issue # 42 on repo civictechindex/CTI-w (\"Create Tag generator \n",
       "page...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ al-lac opened a pull request on repo microsoft/winget-pkg (\"Add GOG Galaxy 2.0.30.20...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ sonarcloud commented on issue # 2 on repo turkdevops/acmephp (\" master from \n",
       "acmephp:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ OanaTudu opened a pull request on repo OanaTudu/Covid19 (\"Add files via upload...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ NillerMedDild opened issue # 3 on repo gigabit101/Shrink (\"[Request] Don't print debug \n",
       "information when right...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ m1dark commented on issue # 205 on repo ArugaZ/whatsapp-bot (\"ADD SEARCH GOOGLE...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo kaycoinsUSA/pandoc (\" master from jgm:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” schancel closed a pull request on repo cashweb/stamp (\"Ensure capacitor adds toolbar \n",
       "space...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ t-bast commented on issue # 123 on repo ACINQ/phoenix (\"No route for incoming payment...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ RJVB commented on issue # 37 on repo RJVB/afsctool (\"Compile errors - any ideas?...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” dseo3 closed a pull request on repo dseo3/GroupProject_T (\"Populating data inside of \n",
       "bookmark...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ lucasfarias300 opened issue # 2 on repo lucasfarias300/githu (\"Issue test...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ recpi2008 opened a pull request on repo recpi2008/HW_MYSQL (\"add hw_les_6...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ Enrique325 opened a pull request on repo Edwin-Lines/Proyecto (\"Update Recursos \n",
       "Materiales.md...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ jabolopes opened issue # 44 on repo lafriks/go-tiled (\"Possible width and height \n",
       "swapped?...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ aisaioop opened issue # 1598 on repo aisaioop/yzevgyqigd \n",
       "(\"ๅŒ—ไบฌ้€šๅทžๅŒบไปฃๅผ€ๆ€€ๅญ•ๆตไบง่ฏๆ˜Ž,B่ถ…ๅ•/ๅšๅผ€่ฏŠๆ–ญ่ฏๆ˜Žใ€–โ•…ๅพฎ2979194412ใ€—...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ pull opened a pull request on repo Alan-love/bgfx (\" master from bkaradzic:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ rmi7 opened a pull request on repo crytic/slither (\"fix set `self.filename` when using \n",
       "crytic-compile...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ zdenkotraste commented on issue # 2 on repo zdenkotraste/K8s-vir (\"Dev...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ jonathannaguin opened issue # 23 on repo navikt/mock-oauth2-s (\"Access OAuth request \n",
       "body...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ wingetbot commented on issue # 5481 on repo microsoft/winget-pkg (\"Add GOG Galaxy \n",
       "2.0.30.20...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” JlchavezG closed a pull request on repo JlchavezG/Psbg (\"Se agregan notificaciones...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Bod9001 closed a pull request on repo unitystation/unityst (\"Adds basic item and object \n",
       "wrapping...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” fantommohammed closed a pull request on repo fantommohammed/Mu-lt (\"Begin...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” TrueBrain closed a pull request on repo OpenTTD/OpenTTD (\"Fix: [Actions] cleanup ci-build \n",
       "workflow to be up-...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” varund7726 closed a pull request on repo ResurrectionRemix/an (\"Update Greek \n",
       "translations...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ X9VoiD commented on issue # 437 on repo InfinityGhost/OpenTa (\"Add support for XP-Pen Star\n",
       "06C...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ Mooooooov opened a pull request on repo estartando-devs/Busq (\"Feature/cadastromodal...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ AlexandraLarisaa opened a pull request on repo AlexandraLarisaa/Pro \n",
       "(\"Actualizare-clasa-Crawler...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ jwilling commented on issue # 18 on repo itavero/homebridge-z (\"Refactor code + use new \n",
       "exposes info provided by z...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Rost1116 commented on issue # 163 on repo ahodges9/LedFx (\"(WinError 10065) An attempt was\n",
       "made to perform a ...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ sagemaker-bot commented on issue # 413 on repo aws/sagemaker-tensor (\"change: include \n",
       "granular buildspecs for dlc and ge...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo Alan-love/bgfx (\" master from bkaradzic:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ pull opened a pull request on repo earnrising/home-assi (\" dev from \n",
       "home-assistant:dev...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” OanaTudu closed a pull request on repo OanaTudu/Covid19 (\"Add files via upload...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” alexei-sintotski closed a pull request on repo alexei-sintotski/pub (\"Check code with \n",
       "recent dart linter rules...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ YoraeRasante commented on issue # 6782 on repo Monika-After-Story/M (\"My Old Monika...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” bodhish closed a pull request on repo jcsherin/package-tod (\"Todo CLI in Java...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dependabot-preview opened a pull request on repo mongodb-js/compass-q (\"build(deps-dev): \n",
       "bump sinon from 8.1.1 to 9.2.2...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ Jandeh7 opened a pull request on repo maura-dev/i2talk-rea (\"Form changes...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ github-actions commented on issue # 11 on repo oulasvirta/write-git (\"Title...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” zdenkotraste closed a pull request on repo zdenkotraste/K8s-vir (\"Dev...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” swatso2020 closed a pull request on repo swatso2020/Project3 (\"Thalia...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ mlenser commented on issue # 643 on repo mlenser/kryx-rpg-iss (\"Restoration and Heal do \n",
       "the same thing...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Filco306 commented on issue # 549 on repo giotto-ai/giotto-tda (\"[BUG] Parameters for \n",
       "functions in Mapper pipeline ...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ pull opened a pull request on repo Mu-L/bevy (\" master from bevyengine:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ dependabot-preview commented on issue # 192 on repo mongodb-js/compass-q \n",
       "(\"build(deps-dev): bump sinon from 8.1.1 to 9.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ aisaioop opened issue # 1599 on repo aisaioop/yzevgyqigd \n",
       "(\"ไธŠๆตท้ป„ๆตฆๅŒบไปฃๅผ€ๆ€€ๅญ•ๆตไบง่ฏๆ˜Ž,B่ถ…ๅ•/ๅšๅผ€่ฏŠๆ–ญ่ฏๆ˜Žใ€–โ•…ๅพฎ2979194412ใ€—...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ github-actions commented on issue # 4 on repo kshyk/a-qa (\"[Snyk] Fix for 1 \n",
       "vulnerabilities...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” dependabot-preview closed a pull request on repo mongodb-js/compass-q (\"build(deps-dev): \n",
       "bump sinon from 8.1.1 to 9.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ helmrich opened issue # 27 on repo vinceliuice/WhiteSur (\"Spotify Icon not working...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ rusefillc commented on issue # 2065 on repo rusefi/rusefi (\"MRE issue with tle8888 - GP3 \n",
       "does not work?...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿš€ github-actions released 20304 of Anuken/MindustryBuilds\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ atodorov opened a pull request on repo kiwitcms/Kiwi (\"Remove CsrfDisableMiddleware. \n",
       "Closes #297...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ jesus-santamarca opened a pull request on repo toastmxIT/brandline- (\"Add Page Edit...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo Mu-L/bevy (\" master from bevyengine:master...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ PN-Cryptid commented on issue # 277 on repo ProjectNelth/BugTrac (\"[List] Twin Peaks...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ oulasvirta commented on issue # 11 on repo oulasvirta/write-git (\"Title...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ eriksvedang commented on issue # 902 on repo carp-lang/Carp (\"Unify languages...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿš€ iDeagan released 0.1 of iDeagan/Duels-Winstreak-RichPresence\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ clickysteve commented on issue # 512 on repo polyend/TrackerIssue (\"[1.3.0b3] Export Song \n",
       "Stems - Various Issues inclu...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ Chramox opened a pull request on repo Chramox/tytus (\"Update...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Didier-D-crypto closed a pull request on repo Didier-D-crypto/Empl (\"Bump lodash from \n",
       "4.17.15 to 4.17.19...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ WarrenWeckesser commented on issue # 9999 on repo scipy/scipy (\"BUG: malloc() calls in \n",
       "Cython and C that are not c...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ digitaldan commented on issue # 9347 on repo openhab/openhab-addo (\"[WIP] MyQ Initial \n",
       "commit of the MyQ binding for OH...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pull closed a pull request on repo earnrising/home-assi (\" dev from home-assistant:dev...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ azure-pipelines commented on issue # 5481 on repo microsoft/winget-pkg (\"Add GOG Galaxy \n",
       "2.0.30.20...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Edmon999 closed a pull request on repo Edmon999/react_homew (\"Homework19 21...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ jrlanglois commented on issue # 145 on repo nick-thompson/bluepr (\"EcmascriptEngine \n",
       "Duktape Pimpl...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Dexy2811 commented on issue # 2551 on repo ValveSoftware/csgo-o (\"CS:GO stuck in windowed \n",
       "mode...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ github-actions opened issue # 204 on repo Sakzsee/Sakthisree (\"Error updating \n",
       "notebooks...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Edmon999 closed a pull request on repo Edmon999/react_homew (\"Edit task new fields...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ pyup-bot opened a pull request on repo dayalannair/wireless (\"Update wheel to 0.36.2...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ DJTai opened a pull request on repo DJTai/hugo-theme-cac (\"Update Fork with Main...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ dependabot-preview opened a pull request on repo mongodb-js/compass-s (\"Bump sinon from \n",
       "8.1.1 to 9.2.2...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ aisaioop opened issue # 1600 on repo aisaioop/yzevgyqigd \n",
       "(\"ๅŒ—ไบฌ้—จๅคดๆฒŸๅŒบไปฃๅผ€ๆ€€ๅญ•ๆตไบง่ฏๆ˜Ž,B่ถ…ๅ•/ๅšๅผ€่ฏŠๆ–ญ่ฏๆ˜Žใ€–โ•…ๅพฎ2979194412ใ€—...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ pyup-bot commented on issue # 21 on repo dayalannair/wireless (\"Update wheel to \n",
       "0.36.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” kelseyhuse30 closed a pull request on repo DiversityCorp/compan (\"Bump ini from 1.3.5 to \n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ bmmunds opened a pull request on repo bmmunds/363Stroop (\"Merging...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ KimMead opened a pull request on repo learn-co-students/re (\"Done...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โญ glutamate closed issue # 466 on repo saltcorn/saltcorn (\"Forgotten tag \"Authentication\" \n",
       "for google-auth plu...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ glutamate commented on issue # 466 on repo saltcorn/saltcorn (\"Forgotten tag \n",
       "\"Authentication\" for google-auth plu...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ snyk-bot opened a pull request on repo guypod/goof (\"[Snyk] Security upgrade mongoose from\n",
       "4.2.4 to 5.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” pyup-bot closed a pull request on repo dayalannair/wireless (\"Update wheel to 0.36.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ dependabot-preview commented on issue # 139 on repo mongodb-js/compass-s (\"Bump sinon from\n",
       "8.1.1 to 9.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ charlyhackr opened a pull request on repo charlyhackr/security (\"Revert \"Add wolverine \n",
       "octocat to game\"...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” dependabot-preview closed a pull request on repo mongodb-js/compass-s (\"Bump sinon from \n",
       "8.1.1 to 9.2.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Jandeh7 closed a pull request on repo maura-dev/i2talk-rea (\"Form changes...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ syntactic-salt opened a pull request on repo syntactic-salt/brows (\"release pipeline...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Owlnofeathers closed a pull request on repo Owlnofeathers/discog (\"Bump ini from 1.3.5 to \n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ tcoupin opened a pull request on repo rclone/rclone (\"Feat webdav nextcloud chunked...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” isamaues closed a pull request on repo JambuOverflow/lepic (\"User management login \n",
       "navigation bug fixed...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ m1dark commented on issue # 205 on repo ArugaZ/whatsapp-bot (\"ADD SEARCH GOOGLE...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ autocode-app opened issue # 79330 on repo imamandrews/imamandr \n",
       "(\"https://giphy.com/gifs/69jy30PI6zPyK5vY2c @ImamAnd...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ jcockbain opened a pull request on repo jcockbain/advent-of- (\"Create go.yml...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” kodiakhq closed a pull request on repo chdsbd/kodiak (\"add(docs): docs for cut_body_before \n",
       "and cut_body_a...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ okeeffdp commented on issue # 8064 on repo wbond/package_contro (\"Added a language syntax \n",
       "for Snowflake SQL...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” alexerlandsson closed a pull request on repo alexerlandsson/dice (\"Bump ini from 1.3.5 to \n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โญ sanskritbscs closed issue # 3 on repo sanskritbscs/memory (\"something broken...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ sanskritbscs commented on issue # 3 on repo sanskritbscs/memory (\"something broken...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ github-learning-lab commented on issue # 2 on repo pfxsys/github-slides (\"Your first \n",
       "contribution...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ moezzineb commented on issue # 72248 on repo flutter/flutter (\"Undefined name \n",
       "'ScaffoldMessenger'...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ JustSlone commented on issue # 16181 on repo microsoft/fluentui (\"Dropdown component \n",
       "should adjust his callout width...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ codecov commented on issue # 231 on repo open-mmlab/mmdetecti (\"fix indoor_eval in case of\n",
       "less classes in predict...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ aisaioop opened issue # 1601 on repo aisaioop/yzevgyqigd \n",
       "(\"ไธŠๆตทๅฎๅฑฑๅŒบไปฃๅผ€ๆ€€ๅญ•ๆตไบง่ฏๆ˜Ž,B่ถ…ๅ•/ๅšๅผ€่ฏŠๆ–ญ่ฏๆ˜Žใ€–โ•…ๅพฎ2979194412ใ€—...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ constanceferragu opened a pull request on repo lucienwalewski/Maths (\"week 5 \n",
       "constance...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ mightybart commented on issue # 41 on repo floriankarsten/space (\"Greek alphabet...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿš€ dellagustin released v1.32.1 of podStation/podStation\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ jyshangguan opened a pull request on repo jyshangguan/MorphSED (\"add image module...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Ryukishi closed a pull request on repo adibhanna/matthewkin (\"Feature/preach page...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” ahocevar closed a pull request on repo openlayers/openlayer (\"Better getPointResolution \n",
       "default when no transfor...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ snyk-bot opened a pull request on repo stelthdroid8/yelpCam (\"[Snyk] Security upgrade \n",
       "mongoose from 5.5.12 to 5....\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” mennovanemmerik closed a pull request on repo Softimistic/Project- (\"Ship Model Added...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ Joulinar commented on issue # 3973 on repo MichaIng/DietPi (\"Nextcloud no :4443 port and \n",
       "no nc-config...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ 9mm commented on issue # 72 on repo rubycdp/ferrum (\"Is there any way I could use a \n",
       "proxy?...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” Chramox closed a pull request on repo Chramox/tytus (\"Update...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ dependabot commented on issue # 3 on repo herzliya-space-labor (\"Bump ini from 1.3.5 to \n",
       "1.3.8 in /backend...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ codepope commented on issue # 340 on repo superfly/flyctl (\"GitHub Codespaces Install \n",
       "Incomplete...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ poelzi commented on issue # 3197 on repo mixxxdj/mixxx (\"Add colored console output...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ“ซ slingamn opened issue # 1455 on repo oragono/oragono (\"split manual into an operator \n",
       "manual and an end us...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” gabriel-hahn closed a pull request on repo gabriel-hahn/react-n (\"Bump \n",
       "@storybook/addon-essentials from 6.1.9 to 6.1...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ distantnative opened a pull request on repo getkirby/getkirby.co (\"Remove svgo...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœจ pull opened a pull request on repo antosubash/OrchardCo (\" dev from OrchardCMS:dev...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ ethindp commented on issue # 134 on repo rust-osdev/bootloade (\"Documentation...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” yakirgot closed a pull request on repo yakirgot/snake (\"chore(deps): bump ini from 1.3.5 to\n",
       "1.3.8...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” mergify closed a pull request on repo spbu-coding/6-Lev0ni (\"ะ˜ัะฟั€ะฐะฒะปะตะฝั‹ ะพัˆะธะฑะบะธ ั \n",
       "ะฟะฐะผัั‚ัŒัŽ...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ michaelforney commented on issue # 14 on repo oasislinux/oasis (\"Switch to BearSSL...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
โœ” dependabot closed a pull request on repo herzliya-space-labor (\"Bump ini from 1.3.5 to \n",
       "1.3.8 in /backend...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ stale commented on issue # 1298 on repo ironhack-labs/lab-ex (\"[RMT-FT-102020] - Pablo \n",
       "Berho y Sergio Ros...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "
๐Ÿ’ฌ awolf78 commented on issue # 82 on repo ImpulseRC/OSD (\"Add support for NEO-M9N...\")\n",
       "
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "Counter({'commits': 868})\n" ] } ], "source": [ "tail_events(evts)" ] }, { "cell_type": "code", "execution_count": 215, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _pr_row(*its): print(f\"{its[0]: <30} {its[1]: <6} {its[2]: <5} {its[3]: <6} {its[4]: <7}\")\n", "def watch_users(evts):\n", " \"Print a table of the users with the most events\"\n", " users,users_events = defaultdict(int),defaultdict(lambda: defaultdict(int))\n", " while True:\n", " for x in islice(evts, 10):\n", " users[x.actor.login] += 1\n", " users_events[x.actor.login][x.type] += 1\n", "\n", " print(term.clear())\n", " _pr_row(\"User\", \"Events\", \"PRs\", \"Issues\", \"Pushes\")\n", " sorted_users = sorted(users.items(), key=lambda o: (o[1],o[0]), reverse=True)\n", " for u in sorted_users[:20]:\n", " _pr_row(*u, *itemgetter('PullRequestEvent','IssuesEvent','PushEvent')(users_events[u[0]]))" ] }, { "cell_type": "code", "execution_count": 216, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _push_to_log(e): return f\"{e.actor.login} pushed {len(e.payload.commits)} commits to repo {e.repo.name}\"\n", "def _logwin(title,color): return Log(title=title,border_color=2,color=color)\n", "\n", "def quad_logs(evts):\n", " \"Print 4 panels, showing most recent issues, commits, PRs, and releases\"\n", " term.enter_fullscreen()\n", " ui = HSplit(VSplit(_logwin('Issues', color=7), _logwin('Commits' , color=3)),\n", " VSplit(_logwin('Pull Requests', color=4), _logwin('Releases', color=5)))\n", "\n", " issues,commits,prs,releases = all_items = ui.items[0].items+ui.items[1].items\n", " for o in all_items: o.append(\" \")\n", "\n", " d = dict(PushEvent=commits, IssuesEvent=issues, IssueCommentEvent=issues, PullRequestEvent=prs, ReleaseEvent=releases)\n", " while True:\n", " for x in islice(evts, 10):\n", " f = [_to_log,_push_to_log][x.type == 'PushEvent']\n", " if x.type in d: d[x.type].append(f(x)[:95])\n", " ui.display()" ] }, { "cell_type": "code", "execution_count": 217, "metadata": {}, "outputs": [], "source": [ "#export\n", "def simple(evts):\n", " for ev in evts: print(f\"{ev.actor.login} {ev.type} {ev.repo.name}\")" ] }, { "cell_type": "code", "execution_count": 218, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _get_token():\n", " path = Path.home()/\".ghtop_token\"\n", " if path.is_file():\n", " try: return path.read_text().strip()\n", " except: _exit(\"Error reading token\")\n", " else: token = github_auth_device()\n", " path.write_text(token)\n", " return token" ] }, { "cell_type": "code", "execution_count": 219, "metadata": {}, "outputs": [], "source": [ "#export\n", "def _signal_handler(sig, frame):\n", " if sig != signal.SIGINT: return\n", " print(term.exit_fullscreen(),term.clear(),term.normal)\n", " sys.exit(0)\n", "\n", "_funcs = dict(tail=tail_events, quad=quad_logs, users=watch_users, simple=simple)\n", "_filts = str_enum('_filts', 'user', 'repo', 'org')\n", "_OpModes = str_enum('_OpModes', *_funcs)\n", "\n", "@call_parse\n", "def main(mode: Param(\"Operation mode to run\", _OpModes),\n", " include_bots: Param(\"Include bots (there's a lot of them!)\", store_true)=False,\n", " types: Param(\"Comma-separated types of event to include (e.g PushEvent)\", str)='',\n", " filt: Param(\"Filtering method\", _filts)=None,\n", " filtval: Param(\"Value to filter by (for `repo` use format `owner/repo`)\", str)=None):\n", " signal.signal(signal.SIGINT, _signal_handler)\n", " types = types.split(',') if types else None\n", " if filt and not filtval: _exit(\"Must pass `filter_value` if passing `filter_type`\")\n", " if filtval and not filt: _exit(\"Must pass `filter_type` if passing `filter_value`\")\n", " kwargs = {filt:filtval} if filt else {}\n", " api = GhApi(limit_cb=limit_cb, token=_get_token())\n", " evts = api.fetch_events(types=types, incl_bot=include_bots, **kwargs)\n", " _funcs[mode](evts)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Export -" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Converted 00_ghtop.ipynb.\n", "Converted index.ipynb.\n", "Converted rich_test.ipynb.\n" ] } ], "source": [ "#hide\n", "from nbdev.export import notebook2script\n", "notebook2script()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "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.8.3" } }, "nbformat": 4, "nbformat_minor": 4 }