Fundamentals of Using OpenSource Code to Build Products                         Brian Warner                  The Linux Fo...
The Linux FoundationLinux Foundation Confidential   2
The Linux Foundation is the center of Linuxdevelopment, legal defense and promotion                  3
The Linux Foundation is Represented by               Firms with Major Investments in Linux   Platinum Sponsors            ...
The Linux Foundation is Represented by               Firms with Major Investments in LinuxSilver SponsorsLinux Foundation ...
The Linux Foundation by the Numbers     Ø    1 Linux kernel inventor – Linus Torvalds     Ø    170+ Corporate members in...
Members Create Workgroups to Collaborate                  with Other MembersDriver Backporting                 Open Source...
The Linux Foundation is at the center of theLinux Defense Network                       LINUX DEFENDERS      Linux Legal D...
The Linux Foundation offers training andtechnical services                  9
Fundamentals of Using Open Source Code to     Build ProductsWhy do it?The (corporate) open source developmentmodelUndersta...
Open Source Software is ...A licensing regimenA collaborative development methodology: Ø  Community   develops, debugs, m...
Incorporating open source componentsWhy do it?
The easy answer:To save time.
The easy answer:To save time and money.
The more complicated answerTime to money.
Time to money is impacted by five major         factors1.    Time to produce a sellable product2.    The cost to develop o...
1: Time to Produce a Sellable ProductRule #1: Ø  There         is little value in reinventing the wheel (and it’ll   prob...
A typical software stack can be partitionedinto two broad categoriesHeavy lifters            Differentiators      OS kerne...
Try not to reinvent the heavy liftersThey’re done.They’re mature.They’re open.(and your competitors are already using them...
2: The cost to develop or acquire componentsAs of 2011, it would cost at least $3B to developthe Linux kernel from scratch...
2: The cost to develop or acquire componentsThe amount of combined effort going into opensource “heavy lifters” is astonis...
2: The cost to develop or acquire componentsYou can work against it, or you can work with it.
2: The cost to develop or acquire componentsDid I mention it’s free?
3: Competitiveness of a Product’s FeaturesLess time spent on heavy lifting means:  Ø  More        time spent on competiti...
4: The Quality of Your ProductLinus’ Law: Ø    “Given enough eyeballs, all bugs are shallow.”
5: Ability to Provide a Constant Stream of     UpdatesThanks to these two phones…     …consumers in all industries are far...
Updates are hardHas your development talent shifted to newproducts?Do you have time and resources to backport?Will the fea...
These are real issuesThere is no silver bullet, but it helps when thecode base hasn’t been static.-longterm stable release...
Understanding the (typical) corporate open     source participation modelWhen should you tap into an ongoingdevelopment pr...
When do you pull code?Continuous integration and testing is ahallmark of many open source projects.Features are often subm...
When do you pull code?First, understand the cycles.
Open source development model                                                                                             ...
The open source release cycle               Validate                                        Build                         ...
How to understand the cyclesResearch a project’s historical release cycles.Subscribe to project mailing lists.Identify mai...
Balancing short and long term valueProduct development is a journey, not adestination.
100% short term value
This is not always a viable pathThe way your differentiators interact with heavylifters will change over time.  Ø  New   ...
So… what then?The current industry best practice is to balanceconsumption with upstreaming.Choosing what goes upstream is ...
Don’t confuse upstream contribution with     license complianceUpstreaming is a development strategy.License compliance is...
Speaking of license complianceThat sounds all legal and stuff…
Speaking of license complianceIt is.
Standard DisclaimersThe presenter is not a lawyer and none of thematerial discussed or presented should beconsidered as le...
What Makes a License an Open Source          License?The Open Source Initiative formulated an “OpenSource Definition” (OSD...
What is “Open Source Compliance?”Open Source Compliance refers to the aggregate of  Ø  Policies  Ø  Processes  Ø  Train...
When do I need to think about compliance?If you are distributing code covered under anopen source license.
Define “distributing”“Distributing” typically means transferringcontrol away from yourself or your company.  Ø  (but   as...
Generally speaking, what’s an obligation?Depending on the license(s) involved, obligationscould consist of:  Ø  Inclusion...
Individuals Worldwide Commit Themselves to Compliance ActivitiesFrom the September 26, 2010 NY Times:http://www.nytimes.co...
Managing an effective compliance programLegal lays the ground rules (interpretation,combinations, blessed/banned licenses)...
Managing an effective compliance programLogistics is probably >90% of the work.
Compliance in a nutshellKnow what license combinations are approved.Have a consistent process for rapidly approvingnew com...
Don’t panicWe offer training on this.
There are a lot of resources out therehttps://www.linuxfoundation.org/publications/compliancehttp://www.softwarefreedom.or...
ConclusionOpen source is effectively springboarding thecompanies whose engineering and managementorganizations know how to...
Upcoming SlideShare
Loading in...5
×

Fundamentals of Using Open Source Code to Build Products

277

Published on

This is a lunch-and-learn I gave to the software cluster at Purdue Research Park on February 12, 2013

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
277
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Fundamentals of Using Open Source Code to Build Products"

  1. 1. Fundamentals of Using OpenSource Code to Build Products Brian Warner The Linux Foundation
  2. 2. The Linux FoundationLinux Foundation Confidential 2
  3. 3. The Linux Foundation is the center of Linuxdevelopment, legal defense and promotion 3
  4. 4. The Linux Foundation is Represented by Firms with Major Investments in Linux Platinum Sponsors Gold SponsorsLinux Foundation Confidential 4
  5. 5. The Linux Foundation is Represented by Firms with Major Investments in LinuxSilver SponsorsLinux Foundation Confidential 5
  6. 6. The Linux Foundation by the Numbers Ø  1 Linux kernel inventor – Linus Torvalds Ø  170+ Corporate members including IBM, Intel, Samsung, Oracle, NEC, Fujitsu, Qualcomm, HP, Red Hat, Canonical, China Mobile, Motorola, AMD, ARM, and many more… Ø  3,000,000+ visitors each month to our web properties Ø  15,000+ registered users on Linux.com Ø  Thousands of individual members Ø  Dozens of technical workgroups include the Tizen Project, Yocto Project, Long Term Support Initiative, Open Compliance Program, Linux Standard Base, Linux Printing, Legal Collaboration, etc. Ø  23 industry-leading training offerings Ø  14 Global Linux events – the “Who’s who of Linux”Linux Foundation Confidential 6
  7. 7. Members Create Workgroups to Collaborate with Other MembersDriver Backporting Open Source as Prior Art Kernel.org StaffGreen Linux Japan SI Forum Developer Travel FundDeveloper NDA Program IPv6 Workgroup Technical Advisory BoardLegal Defense HPC End User Council Linux Foundation Confidential 7
  8. 8. The Linux Foundation is at the center of theLinux Defense Network LINUX DEFENDERS Linux Legal Defense Fund 8
  9. 9. The Linux Foundation offers training andtechnical services 9
  10. 10. Fundamentals of Using Open Source Code to Build ProductsWhy do it?The (corporate) open source developmentmodelUnderstanding your obligations with opensource licenses
  11. 11. Open Source Software is ...A licensing regimenA collaborative development methodology: Ø  Community develops, debugs, maintains Ø  Usershave source code access and the right to adapt, distributeA way to reduce development costs andimprove qualityAn inexpensive way to distribute softwareAn inexpensive way to procure software 11
  12. 12. Incorporating open source componentsWhy do it?
  13. 13. The easy answer:To save time.
  14. 14. The easy answer:To save time and money.
  15. 15. The more complicated answerTime to money.
  16. 16. Time to money is impacted by five major factors1.  Time to produce a sellable product2.  The cost to develop or acquire components3.  Competitiveness of a product’s features4.  The quality of the product5.  Ability to provide a stream of updates
  17. 17. 1: Time to Produce a Sellable ProductRule #1: Ø  There is little value in reinventing the wheel (and it’ll probably make you late).Rule #2: Ø  Evaluate external components. If the shoe fits, wear it.Rule #3: Ø  Get it for free when you can.
  18. 18. A typical software stack can be partitionedinto two broad categoriesHeavy lifters Differentiators OS kernels Performance tweaks Web browser engines Applications UI toolkits Integration X servers Fit and finish Multimedia frameworks … Bluetooth stacks Telephony stacks …
  19. 19. Try not to reinvent the heavy liftersThey’re done.They’re mature.They’re open.(and your competitors are already using themto get a leg up on you.)
  20. 20. 2: The cost to develop or acquire componentsAs of 2011, it would cost at least $3B to developthe Linux kernel from scratch.On average, 7.21 patches are accepted into thekernel per hour.
  21. 21. 2: The cost to develop or acquire componentsThe amount of combined effort going into opensource “heavy lifters” is astonishing.We call this the leveraged development model.
  22. 22. 2: The cost to develop or acquire componentsYou can work against it, or you can work with it.
  23. 23. 2: The cost to develop or acquire componentsDid I mention it’s free?
  24. 24. 3: Competitiveness of a Product’s FeaturesLess time spent on heavy lifting means: Ø  More time spent on competitive differentiators §  - Or - Ø  Competing in-market sooner with the differentiators you already haveHeavy lifters are (usually) continually improved Ø  …and often by someone else.
  25. 25. 4: The Quality of Your ProductLinus’ Law: Ø  “Given enough eyeballs, all bugs are shallow.”
  26. 26. 5: Ability to Provide a Constant Stream of UpdatesThanks to these two phones… …consumers in all industries are far more aware of system software updates than ever before.
  27. 27. Updates are hardHas your development talent shifted to newproducts?Do you have time and resources to backport?Will the features be competitive enough toinstill brand loyalty?
  28. 28. These are real issuesThere is no silver bullet, but it helps when thecode base hasn’t been static.-longterm stable releases were created toaddress this problem.LTSI is a kernel specifically for CE devices.
  29. 29. Understanding the (typical) corporate open source participation modelWhen should you tap into an ongoingdevelopment process?How do you balance short and long term value?Do you need to contribute back?Can you effectively manage your licensecompliance obligations?
  30. 30. When do you pull code?Continuous integration and testing is ahallmark of many open source projects.Features are often submitted early and stabilizeover time.Roadmaps are not binding.
  31. 31. When do you pull code?First, understand the cycles.
  32. 32. Open source development model User Community Project or Feature Ideas Architecture and Feature Requests Design Discussion (submitted by developers and users) Implementation (coding) Patches (submitted by developers and users) Continuous Testing Deployment and Integration (release)DeveloperCommunity Test Projects to Automate Maintenance Testing and Validation
  33. 33. The open source release cycle Validate Build Generate Integrate QA Build patch with -dev validation Release Debug Submit Validate validation Feedback Loop Publish as Write code -stable Check out code Setup machineDriven by participating developers Driven by maintainers
  34. 34. How to understand the cyclesResearch a project’s historical release cycles.Subscribe to project mailing lists.Identify maintainers, and what makes them tick.Bug/feature trackers often have futuremilestones.
  35. 35. Balancing short and long term valueProduct development is a journey, not adestination.
  36. 36. 100% short term value
  37. 37. This is not always a viable pathThe way your differentiators interact with heavylifters will change over time. Ø  New or deprecated features in upstream heavy lifters §  Or - Ø  API changes §  Or - Ø  Customer requirements §  Or - Ø  …Ask Google…
  38. 38. So… what then?The current industry best practice is to balanceconsumption with upstreaming.Choosing what goes upstream is an art not ascience, but it’s usually the heavy lifters.Upstreaming is not a requirement (though it is agood way to save money and gain respect).
  39. 39. Don’t confuse upstream contribution with license complianceUpstreaming is a development strategy.License compliance is a legal requirement.(but contributing upstream is a good strategy tomeet most compliance obligations)
  40. 40. Speaking of license complianceThat sounds all legal and stuff…
  41. 41. Speaking of license complianceIt is.
  42. 42. Standard DisclaimersThe presenter is not a lawyer and none of thematerial discussed or presented should beconsidered as legal advice.Please consult with your corporations counselfor your specific situation. 42
  43. 43. What Makes a License an Open Source License?The Open Source Initiative formulated an “OpenSource Definition” (OSD) to define the criteriathat a license must meet to be considered“open source” Ø  Free redistribution Ø  Availability of source code Ø  Right to modify Ø  No discrimination (against users or uses) Ø  Self-perpetuating terms and conditions 43
  44. 44. What is “Open Source Compliance?”Open Source Compliance refers to the aggregate of Ø  Policies Ø  Processes Ø  Training Ø  Toolsthat enables an organization to effectively use opensource software and contribute to opencommunities while Ø  respecting copyrights, Ø  complying with license obligations, and Ø  protecting the organizations intellectual property and that of its customers and suppliers. 44
  45. 45. When do I need to think about compliance?If you are distributing code covered under anopen source license.
  46. 46. Define “distributing”“Distributing” typically means transferringcontrol away from yourself or your company. Ø  (but ask your corporate counsel)Internal use code is sometimes distributeddown the road, so it should be considered too.
  47. 47. Generally speaking, what’s an obligation?Depending on the license(s) involved, obligationscould consist of: Ø  Inclusion of copyright and license in the source code and/or product Ø  documentation or user interface, so that downstream users know the origin of the software and what their rights are. Ø  Disclaimers of warranty on behalf of the authors Ø  Notices as to source code availability – for original work, for combined work or modifications, and so on Ø  Etc.Your corporate counsel needs to interpret this foryou.
  48. 48. Individuals Worldwide Commit Themselves to Compliance ActivitiesFrom the September 26, 2010 NY Times:http://www.nytimes.com/2010/09/26/business/26ping.html 48
  49. 49. Managing an effective compliance programLegal lays the ground rules (interpretation,combinations, blessed/banned licenses).Everything else is logistics.
  50. 50. Managing an effective compliance programLogistics is probably >90% of the work.
  51. 51. Compliance in a nutshellKnow what license combinations are approved.Have a consistent process for rapidly approvingnew components.Keep detailed records of what you do to thecomponents you ship.Fulfill the obligations of the license.Be prepared to respond to inquiries efficiently.
  52. 52. Don’t panicWe offer training on this.
  53. 53. There are a lot of resources out therehttps://www.linuxfoundation.org/publications/compliancehttp://www.softwarefreedom.org/resources/
  54. 54. ConclusionOpen source is effectively springboarding thecompanies whose engineering and managementorganizations know how to use it effectively.There’s a lot of money to be made and saved.Complying with open source licenses is reallyimportant.Compliance is an ongoing process.When in doubt, find your lawyers and ask them.

×