who built havana

16
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Who Built Havana Using gitdm to analyze OpenStack contributions Dan Stangel, Software Engineer, HP Open Source Program Office OpenStack Summit, Hong Kong, November 8, 2013

Upload: hp-helion

Post on 20-Aug-2015

452 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Who Built HavanaUsing gitdm to analyze OpenStack contributions

Dan Stangel, Software Engineer, HP Open Source Program OfficeOpenStack Summit, Hong Kong, November 8, 2013

Page 2: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2

Agenda

• Using Gitdm to Measure OpenStack Contributions

• Gitdm Havana Analysis

• The Future of OpenStack Contribution Metrics

Page 3: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3

Executive Summary

The Git Data Miner (“gitdm”) toolset is easy to use, and can effectively collect, analyze, and report on community contribution metrics for the OpenStack Havana release.

Analysis of the code contributions and code reviews from the OpenStackHavana release can yield useful information about the relative levels of investment from various industry players in the OpenStack community.

Although gitdm will remain a valuable tool for performing contribution analysis, newer and more comprehensive tools now exist that should also be considered.

Page 4: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Using Gitdm to Measure OpenStackContributions

Page 5: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5

OpenStack gitdm – the git data miner

• Forked by Mark McLoughlin (markmc) from Linux kernel gitdm tool

• Adopted by OpenStack Infrastructure team for ad hoc analyses

• https://github.com/openstack-infra/gitdm

• Low-level git changeset analysis produces text-only or HTML reports

• 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

• Newer tools provide more features and could replace gitdm

Page 6: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6

Running gitdm

$ for project in nova swift glance keystone horizon \neutron cinder ceilometer heat; do

git clone https://github.com/openstack/$project.git

done

$ git clone https://github.com/openstack-infra/gitdm.git

$ cd gitdm

$ ./do-it.sh

Page 7: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Gitdm Havana Analysis

Page 8: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8

Top lines changed in Havana core by employer

Projects Included

nova, swift, glance, horizon, keystone, cinder, neutron, ceilometer, heat

other

Source:gitdm tool https://github.com/openstack-infra/gitdm.gitrun on 2013-10-23 using openstack-config/havana

Page 9: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9

Top changeset contributors in Havana core by employer

other

[email protected]

Projects Included

nova, swift, glance, horizon, keystone, cinder, neutron, ceilometer, heat

Source:gitdm tool https://github.com/openstack-infra/gitdm.gitrun on 2013-10-23 using openstack-config/havana

Page 10: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10

Employers with the most contributors in Havana core

other

Projects Included

nova, swift, glance, horizon, keystone, cinder, neutron, ceilometer, heat

Source:gitdm tool https://github.com/openstack-infra/gitdm.gitrun on 2013-10-23 using openstack-config/havana

Page 11: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11

Top code reviewers in Havana core by employer

otherProjects Included

nova, swift, glance, horizon, keystone, cinder, neutron, ceilometer, heat

Source:gitdm tool https://github.com/openstack-infra/gitdm.gitrun on 2013-10-23 using openstack-config/havana

Page 12: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

The Future of OpenStackContribution Metrics

Page 13: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13

A great toolset…

• Tracks code, defects, reviews, mailing lists, blueprints, and anything else that comes to mind

• Allows arbitrary grouping and filtering of results

• Is open source (available, transparent, well-documented, well-architected, maintained by the community)

• Can canvas the entire OpenStack community

• Is easy to use and update

• Provides real-time updates

Page 14: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14

The future of contribution analysis tools

• Newer, more advanced tools now exist to generate the same information provided by gitdm

• OpenStack Activity Dashboard

• Code: https://github.com/openstack-infra/activity-board

• GUI: http://activity.openstack.org/dash/

• Stackalytics:

• Code: https://github.com/stackforge/stackalytics

• GUI: http://stackalytics.com/

• Others?

Page 15: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15

What still needs to be done

• Community social graph / database

• Refine defects count

• Validate the accuracy of new tools

• Consolidate disparate efforts

Page 16: Who Built Havana

© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Thank you