Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Playing Analytics on GrimoireLab Data
Search
Jesus M. Gonzalez-Barahona
February 02, 2018
Programming
0
130
Playing Analytics on GrimoireLab Data
Slides for the "Playing Analytics on GrimoireLab Data" hands-on workshop at #CHAOSSCon EU 2018.
Jesus M. Gonzalez-Barahona
February 02, 2018
Tweet
Share
More Decks by Jesus M. Gonzalez-Barahona
See All by Jesus M. Gonzalez-Barahona
Technical lag for software deployments
jgbarah
0
410
Meet GrimoireLab: Making your life easier
jgbarah
0
180
slides.pdf
jgbarah
0
170
Perceval, Graal and Arthur: The Quest for Software Project Data
jgbarah
0
100
GrimoireLab made simple: Using the basic stuff from Python
jgbarah
0
83
Nuestra responsabilidad con la tecnología
jgbarah
1
120
Un rato con amigos
jgbarah
0
220
CHAOSS Webinars: GrimoireLab
jgbarah
0
190
¿Así que tú crees que la tecnología es neutra?
jgbarah
2
380
Other Decks in Programming
See All in Programming
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
250
Kanzawa.rbのLT大会を支える技術の裏側を変更する Ruby on Rails + Litestream 編
muryoimpl
0
120
チームの立て直し施策をGoogleの 『効果的なチーム』と見比べてみた
maroon8021
0
280
為你自己學 Python
eddie
0
540
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2k
[JAWS-UG横浜 #79] re:Invent 2024 の DB アップデートは Multi-Region!
maroon1st
0
130
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
3.8k
2,500万ユーザーを支えるSREチームの6年間のスクラムのカイゼン
honmarkhunt
6
4.3k
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.2k
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
140
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
4
620
AWS re:Invent 2024個人的まとめ
satoshi256kbyte
0
150
Featured
See All Featured
A designer walks into a library…
pauljervisheath
205
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
39
1.9k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Building Adaptive Systems
keathley
39
2.4k
Rails Girls Zürich Keynote
gr2m
94
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
990
Transcript
chaoss.community Playing Analytics on GrimoireLab Data Python scripts to mine
GrimoireLab data about software development
chaoss.community Querying GrimoireLab enriched indexes Chapter “Python Scripting” from the
GrimoireLab Tutorial grimoirelab.gitbooks.io/tutorial
chaoss.community What do you need (1) A GrimoireLab index For
example (for this seminar): https://fosdem.biterg.io (Kibiter) https://fosdem.biterg.io/data (Elasticsearch)
chaoss.community What do you need (2) A Python virtual environment
with the Python module for Elasticsearch $ python3 -m venv /tmp/es $ source /tmp/es/bin/activate (es) $ pip install elasticsearch-dsl (es) $ pip install pandas
chaoss.community Elasticsearch survival (quick) guide $ curl http://localhost:9200/_cat/indices?v $ curl
-XPOST 'localhost:9200/_aliases?pretty' \ -H 'Content-Type: application/json' -d \ '{"actions" : [{ "add" : { "index" : "git_grimoirelab", "alias" : "git_enriched" } } ] }' $ curl -XGET 'localhost:9200/git/_search?size=1&pretty'
chaoss.community What to run (1) (es) $ wget https://raw.githubusercontent.com/chaoss/grimoirelab-tutorial/ master/python/scripts/enriched_elasticsearch_1.py
(es) $ python enriched_elasticsearch_1.py
chaoss.community What to run (2) (es) $ wget https://raw.githubusercontent.com/chaoss/grimoirelab-tutorial/ master/python/scripts/pandas_1.py
(es) $ python pandas_1.py