Skip to content

Instantly share code, notes, and snippets.

@cmr cmr/issue_links Secret
Created Aug 23, 2019

Embed
What would you like to do?
import github
import itertools
import os
# Manually removed alanjds and https://github.com/alanjds/drf-nested-routers/issues/114 from the lists above!
gh = github.Github(os.environ['GITHUB_API_KEY'])
def api_wait_search():
limits = gh.get_rate_limit()
if limits.search.remaining <= 5:
seconds = (limits.search.reset - datetime.now()).total_seconds()
print "Waiting for %d seconds ..." % (seconds)
time.sleep(seconds)
print "Done waiting - resume!"
else:
print("%d remaining" % limits.search.remaining)
issues_paginated = gh.search_issues('author:cmr Relicense')
real_issues = []
def go():
ct = 0
for issue in issues_paginated:
real_issues.append(issue)
ct = ct + 1
if ct % 27 == 0:
api_wait_search()
issue_comments = {}
def fill_comments():
for issue in real_issues:
# cross fingers to not bump ratelimit
# (there should be less than 5k queries...)
issue_comments[issue] = list(issue.get_comments())
all_comments = list(itertools.chain.from_iterable(issue_comments.values()))
participants = list(set(map(lambda c: c.user.login, all_comments)))
issue_links = list(set(issue.html_url for issue in real_issues))
owners = list(set(iss.repository.owner.login for iss in real_issues))
1wilkens
Aatch
AngryLawyer
Antti
ArtemGr
BarkingMouseStudio
Boddlnagg
BonsaiDen
BurntSushi
Byron
Connicpu
Dagur
DanielKeep
DenisKolodin
Detegr
Eljay
FaultyRAM
Fiedzia
Florob
FranklinChen
Freyskeyd
GGist
Geal
Gekkio
GlenDC
GrahamDennis
GuillaumeGomez
HeroesGrave
Hoverbear
JeffBelgum
JoNil
KalitaAlexey
Keats
Kimundi
KokaKiwi
Leo2807
Limvot
Machtan
Marthog
Marwes
Nemo157
Nercury
Ogeon
P1start
PeterReid
PistonDevelopers
Popog
Razaekel
RustAudio
Ryman
SSheldon
SimonPersson
SimonSapin
SkylerLipthay
Smithay
Stebalien
Techern
TimNN
TimelyDataflow
TomBebbington
TyOverby
Valloric
Valve
Vectorious
WaDelma
WiSaGaN
Wright-Language-Developers
Yoric
Yuhta
ZeroCostGoods
a8m
abonander
achanda
adamgreig
agrover
aleksandrpak
amodm
andelf
andreasots
andrew-d
andrewrk
andydude
antklim
anurse
aperezdc
archer884
arcnmx
arthurtw
asaaki
ascent12
assert-rs
athena-org
autumnai
avacariu
awelkie
azurespace
azyobuzin
badboy
banyan
benashford
blackbeam
bluejekyll
bodoni
bonifaido
borntyping-sandbox
botanio
brandonson
brayniac
brendanzab
bryal
bsteinb
buntine
burtonageo
calvinmetcalf
carllerche
carrotsrc
ceram1
cesarb
cgaebel
chip8-rust
chrido
chyh1990
clog-tool
clux
cmsd2
cobalt-org
codius-deprecated
conduit-rust
couchdb-rs
cpjreynolds
cristicbz
crumblingstatue
cryptosphere
cstorey
cyderize
daboross
danburkert
danielpclark
daramos
datashape
dazeus
dbrodie
dche
dcrewi
dcuddeback
dequbed
derekjw
dermesser
dhardy
dherman
diesel-rs
dimbleby
diorahman
docopt
dovahcrow
dpc
dradtke
dschatzberg
duarten
durka
dwrensha
dzamlo
ebfull
edef1c
ellisonch
elvis-epx
eminence
emk
emoon
energymon
englishm
eternaleye
euclio
evnm
eyolfson
faern
femdom
ferristseng
ferrouswheel
filipegoncalves
flosse
forgemo
frangio
frankmcsherry
freebroccolo
frewsxcv
fuchsnj
gadomski
gentoo90
georust
gfx-rs
ghmlee
gifnksm
giodamelio
gkbrk
glium
goffrie
graydon
gsingh93
gtk-rs
gustavla
gwicke
gz
havarnov
hawkw
hibariya
hilbert-space
hjr3
holyshared
hugoduncan
hwiechers
icorderi
idobata
iirelu
image-rs
indigits
inre
insanitybit
iopq
iorust
iron
iterion
jackm321
jameshurst
jcmoyer
jeaye
jgallagher
jimmycuadra
jmars
jmesmon
jmitchell
jmquigs
jodosha
johannhof
jojonv
jpernst
jrobsonchase
jsgf
jtuchsen
justinlatimer
jwilm
kaj
kayellpeee
kennytm
kerhong
killercup
kimhyunkang
kinghajj
knsd
kstep
kuchiki-rs
kurotetsuka
leon-barrett
lifthrasiir
lilyball
limeburst
livioribeiro
lj-ditrapani
llogiq
lo48576
loyd
lschmierer
lucidscape
m-decoster
magic003
manuel-woelker
marad
marekventur
markov-chain
mattnenterprise
mayflower
mbrt
mcarton
mcoffin
mcpherrinm
mdup
medek
megamsys
mfpiccolo
mhiley
mhristache
michaelsproul
mike-marcacci
mikedilger
mitchmindtree
mjkoo
mkroman
mlalic
mneumann
mongodb-labs
mrak
mrhooray
mttr
muja
musec
musitdev
mvdnes
mystor
natemara
nathankleyn
nathansizemore
nbaksalyar
neon-bindings
netvl
niax
nical
nicholasbishop
niconii
nishanths
notriddle
npryce
nukep
nukomeet
obv-mikhail
octplane
opal-rs
oxcable
panicbit
phsym
pshc
ptal
pturner42
pusher-community
pvginkel
pwoolcoc
pyfisch
pyk
pzol
radareorg
rainbowbismuth
rcolinray
redtrumpet
reem
retep998
richo
robertknight
robn
robo9k
rockneurotiko
rohitjoshi
rphmeier
rprotasov
rsaarelm
rsolomo
runarberg
rust-bakery
rust-bridge
rust-builder
rust-lang
rust-lang-nursery
rust-syndication
rustasync
rustcc
rustgd
rustless
rusty-new-dev
rustyhorde
ruuda
rzhw
sacooper
sajuthankappan
samcrow
samdolt
samnardoni
schickling
schultyy
seankerr
seanmonstar
servo
sfackler
shepmaster
skade
skullzzz
snd
sodiumoxide
softprops
sorear
spaceapi-community
spladug
srijs
stainless-steel
stouset
stuarthicks
stusmall
stygstra
sunng87
swgillespie
systemd-cron
tailhook
tbg
terahlunah
terminalcloud
th0br0
thehydroimpulse
thekashifmalik
thepowersgang
thijsc
tiffany352
toffaletti
tomaka
tomjakubowski
tomohiro
tozny
tsurai
ucarion
ujh
unicode-rs
untitaker
utkarshkukreti
vbarrielle
vberger
vertexclique
viperscape
visualjeff
wezm
wg
whipsch
whitequark
woxtu
wrl
yberreby
yggie
yuikns
zankich
zitsen
zkcrypto
zonyitoo
zslayton
zummenix
zzmp
0nkery
0xpr03
1wilkens
AIOOB
Aatch
AerialX
Aigeruth
Albibek
AlphaModder
AngryLawyer
Antti
ArtemGr
ArturKovacs
AurelR
Bastacyclop
BenMcH
Binero
Blei
Boddlnagg
BonsaiDen
BookOwl
BurntSushi
Byron
CarlColglazier
CensoredUsername
Cifram
Cobrand
ColinKinloch
Connicpu
CraZySacX
CruzBishop
Cyberunner23
DaemonLee
DanielKeep
Darkspear7
DenisKolodin
Denommus
DerekBurch
Detegr
DiamondLovesYou
Diggsey
Doom032
EduardoBautista
Eh2406
Eijebong
EleDiaz
Ericson2314
Esption
FauxFaux
Fiedzia
Florob
ForestCSharp
ForsakenHarmony
FranklinChen
Fraser999
Freyskeyd
FuGangqiang
GGist
Geal
Gekkio
GitCop
GlenDC
Goncalerta
GrahamDennis
GuillaumeGomez
Haggus
Hakon
HeroesGrave
HeroicKatora
Hoverbear
Isan-Rivkin
IvanUkhov
JanLikar
JarrettBillingsley
JeffBelgum
JoNil
JohnColanduoni
Kagami
KalitaAlexey
Keats
Kerollmops
KiChjang
Kimundi
KokaKiwi
Kroisse
LaylConway
LucioFranco
LukasKalbertodt
Machtan
MagaTailor
MaikKlein
Manishearth
Marwes
MichaelHirn
MichaelRiss
Ms2ger
Nekloa
Nemo157
Nercury
Nvirjskly
Ogeon
Outfl3sh
P1start
PascalPrecht
PeterMozesMerl
Phrohdoh
Potpourri
RAOF
Razican
ReadmeCritic
Rhuagh
RichardlL
Robzz
Roxxik
Ryman
Sean1708
Seeker14491
SergioBenitez
SiIky
SimonPersson
SimonSapin
SirVer
SirWaddles
SkylerLipthay
SpaceManiac
Stebalien
SuprDewd
TaborKelly
TechMagister
TheNeikos
TimDumol
TimNN
TobiasBales
Toby-S
Turbo87
Twinklebear
TyOverby
Ummon
Virviil
WiSaGaN
XMPPwocky
Xaeroxe
Ygg01
Yuhta
Zepheus
ZeronSix
Zoxc
aatxe
abonander
achanda
acolley
actimehl
adamcrume
adamreeve
adrianN
adrianwong
adudney
aepsil0n
agersant
ahmedcharles
ahtn
aij
aleksandrpak
alex
alex-gulyas
alexchandel
alexcrichton
alexheretic
alfredr
alilleybrinker
amaranth
amodm
amousset
andars
andelf
andersk
andor44
andreasots
andresilva
andrew-d
andrewrk
aneeshusa
aochagavia
apasel422
aperezdc
apotheon
aramvisser
arathunku
archer884
arges
armed
artemkonenko
arturoc
aschampion
asheb
astraw
atheriel
atouchet
aturon
avacariu
awelkie
azdle
azerupi
b52
bacoboy
badboy
barzamin
bbigras
benaryorg
benashford
benschulz
berkus
bfops
bfrog
birkenfeld
birktj
bitboxer
bitonic
bitshifter
bjadamson
bkearns
blabaere
blaenk
bluejekyll
bluss
bobakker
bombless
bonifaido
borman
bossmc
bozaro
bpbp-boop
bpicolo
brandonson
brandonw
brayniac
brendanzab
brettfo
briankropf
brookst
brson
bryal
brycefisher
bstrie
btobolaski
buntine
burtonageo
buster
bvssvni
caldwell
calum
calvinmetcalf
camjackson
canndrew
cantsin
carllerche
carlosmn
carols10cents
carrotsrc
caspark
cburgdorf
ccgn
cesarb
cgaebel
cheme
chills42
chklauser
chris-morgan
chyvonomys
cjcole
cl91
cmr
cmsd2
cole14
colin-kiegel
connorimes
conradkdotcom
cormac-obrien
coyotebush
crackofdusk
crhino
cristicbz
crumblingstatue
cuviper
cydrobolt
cyndis
d-dorazio
daboross
dagit
danburkert
daniel-vainsencher
daniellockyer
danielpclark
danlarkin
darayus
darnuria
darxriggs
davbo
davidszotten
davll
dbalchev
dbrgn
dbrodie
dcampbell24
dcbishop
dckc
dcrewi
dcuddeback
derekprior
derkyjadex
devonoel
dfaust
dgonyeo
dgulotta
dguo
dhardy
dherman
diogovk
dirvine
divarvel
djmcgill
djwf
dkhenry
dmitry-egorov
dnaq
dndanik
dne
doabit
dotdash
dovahcrow
dpc
dpetersen
drawlerr
drbawb
drhaynes
dtolnay
duelinmarkers
durka
dwijnand
dwrensha
dylanede
dzamlo
ebarnard
ebfe
ebfull
ebkalderon
eddyb
edef1c
edwin0cheng
efyang
ehiggs
eklavya
eliovir
emilio
emk
emoon
epage
erickt
est31
eugene2k
faern
farcaller
farism
felipeagc
fenhl
feroldi
fhartwig
fiji-flo
filipegoncalves
fintelia
fkaa
flada-auxv
flaub
flodiebold
flosse
flying-sheep
forgemo
francesca64
franza
frazar
freebroccolo
freiguy1
frewsxcv
froydnj
fsommar
fuchsnj
fungos
futile
gadomski
gamebox
gaudecker
gchp
gentoo90
gereeter
gfokkema
ghmlee
ghost
ghotiphud
gkbrk
gkoz
glennw
globin
gmalette
gmjosack
gmorenz
gnunicorn
greencrab
greenmughal
groteworld
grovesNL
grtlr
gsquire
gwenn
gz
h3r2tic
habnabit
hannobraun
hauleth
havarnov
hawkw
hebiyan
hestela
hjr3
hlieberman
hobofan
hoehrmann
holyshared
homeworkprod
hoodie
hsivonen
hugoduncan
huonw
i80and
icefoxen
icorderi
ids1024
ignatenkobrain
ignisf
ihrwein
ijks
ildarsharafutdinov
indiv0
insanitybit
irauta
irh
isra17
iterion
ivanceras
iwillspeak
izgzhen
jadpole
jahfer
jakerr
jalkoby
james-darkfox
jameshurst
jamiltron
jamperry
jamwt
jarrett
jauhien
jaysonsantos
jbrd
jdeseno
jdpage
jdub
jeaye
jedisct1
jeremija
jeremyjh
jfarrell
jgallagher
jgillich
jhasse
jimmycuadra
jmars
jmesmon
jneem
jnicholls
johannhof
josephglanville
jpernst
jplatte
jrobsonchase
jroesch
jshs
jtdowney
justinsacbibit
jwilm
kaj
kaksmet
kazimuth
kbknapp
kennytm
kentcdodds
keringar
khyperia
killercup
kinghajj
klutzy
kmcallister
knsd
kornholi
kstep
ktossell
kubahorak
kunerd
kvark
kvikas
kyledewey
larsbergstrom
leighlondon
lennartS
leon-barrett
leonkunert
leoschwarz
leoyvens
lfairy
lgvz
lidavidm
lifthrasiir
lilyball
limeburst
livioribeiro
ljedrz
llogiq
lovebug356
lrbalt
lschmierer
ltratt
lucab
lucaswerkmeister
lucidd
lukors
lukpank
luqmana
lyddonb
m-decoster
m-n
m-r-r
m4rw3r
mahkoh
malbarbo
mamartel
mandeep
manuel-rhdt
manuels
marcusklaas
mark-blum
markuskobler
martinlindhe
mathijshenquet
mathstuf
matklad
mattico
mattnenterprise
maurizi
mavdi
maxrp
maxsnew
mbrt
mbrubeck
mcasper
mdsteele
medek
meh
messense
metajack
mfeckie
mfpiccolo
mgax
mhiley
mhintz
mhristache
michaelsproul
mike-marcacci
mikeastock
mikedilger
miller-time
mitchmindtree
mitsuhiko
mjkoo
mkcp
mkovalchik
mkroman
mlalic
mmun
mneumann
mnussbaum
mohtar
mprobinson
mrannanj
msiemens
msierks
msiglreith
msvbg
mtsr
mttr
munshkr
musitdev
mvdnes
myfreeweb
mystal
mzmonsour
nabijaczleweli
nagisa
natemara
nathankleyn
nathanross
neon64
netvl
neuschaefer
niax
nical
nicholasbishop
nicokoch
nicolas-cherel
nikomatsakis
nixpulvis
noctune
notriddle
nox
npryce
nrc
nstoddard
nukep
nulldatamap
nwin
nyx
o11c
oakes
ocornut
octplane
oli-obk
ollie
olsonjeffery
omasanori
omni-viral
operutka
orclev
ordian
overminder
oyvindln
paezao
palango
palfrey
panicbit
pantaloons
paulrouget
pavlov-dmitry
pcn
pczarn
pd40
pdib
pedrocr
penberg
perlun
petrochenkov
pfasante
phaylon
phil-opp
philipc
phlmn
photex
phsym
phungleson
pix64
polachok
polyfractal
pop
pradyunsg
programble
psdh
pshendry
pshishkin
psyomn
ptersilie
pwoolcoc
pyfisch
pyros2097
pzol
qbit
qres
ra1u
radare
radford
randomPoison
randombit
rap2hpoutre
rayglover
reaperhulk
red75prime
reem
renato-zannon
retep998
richo
rlane
rnestler
robertknight
robinst
robo9k
rockneurotiko
rohitjoshi
romanb
rookwood101
rouge8
rozaliev
rphmeier
rprotasov
rryan
rsaarelm
rubber-duck
rustonaut
ruuda
ryan-scott-dev
ryanstew
rzhw
s-panferov
sacooper
sagebind
saghm
samdolt
samdoshi
sameer
saml
samphippen
saneyuki
sbidin
sbward
scoopr
seanmonstar
sebcrozet
sectopod
sehnpaa
semarie
semmaz
sercand
serpis
serprex
sfackler
sgrif
shadowmint
shama
shepmaster
signedin
simias
simnalamburt
simonask
sinistersnare
sinkuu
skade
skullzzz
snocl
snuk182
sondrele
sorccu
soulseekah
spladug
srdqty
srh
srijs
stevebob
steveklabnik
stjahns
stouset
strangeglyph
stratact
stygstra
suhr
sunaurus
sunjay
sunng87
syntheorem
tafia
tailhook
tak1n
talevy
tamird
tarcieri
tatref
tbg
tbu-
tcsc
tedajax
tedsta
teotwaki
teovoinea
terahlunah
tgkokk
tgockel
th0br0
thehydroimpulse
thelink2012
thenyeguy
theotherphil
theptrk
thiagopnts
thijsc
thiolliere
thommay
tiffany352
tioover
tmerr
tocubed
tolgap
tomaka
tomjakubowski
tomprince
toqueteos
torkleyy
tormol
tov
trolleyman
trombonehero
trotter
trufae
tsurai
tupshin
twoodford
uasi
ucarion
ujh
umurgdk
untitaker
upsuper
utkarshkukreti
uwearzt
vbarrielle
vberger
veddan
vhbit
vickenty
viraptor
vishvananda
vitvakatu
vkarpov15
vks
vky
vojtechkral
vvv
wagenet
wasi
wheals
whipsch
whitequark
wolenber
workanator
worr
wwendell
xales
xanium4332
xaviershay
xunien
yberreby
yjerem
yuriks
yurivish
zakorgy
zemlanin
zetok
zimbatm
zitsen
zmbush
zofrex
zonyitoo
zploskey
zr40
zsiciarz
zummenix
zzmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.