Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P7440
T192532 people
Active
Public
Actions
Authored by
Krenair
on Aug 9 2018, 2:53 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F24734192: T192532 people
Aug 9 2018, 2:53 PM
2018-08-09 14:53:24 (UTC+0)
Subscribers
None
>>>
import
collections
>>>
import
json
>>>
import
requests
>>>
S
=
0
>>>
n
=
1
>>>
authors
=
collections
.
Counter
()
>>>
while
n
>
0
:
...
resp
=
requests
.
get
(
'https://gerrit.wikimedia.org/r/changes/?q=status:merged+project:operations/puppet+-ownerin:ldap/wmf+-ownerin:ldap/nda+-ownerin:ldap/wmde&S={}&O=81'
.
format
(
S
))
...
commits
=
json
.
loads
(
resp
.
content
[
4
:])
...
for
commit
in
commits
:
...
authors
[
commit
[
'owner'
][
'username'
]]
+=
1
...
n
=
len
(
commits
)
...
S
+=
n
...
>>>
for
uid
,
c
in
authors
.
most_common
():
...
if
c
>=
3
:
...
print
(
uid
,
c
)
...
yuvipanda
1839
laner
1153
py
733
lcarr
597
asher
526
marc
452
springle
354
ben
346
krenair
288
paladox
271
madhuvishy
242
qchris
150
gwicke
145
johnflewis
133
yurik
132
preilly
108
gage
70
nemobis
67
juniorsys
60
manybubbles
55
gen
-
nfs
53
sara
43
petrb
41
mwalker
40
jzerebecki
39
jeremyb
39
smeyer
27
diederik
26
odder
17
damian
14
j
14
negative24
13
maurelio
12
tonythomas01
12
eddie
11
zhuyifei1999
10
glaisher
10
chicocvenancio
9
jkrauska
9
scottlee
9
rfaulk
8
urbanecm
6
framawiki
6
pnorman
6
drtrigon
6
platonides
6
lokal
-
profil
5
Kaldari
5
southparkfan
5
chjohnson
5
hedonil
5
spetrea
5
johnduhart
5
nschaaf
4
spage
4
physikerwelt
4
cmcmahon
4
bsitu
4
midom
4
nicko777
3
ricordisamoa
3
rangilogujarati
3
Event Timeline
Krenair
created this paste.
Aug 9 2018, 2:53 PM
2018-08-09 14:53:24 (UTC+0)
Krenair
mentioned this in
T192532: Figure out a way to enable volunteers to use the puppet compiler
.
Log In to Comment