floss community metrics: gource custom log formats

9
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 [email protected] fastwonderblog.com PhD Student University of Greenwich London, UK

Upload: dawn-foster

Post on 13-Aug-2015

365 views

Category:

Technology


1 download

TRANSCRIPT

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  

[email protected]  fastwonderblog.com

PhD  Student  University  of  Greenwich  

London,  UK

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

Image from WebOps.com

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

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

Image from WebOps.com

OTHER OPTIONS

Bug data

Wikis

Other stuff

https://code.google.com/p/gource/wiki/CustomLogFormatPhoto by Bitergia

SHAMELESS PLUG: OSCON

Network analysis: People and open source communities

10:40am–11:20am Thursday in room F 147/148

Dawn FosterUniversity of Greenwich

Centre for Business Network Analysiswww2.gre.ac.uk/about/faculty/business/research/centres/cbna/home

@geekygirldawn, [email protected]

THANK YOU