Licenses in the WILD

Licenses in the WILD

My slides for the #aas225 panel discussion on software licensing practices.

00c684a144d49f612a51e855eb326d6c?s=128

Dan Foreman-Mackey

January 06, 2015
Tweet

Transcript

  1. ! " # $ CCPP@NYU dfm dfm.io @exoplaneteer Dan Foreman-Mackey

  2. I don't know anything about licensing!

  3. but...

  4. I do know about data science!

  5. None
  6. None
  7. None
  8. None
  9. 28,569,100 largest public repo ID (as of 2014-12-28)

  10. 5,000 requests/hour rate limit

  11. a few requests/repo required

  12. 1,578,967 repositories ("randomly" selected)

  13. 6% of the GitHubz (representative)

  14. { "name": "emcee", "full_name": "dfm/emcee", "language": "Python", "fork": false, "subscribers_count":

    39, "forks": 117, "stargazers_count": 414, "open_issues": 35, ... } + README*, LICENSE*, COPYING* for each repository, download: in the top directory
  15. JavaScript Ruby Java Python PHP C C++ CSS C# Objective-C

    Shell Perl VimL 0 2 4 6 8 10 12 percentage of repos
  16. 63 languages more popular than IDL (only?)

  17. 1,578,967 repositories

  18. 263,288 are licensed

  19. 17% are licensed that's up from 15% in 2012! softwarefreedom.org/resources/2013/lcs-slides-aaronw

  20. 28,972 only mention the license in the README of these,

  21. JavaScript Ruby Java Python PHP C C++ CSS C# Objective-C

    Shell Perl VimL 0 5 10 15 20 25 30 percentage with a license
  22. license popularity

  23. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories
  24. None
  25. EXCITED about licensing the internet gets really

  26. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories
  27. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 percentage of licensed repos Python
  28. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 percentage of licensed repos IDL
  29. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 percentage of licensed repos C
  30. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos Fortran
  31. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 percentage of licensed repos Emacs Lisp
  32. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 percentage of licensed repos VimL
  33. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories
  34. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 percentage of licensed repos JavaScript
  35. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 60 70 percentage of licensed repos Ruby
  36. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 5 10 15 20 25 30 35 40 percentage of licensed repos all repositories
  37. MIT License GPL Apache License BSD unknown LGPL Public Domain

    Eclipse Public License Creative Commons A↵ero GPL Mozilla Public License Artistic License ISC license 0 10 20 30 40 50 popularity weighted percentage all repositories (weighted by popularity)
  38. ⾠CAVEATS I only scraped GitHub

  39. I only found top-level license files (with the right names)

    ⾠CAVEATS
  40. my README parsing was pure hack! (it's called data science)

    ⾠CAVEATS
  41. 17% of repos are licensed and the kids are permissive

    TAKE HOME Thanks to Aaron Williamson for the 2012 data!