• Like

OpenStack Community Activity Board and Metrics

  • 1,353 views
Uploaded on

In this 90-minute session, we'll explore the new OpenStack Community Activity Board, as well as facilitate an overall discussion about community metrics and other quantitative ways to measure who …

In this 90-minute session, we'll explore the new OpenStack Community Activity Board, as well as facilitate an overall discussion about community metrics and other quantitative ways to measure who built Grizzly.

More in: Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,353
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
13
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.WhoBuiltGrizzlyUsing gitdm to analyze OpenStack contributionsDan Stangel / April 15, 2013OpenStack Summit, Portland Oregon
  • 2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.UsinggitdmtomeasureOpenStackcontributions
  • 3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3Gitdm – 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 servicewith organization
  • 4. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4Running gitdm$ for project in cinder glance horizon keystone nova quantum swift; dogit clone https://github.com/openstack/$project.gitdone$ git clone https://github.com/markmc/openstack-gitdm.git$ cd openstack-gtidm$ ./do-it.sh
  • 5. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.GitdmreportonGrizzlyPublished by Mark McLoughlin (markmc) on April 4, 2013Data Set Available Online Athttps://github.com/markmc/openstack-gitdm/tree/results/grizzly
  • 6. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6Top lines changed for all Grizzly core projects byemployerotherCore includesnova, swift, glance,horizon, keystone,cinder, quantum
  • 7. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7Top changeset contributors for all Grizzly coreprojects by employerotherCore includesnova, swift, glance,horizon, keystone,cinder, quantum
  • 8. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8Employers with the most hackers for Grizzly coreprojectsotherCore includesnova, swift, glance,horizon, keystone,cinder, quantum
  • 9. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9Top bugs fixed by employer for Grizzly core projectsotherCore includesnova, swift, glance,horizon, keystone,cinder, quantum
  • 10. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10Top code reviewers for Grizzly core projects byemployer otherCore includesnova, swift, glance,horizon, keystone,cinder, quantum
  • 11. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.Configuringgitdm
  • 12. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12Configuring gitdm – What’s in a release$ vi openstack-gitdm/openstack-config/grizzly# project revisionsnova 2012.2..2013.1.rc2 (a701771|..big list of excludes..|5d9a5d1)glance 2012.2..2013.1.rc2swift 1.7.4..1.8.0.rc2keystone 2012.2..2013.1.rc2 (bec8b31|..big list of excludes..|23bb7ec)horizon 2012.2..2013.1.rc2quantum 2012.2..2013.1.rc2 (9f55912|..big list of excludes..|02fbf7d)cinder 2012.2..2013.1.rc3
  • 13. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13Configuring gitdm – Who’s who$ vi openstack-gitdm/openstack-config/aliases## This is the email aliases file, mapping secondary# addresses onto a single, canonical address.#john.doe@example.com john_doe@company_a.comjohndoe@gmail.com john_doe@company_a.comjane-doe@example.ru jane.doe@some_organization.org...
  • 14. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14Configuring gitdm – Who’s who in LaunchPad$ vi openstack-gitdm/openstack-config/launchpad-ids.txtjohndoe john_doe@company_a.comjanedoe77 jane.doe@some_organization.org...
  • 15. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15Configuring gitdm – Who works for who$ vi openstack-gitdm/openstack-config/email-map# [user@]domain employer [< yyyy-mm-dd]johndoe@gmail.com Company Ajohndoe@gmail.com Another Company < 2012-07-01jane.doe@some_organization.org SomeOrg...
  • 16. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.16Configuring 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-31company_a.com Company Amail.company_a.com Company Alabs.company_a.com Company Asome_organization.org SomeOrg...
  • 17. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.OpportunitiesforImprovement
  • 18. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18Measure all of OpenStack – 50 projects in Grizzly• Including all of the OpenStack projects will provide a completepicture of a rapidly growing communityIntegrated (7)OpenStack computeOpenStack object storageOpenStack Image ServiceOpenStack IdentityOpenStack DashboardOpenStack NetworkingOpenStack Block StorageIncubated (4)CeilometerHeatPython ceilometer clientPython heat clientGating (4)devstacktempestOpenStack-noseOpenStack-requirementsLibrary (7)OpenStack commonpython-*-clientDocumentation (8)OpenStack-manualsapi-site*-apiInfrastructure (20)configzuuljeepybdevstack-gategearjenkins-job-buildergerritgit-reviewreviewday…
  • 19. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19Some Questions to ConsiderWhen is a defect “done”and who “did” it?“Fix Committed” seems to bea logical state• Assignee vs. Opener?(maybe count both)Can we produce aconsistent, unifieddatabase mappingcontributors andorganizations?Including dates of service• Centrally maintained• Open for reviewShould codecontributions beweighted?Lines of code does not tell thewhole story• Difficult to judge the impact ofany given commit• Could weight using sloccount orother code-quality measures• Could devise a peer-assignedpoints system via Gerrit
  • 20. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.20Final ThoughtProviding community-vetted metrics that are generatedregularly, and that are based on open source tools and opendata sources, can only help us to tell a complete andaccurate story about who is working on OpenStack.
  • 21. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.Thankyou