Details and code: https://github.com/geekygirldawn/oscon_2015
FLOSS Community Metrics - Portland 2015
Sunday, July 18, 2015
Community Leadership Summit
Dawn FosterDirector of Open Source Community Strategy
Floss Community Metrics: Gource Custom Log Formats
1. GOURCE CUSTOM LOG FORMAT
AKA: I HAVE DATA AND I'M NOT AFRAID TO USE IT!
FLOSS COMMUNITY METRICS
PORTLAND 2015
Dawn M. Foster
@geekygirldawn
dawn@dawnfoster.com
fastwonderblog.com
PhD
Student
University
of
Greenwich
London,
UK
2. WHOAMI
• Geek, traveler, reader
• 20 year tech career. Past 15
years doing community &
open source (Intel, Jive,
Puppet Labs, etc.)
• PhD student at University of
Greenwich researching Linux
kernel
Photos by Josh Bancroft, Don Park
4. CUSTOM LOG FORMAT
Pipe Separated File
timestamp - A unix timestamp of when the update occured.
username - The name of the user who made the update.
type - Update type - (A)dded, (M)odified or (D)eleted.
file - Path of the file.
color - Color for the file in hex (FFFFFF) format (Optional)
Examples:
1275543595|andrew|A|src/main.cpp
1275543700|bob|M|src/main.cpp
https://code.google.com/p/gource/wiki/CustomLogFormat
5. ML EXAMPLE:
a) Extract data using mlstats / database queries
b) Generate Gource custom format (pipe sep file)
unixtime|user-email_sender|A|new
unixtime|user-email_sender|M|user-in_response_to
c) Run Gource
$ gource -i 10 --max-user-speed 100 -a 1 --highlight-users
gource_output.log
OR) Run oscon.py from my oscon_2015 repo
github.com/geekygirldawn/oscon_2015
8. SHAMELESS PLUG: OSCON
Network analysis: People and open source communities
10:40am–11:20am Thursday in room F 147/148
9. Dawn Foster
University of Greenwich
Centre for Business Network Analysis
www2.gre.ac.uk/about/faculty/business/research/centres/cbna/home
@geekygirldawn, dawn@dawnfoster.com
fastwonderblog.com
THANK YOU