Created
December 3, 2012 22:20
-
-
Save sarahhodne/4198667 to your computer and use it in GitHub Desktop.
List of the top contributors across the travis-ci organization's projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| svenfuchs: 5515 (#1) | |
| joshk: 2234 (#2) | |
| michaelklishin: 2206 (#3) | |
| drogus: 1145 (#4) | |
| rkh: 888 (#5) | |
| roidrage: 674 (#6) | |
| henrikhodne: 394 (#7) | |
| sferik: 302 (#8) | |
| ifesdjeen: 220 (#9) | |
| randym: 192 (#10) | |
| loicfrering: 132 (#11) | |
| bai: 101 (#12) | |
| KL-7: 71 (#13) | |
| ndbroadbent: 66 (#14) | |
| dmathieu: 60 (#15) | |
| jeffkreeftmeijer: 51 (#16) | |
| mmalecki: 49 (#17) | |
| rubiii: 49 (#17) | |
| parndt: 41 (#19) | |
| johnmuhl: 36 (#20) | |
| steveklabnik: 35 (#21) | |
| franckverrot: 33 (#22) | |
| flippingbits: 30 (#23) | |
| wardbekker: 24 (#24) | |
| lsmith77: 22 (#25) | |
| gildegoma: 22 (#25) | |
| laserlemon: 22 (#25) | |
| robertodecurnex: 19 (#28) | |
| fxposter: 17 (#29) | |
| simi: 17 (#29) | |
| nschonni: 16 (#31) | |
| lucaspinto: 16 (#31) | |
| tjeden: 15 (#33) | |
| dhiemstra: 13 (#34) | |
| hornairs: 12 (#35) | |
| sethvargo: 11 (#36) | |
| sol: 11 (#36) | |
| fionatay: 11 (#36) | |
| tilsammans: 10 (#39) | |
| fritzek: 10 (#39) | |
| Juice10: 10 (#39) | |
| iconara: 9 (#42) | |
| rockymadden: 9 (#42) | |
| moro: 8 (#44) | |
| SweeD: 7 (#45) | |
| leto: 7 (#45) | |
| meatballhat: 7 (#45) | |
| phlipper: 6 (#48) | |
| argami: 6 (#48) | |
| lukeredpath: 6 (#48) | |
| bsiggelkow: 6 (#48) | |
| christeredvartsen: 6 (#48) | |
| paulwittmann: 6 (#48) | |
| drbrain: 6 (#48) | |
| GeekOnCoffee: 5 (#55) | |
| indirect: 5 (#55) | |
| jwswj: 5 (#55) | |
| bergie: 5 (#55) | |
| pastjean: 5 (#55) | |
| gilesbowkett: 5 (#55) | |
| erikfrerejean: 5 (#55) | |
| jmazzi: 5 (#55) | |
| hoverlover: 5 (#55) | |
| mpapis: 4 (#64) | |
| jonleighton: 4 (#64) | |
| Antiarchitect: 4 (#64) | |
| timoschilling: 4 (#64) | |
| lenary: 4 (#64) | |
| strzalek: 4 (#64) | |
| Maks3w: 4 (#64) | |
| mislav: 4 (#64) | |
| smasty: 4 (#64) | |
| minciue: 4 (#64) | |
| dvberkel: 4 (#64) | |
| fsouza: 3 (#75) | |
| seancribbs: 3 (#75) | |
| gharlan: 3 (#75) | |
| fd: 3 (#75) | |
| Mezzle: 3 (#75) | |
| skddc: 3 (#75) | |
| patcon: 3 (#75) | |
| xuhdev: 3 (#75) | |
| nudded: 3 (#75) | |
| datag: 3 (#75) | |
| technomancy: 3 (#75) | |
| aderyabin: 3 (#75) | |
| brucespang: 3 (#75) | |
| arunagw: 3 (#75) | |
| tzi: 3 (#75) | |
| hakanensari: 3 (#75) | |
| Mab879: 3 (#75) | |
| tchak: 3 (#75) | |
| sanemat: 3 (#75) | |
| tomfrompoland: 3 (#75) | |
| JonnyJD: 3 (#75) | |
| Seldaek: 3 (#75) | |
| pborreli: 3 (#75) | |
| koraktor: 3 (#75) | |
| pat: 3 (#75) | |
| burningTyger: 3 (#75) | |
| kimptoc: 3 (#75) | |
| judofyr: 3 (#75) | |
| levent: 3 (#75) | |
| stloyd: 3 (#75) | |
| vzmind: 3 (#75) | |
| klaussilveira: 2 (#106) | |
| waseem: 2 (#106) | |
| joliss: 2 (#106) | |
| drnic: 2 (#106) | |
| dbussink: 2 (#106) | |
| fabian: 2 (#106) | |
| blom: 2 (#106) | |
| musicalchair: 2 (#106) | |
| randomecho: 2 (#106) | |
| acook: 2 (#106) | |
| sc68cal: 2 (#106) | |
| SamWhited: 2 (#106) | |
| Holek: 2 (#106) | |
| boone: 2 (#106) | |
| lest: 2 (#106) | |
| martinciu: 2 (#106) | |
| benedikt: 2 (#106) | |
| Gazler: 2 (#106) | |
| joelmahoney: 2 (#106) | |
| ecoffey: 2 (#106) | |
| sdumitriu: 2 (#106) | |
| leedo: 2 (#106) | |
| hibariya: 2 (#106) | |
| Freso: 2 (#106) | |
| alejandro: 2 (#106) | |
| natefinch: 2 (#106) | |
| lukesarnacki: 2 (#106) | |
| brixen: 2 (#106) | |
| erikissuper: 2 (#106) | |
| darvin: 2 (#106) | |
| guilleiguaran: 2 (#106) | |
| pcreux: 1 (#137) | |
| cyberdelia: 1 (#137) | |
| ansell: 1 (#137) | |
| scottjg: 1 (#137) | |
| rogeriopradoj: 1 (#137) | |
| renansaddam: 1 (#137) | |
| paukul: 1 (#137) | |
| icco: 1 (#137) | |
| goodwink: 1 (#137) | |
| jerith: 1 (#137) | |
| jarib: 1 (#137) | |
| foexle: 1 (#137) | |
| eriksencosta: 1 (#137) | |
| cordoval: 1 (#137) | |
| medecau: 1 (#137) | |
| n3v1k: 1 (#137) | |
| binki: 1 (#137) | |
| miketheman: 1 (#137) | |
| ariya: 1 (#137) | |
| mikaelhg: 1 (#137) | |
| CodeBlock: 1 (#137) | |
| michaelsbradleyjr: 1 (#137) | |
| baloo: 1 (#137) | |
| bgadoury: 1 (#137) | |
| rmehner: 1 (#137) | |
| okuryu: 1 (#137) | |
| tricknotes: 1 (#137) | |
| remiprev: 1 (#137) | |
| sarahmei: 1 (#137) | |
| txus: 1 (#137) | |
| awendt: 1 (#137) | |
| etrepum: 1 (#137) | |
| shancat: 1 (#137) | |
| boennemann: 1 (#137) | |
| briangershon: 1 (#137) | |
| BDQ: 1 (#137) | |
| ugisozols: 1 (#137) | |
| TrevorBramble: 1 (#137) | |
| tavisrudd: 1 (#137) | |
| tvdeyen: 1 (#137) | |
| bibinou: 1 (#137) | |
| robinbortlik: 1 (#137) | |
| niklas: 1 (#137) | |
| fb3: 1 (#137) | |
| joneslee85: 1 (#137) | |
| qrush: 1 (#137) | |
| kronn: 1 (#137) | |
| mlafeldt: 1 (#137) | |
| lgierth: 1 (#137) | |
| yuya-takeyama: 1 (#137) | |
| chrisledet: 1 (#137) | |
| smathy: 1 (#137) | |
| jamesalmond: 1 (#137) | |
| talentdeficit: 1 (#137) | |
| EvanDotPro: 1 (#137) | |
| ChrisOelmueller: 1 (#137) | |
| KODerFunk: 1 (#137) | |
| aelgru: 1 (#137) | |
| defunkt: 1 (#137) | |
| chrismcg: 1 (#137) | |
| manveru: 1 (#137) | |
| flores: 1 (#137) | |
| bfrohs: 1 (#137) | |
| ariejan: 1 (#137) | |
| antekpiechnik: 1 (#137) | |
| danielmorrison: 1 (#137) | |
| alco: 1 (#137) | |
| akahn: 1 (#137) | |
| arsduo: 1 (#137) | |
| dguyon: 1 (#137) | |
| devn: 1 (#137) | |
| asm89: 1 (#137) | |
| franzliedke: 1 (#137) | |
| hjr3: 1 (#137) | |
| secondplanet: 1 (#137) | |
| biow0lf: 1 (#137) | |
| stealth35: 1 (#137) | |
| jaimeiniesta: 1 (#137) | |
| juzna: 1 (#137) | |
| jezdez: 1 (#137) | |
| pyykkis: 1 (#137) | |
| jfirebaugh: 1 (#137) | |
| presidentbeef: 1 (#137) | |
| KamranMackey: 1 (#137) | |
| kdambekalns: 1 (#137) | |
| doismellburning: 1 (#137) | |
| kaoru: 1 (#137) | |
| Daxter: 1 (#137) | |
| dustin: 1 (#137) | |
| miyagawa: 1 (#137) | |
| lenniboy: 1 (#137) | |
| lquixada: 1 (#137) | |
| drblinken: 1 (#137) | |
| AndrewVos: 1 (#137) | |
| ddollar: 1 (#137) | |
| gerred: 1 (#137) | |
| jorgedavila25: 1 (#137) | |
| tomash: 1 (#137) | |
| marten: 1 (#137) | |
| reu: 1 (#137) | |
| tax: 1 (#137) | |
| bascht: 1 (#137) | |
| benjamincharity: 1 (#137) | |
| leviwilson: 1 (#137) | |
| hdgarrood: 1 (#137) | |
| maerlyn: 1 (#137) | |
| colszowka: 1 (#137) | |
| Nightgunner5: 1 (#137) | |
| Azema: 1 (#137) | |
| mutewinter: 1 (#137) | |
| jonlemmon: 1 (#137) | |
| mojavelinux: 1 (#137) | |
| LaurentGoderre: 1 (#137) | |
| kugaevsky: 1 (#137) | |
| MSNexploder: 1 (#137) | |
| mrshu: 1 (#137) | |
| jc00ke: 1 (#137) | |
| mjgardner: 1 (#137) | |
| jdennes: 1 (#137) | |
| lanthaler: 1 (#137) | |
| kavu: 1 (#137) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'gh' | |
| contributions = {} | |
| repositories = {} | |
| longest_name = 0 | |
| #GH.with(username: ENV['GITHUB_USERNAME'], password: ENV['GITHUB_PASSWORD']) do | |
| GH.with(client_id: ENV['GITHUB_CLIENT_ID'], client_secret: ENV['GITHUB_CLIENT_SECRET']) do | |
| GH['orgs/travis-ci/repos'].each do |repository| | |
| next unless repository['name'] =~ /\Atravis-/ | |
| repositories[repository['full_name']] = GH["repos/#{repository['full_name']}/contributors"] | |
| $STDERR.print('.') | |
| end | |
| end | |
| $STDERR.puts | |
| repositories.each do |repository_name, contributors| | |
| contributors.each do |contributor| | |
| login = contributor['login'] | |
| contributions[login] ||= 0 | |
| contributions[login] += contributor['contributions'] | |
| longest_name = login.length if login.length > longest_name | |
| end | |
| end | |
| contributions = contributions.sort_by { |login, count| count }.reverse | |
| i = 0 | |
| rank = 0 | |
| ncon = nil | |
| contributions.map! do |login, count| | |
| i += 1 | |
| if count != ncon | |
| rank = i | |
| ncon = count | |
| end | |
| [login, { count: count, rank: rank}] | |
| end | |
| contributions.each do |login, info| | |
| puts "#{(login + ':').ljust(longest_name + 2)}#{info[:count].to_s.rjust(5)} (##{info[:rank]})" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment