OpenStack Community Activity Board and Metrics
-
Upload
hp-helion -
Category
Technology
-
view
1.371 -
download
0
description
Transcript of OpenStack Community Activity Board and Metrics
![Page 1: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/1.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Who Built Grizzly Using gitdm to analyze OpenStack contributions
Dan Stangel / April 15, 2013
OpenStack Summit, Portland Oregon
![Page 2: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/2.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Using gitdm to measure OpenStack contributions
![Page 3: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/3.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3
Gitdm – the git data miner
• Written by Linux kernel gurus Greg Kroah-Hartman and Jonathan Corbet , “to crank out statistics on where kernel patches come from”
• See “The Kernel Report” by Jonathan Corbet
• Forked by Mark McLoughlin (markmc), customized for use with OpenStack
• Simplistic but useful low-level git changeset analysis
• Includes tools to mine relevant data on bugs closed in LaunchPad (lpdm), and code reviews done via Gerrit (gerritdm)
• Maps multiple emails/IDs to a single contributor, tracks dates of service with organization
![Page 4: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/4.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 4
Running gitdm
$ for project in cinder glance horizon \
keystone nova quantum swift; do
git clone https://github.com/openstack/$project.git
done
$ git clone https://github.com/markmc/openstack-gitdm.git
$ cd openstack-gtidm
$ ./do-it.sh
![Page 5: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/5.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Gitdm report on Grizzly
Published by Mark McLoughlin (markmc) on April 4, 2013
Data Set Available Online At
https://github.com/markmc/openstack-gitdm/tree/results/grizzly
![Page 6: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/6.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 6
Top lines changed for all Grizzly core projects by employer
other
Core includes
nova, swift, glance, horizon, keystone, cinder, quantum
![Page 7: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/7.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 7
Top changeset contributors for all Grizzly core projects by employer
other
Core includes
nova, swift, glance, horizon, keystone, cinder, quantum
![Page 8: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/8.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 8
Employers with the most hackers for Grizzly core projects
other
Core includes
nova, swift, glance, horizon, keystone, cinder, quantum
![Page 9: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/9.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9
Top bugs fixed by employer for Grizzly core projects
other Core includes
nova, swift, glance, horizon, keystone, cinder, quantum
![Page 10: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/10.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10
Top code reviewers for Grizzly core projects by employer
other
Core includes
nova, swift, glance, horizon, keystone, cinder, quantum
![Page 11: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/11.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Configuring gitdm
![Page 12: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/12.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 12
Configuring gitdm – What’s in a release
$ vi openstack-gitdm/openstack-config/grizzly
# project revisions
nova 2012.2..2013.1.rc2 (a701771|..big list of excludes..|5d9a5d1)
glance 2012.2..2013.1.rc2
swift 1.7.4..1.8.0.rc2
keystone 2012.2..2013.1.rc2 (bec8b31|..big list of excludes..|23bb7ec)
horizon 2012.2..2013.1.rc2
quantum 2012.2..2013.1.rc2 (9f55912|..big list of excludes..|02fbf7d)
cinder 2012.2..2013.1.rc3
![Page 13: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/13.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 13
Configuring gitdm – Who’s who
$ vi openstack-gitdm/openstack-config/aliases
#
# This is the email aliases file, mapping secondary
# addresses onto a single, canonical address.
#
[email protected] john_doe@company_a.com
[email protected] john_doe@company_a.com
[email protected] jane.doe@some_organization.org
...
![Page 14: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/14.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 14
Configuring gitdm – Who’s who in LaunchPad
$ vi openstack-gitdm/openstack-config/launchpad-ids.txt
johndoe john_doe@company_a.com
janedoe77 jane.doe@some_organization.org
...
![Page 15: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/15.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15
Configuring gitdm – Who works for who
$ vi openstack-gitdm/openstack-config/email-map
# [user@]domain employer [< yyyy-mm-dd]
[email protected] Company A
[email protected] Another Company < 2012-07-01
jane.doe@some_organization.org SomeOrg
...
![Page 16: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/16.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 16
Configuring gitdm – Which orgs are which
$ vi openstack-gitdm/openstack-config/domain-map
# domain employer [< yyyy-mm-dd]
was_company_a.com Company A < 2011-12-31
company_a.com Company A
mail.company_a.com Company A
labs.company_a.com Company A
some_organization.org SomeOrg
...
![Page 17: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/17.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Opportunities for Improvement
![Page 18: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/18.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18
Measure all of OpenStack – 50 projects in Grizzly
• Including all of the OpenStack projects will provide a complete picture of a rapidly growing community
Integrated (7)
OpenStack compute
OpenStack object storage
OpenStack Image Service
OpenStack Identity
OpenStack Dashboard
OpenStack Networking
OpenStack Block Storage
Incubated (4)
Ceilometer
Heat
Python ceilometer client
Python heat client
Gating (4)
devstack
tempest
OpenStack-nose
OpenStack-requirements
Library (7)
OpenStack common
python-*-client
Documentation (8)
OpenStack-manuals
api-site
*-api
Infrastructure (20)
config
zuul
jeepyb
devstack-gate
gear
jenkins-job-builder
gerrit
git-review
reviewday
…
![Page 19: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/19.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 19
Some Questions to Consider
When is a defect “done” and who “did” it?
“Fix Committed” seems to be a logical state
• Assignee vs. Opener? (maybe count both)
Can we produce a consistent, unified database mapping contributors and organizations?
Including dates of service
• Centrally maintained
• Open for review
Should code contributions be weighted?
Lines of code does not tell the whole story
• Difficult to judge the impact of any given commit
• Could weight using sloccount or other code-quality measures
• Could devise a peer-assigned points system via Gerrit
![Page 20: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/20.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 20
Final Thought
Providing community-vetted metrics that are generated regularly, and that are based on open source tools and open data sources, can only help us to tell a complete and accurate story about who is working on OpenStack.
![Page 21: OpenStack Community Activity Board and Metrics](https://reader033.fdocuments.us/reader033/viewer/2022051818/54b496bb4a79594b0a8b457d/html5/thumbnails/21.jpg)
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thank you