SlideShare uma empresa Scribd logo
1 de 36
Baixar para ler offline
Introduction to
 Contribution
  WordCamp Orange Country 2012




Mike Schroder (DH-Shredder)
@GetSource - http://www.getsource.net
Who Am I?

•   Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource

•   Third Culture Kid, enjoy Coffee & Sailing

•   WordPress Core and Plugin Contributor

•   Happy DreamHost Employee
If you haven’t read ...

•   http://codex.wordpress.org/Contributing_to_WordPress


•   Andrew Nacin’s in-progress handbook:
    •   http://nacin.com/projects/core-contributor-handbook/
Who Contributes?
•   Theme Review Team    •   Polyglots

•   Plugin Review Team   •   .org Systems

•   Core Code            •   Mobile Applications

•   UI/UX Group          •   Documentation

•   Support Forums

•   Accessibility
I’m going to focus on
      Core Code
    contribution.
Core Team?
Contributors.
Contributors.
OKAY.

How can I get on this list
    of AWESOME?
Your First Contribution
Release Cycle

•   http://wpdevel.wordpress.com

•   foreach ($releases as $release)

    •   Planning

    •   Development Cycles/Sprints

    •   Beta

    •   RC
Planning:
Choose the Scope.
Development Cycles:
     Teamwork.
Beta:
No More Features.
Release Candidate:
 Just the Regressions.
Okay. I understand
 the release cycle.
   What’s next?
Start Small.
Look for a Need.
“If it’s not on Trac, it
        doesn’t exist.”
-Pretty much the entire Core Team.

http://core.trac.wordpress.org
Reports are your friend.
•   http://core.trac.wordpress.org/report

•   Next Major Release:
    http://core.trac.wordpress.org/report/6

•   Needs Patch:
    http://core.trac.wordpress.org/report/16

•   Has Patch, Needs Testing:
    http://core.trac.wordpress.org/report/13

•   View Tickets -> Custom Query (i.e. needs-refresh)
Okay. I found a bug.
            Now What?
•   Get the WordPress.org source from trunk.

•   http://codex.wordpress.org/SVN
    •   svn co http://core.svn.wordpress.org/trunk/

•   https://github.com/WordPress/WordPress
Apply the Patch, if any.
•   Right-click on patch download link, copy URL

•   From root of trunk:
    •   wget http://core.trac.wordpress.org/raw-attachment/
        ticket/20000/20000.diff
        (or curl -OL http://core ...)

    •   patch -p0 < 20000.diff
Now, create a patch.

•   Create all patches from the WordPress root within your
    trunk checkout.
    •   svn diff > bugNumber[.patchNumber].diff

    •   e.g. svn diff > 20000.2.diff
Attach a patch.

•   Attach it to the ticket.


•   Add a note to the ticket, so that everyone cc’d is
    notified.
No one has responded.
     What now?
Bother the crowd.
Learn to love IRC.
#wordpress-dev on FreeNode
Ask for help.
Ping those who are
handling your ticket!
Don’t rely on
 wp-hackers.
Twitter is your friend.
Be prepared for rejection.
Iteration is key.
It’s okay if someone else has a
           better idea.
Let’s work together to
make a better WordPress.
Any Questions?
    •   https://irclogs.wordpress.org/

    •   http://lists.automattic.com/

    •   http://core.trac.wordpress.org/

    •   http://codex.wordpress.org/Contributing_to_WordPress

    •   http://nacin.com/projects/core-contributor-handbook/

    •   http://aaron.jorb.in/blog/2010/03/commit-the-story-of-
        writing-a-wordpress-patch/

    •   http://patcheswelcome.wordpress.com/

Mike Schroder (DH-Shredder)
@GetSource - http://www.getsource.net

Mais conteúdo relacionado

Semelhante a Introduction to Contribution

Apache contribution-bar camp-colombo
Apache contribution-bar camp-colomboApache contribution-bar camp-colombo
Apache contribution-bar camp-colombo
Sagara Gunathunga
 

Semelhante a Introduction to Contribution (20)

Becoming A WordPress Beta Tester
Becoming A WordPress Beta TesterBecoming A WordPress Beta Tester
Becoming A WordPress Beta Tester
 
Intro to WordPress Plugins
Intro to WordPress PluginsIntro to WordPress Plugins
Intro to WordPress Plugins
 
Apache contribution-bar camp-colombo
Apache contribution-bar camp-colomboApache contribution-bar camp-colombo
Apache contribution-bar camp-colombo
 
How to "Hack" the DSpace Community
How to "Hack" the DSpace CommunityHow to "Hack" the DSpace Community
How to "Hack" the DSpace Community
 
Contributing to WordPress core - a primer
Contributing to WordPress core - a primerContributing to WordPress core - a primer
Contributing to WordPress core - a primer
 
DNN Summit 2021: DNN Upgrades Made Simple
DNN Summit 2021: DNN Upgrades Made SimpleDNN Summit 2021: DNN Upgrades Made Simple
DNN Summit 2021: DNN Upgrades Made Simple
 
7 Apache Process Cloudstack Developer Day
7 Apache Process Cloudstack Developer Day7 Apache Process Cloudstack Developer Day
7 Apache Process Cloudstack Developer Day
 
WordPress intro
WordPress introWordPress intro
WordPress intro
 
Learning to code
Learning to codeLearning to code
Learning to code
 
Contribute 101: Compose/Kitematic/Machine by Ben Bonnefoy
Contribute 101: Compose/Kitematic/Machine by Ben BonnefoyContribute 101: Compose/Kitematic/Machine by Ben Bonnefoy
Contribute 101: Compose/Kitematic/Machine by Ben Bonnefoy
 
Hacking on WildFly 9
Hacking on WildFly 9Hacking on WildFly 9
Hacking on WildFly 9
 
Creating an Open Source Office: Lessons from Twitter
Creating an Open Source Office: Lessons from TwitterCreating an Open Source Office: Lessons from Twitter
Creating an Open Source Office: Lessons from Twitter
 
Your first patch to open stack
Your first patch to open stackYour first patch to open stack
Your first patch to open stack
 
Your first patch to OpenStack
Your first patch to OpenStackYour first patch to OpenStack
Your first patch to OpenStack
 
How to Contribute to Apache Usergrid
How to Contribute to Apache UsergridHow to Contribute to Apache Usergrid
How to Contribute to Apache Usergrid
 
What is quality code? From cruft to craft
What is quality code? From cruft to craftWhat is quality code? From cruft to craft
What is quality code? From cruft to craft
 
Picnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable applicationPicnic Software - Developing a flexible and scalable application
Picnic Software - Developing a flexible and scalable application
 
A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5A modern architecturereview–usingcodereviewtools-ver-3.5
A modern architecturereview–usingcodereviewtools-ver-3.5
 
Contributing Back to WordPress - Getting Involved in the Community
Contributing Back to WordPress - Getting Involved in the CommunityContributing Back to WordPress - Getting Involved in the Community
Contributing Back to WordPress - Getting Involved in the Community
 
WordPress 4.4 and Beyond
WordPress 4.4 and BeyondWordPress 4.4 and Beyond
WordPress 4.4 and Beyond
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Introduction to Contribution

  • 1. Introduction to Contribution WordCamp Orange Country 2012 Mike Schroder (DH-Shredder) @GetSource - http://www.getsource.net
  • 2. Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third Culture Kid, enjoy Coffee & Sailing • WordPress Core and Plugin Contributor • Happy DreamHost Employee
  • 3. If you haven’t read ... • http://codex.wordpress.org/Contributing_to_WordPress • Andrew Nacin’s in-progress handbook: • http://nacin.com/projects/core-contributor-handbook/
  • 4. Who Contributes? • Theme Review Team • Polyglots • Plugin Review Team • .org Systems • Core Code • Mobile Applications • UI/UX Group • Documentation • Support Forums • Accessibility
  • 5. I’m going to focus on Core Code contribution.
  • 9. OKAY. How can I get on this list of AWESOME?
  • 11. Release Cycle • http://wpdevel.wordpress.com • foreach ($releases as $release) • Planning • Development Cycles/Sprints • Beta • RC
  • 13. Development Cycles: Teamwork.
  • 15. Release Candidate: Just the Regressions.
  • 16. Okay. I understand the release cycle. What’s next?
  • 18. Look for a Need.
  • 19. “If it’s not on Trac, it doesn’t exist.” -Pretty much the entire Core Team. http://core.trac.wordpress.org
  • 20. Reports are your friend. • http://core.trac.wordpress.org/report • Next Major Release: http://core.trac.wordpress.org/report/6 • Needs Patch: http://core.trac.wordpress.org/report/16 • Has Patch, Needs Testing: http://core.trac.wordpress.org/report/13 • View Tickets -> Custom Query (i.e. needs-refresh)
  • 21.
  • 22. Okay. I found a bug. Now What? • Get the WordPress.org source from trunk. • http://codex.wordpress.org/SVN • svn co http://core.svn.wordpress.org/trunk/ • https://github.com/WordPress/WordPress
  • 23. Apply the Patch, if any. • Right-click on patch download link, copy URL • From root of trunk: • wget http://core.trac.wordpress.org/raw-attachment/ ticket/20000/20000.diff (or curl -OL http://core ...) • patch -p0 < 20000.diff
  • 24. Now, create a patch. • Create all patches from the WordPress root within your trunk checkout. • svn diff > bugNumber[.patchNumber].diff • e.g. svn diff > 20000.2.diff
  • 25. Attach a patch. • Attach it to the ticket. • Add a note to the ticket, so that everyone cc’d is notified.
  • 26. No one has responded. What now?
  • 28. Learn to love IRC. #wordpress-dev on FreeNode
  • 30. Ping those who are handling your ticket!
  • 31. Don’t rely on wp-hackers.
  • 32. Twitter is your friend.
  • 33. Be prepared for rejection.
  • 34. Iteration is key. It’s okay if someone else has a better idea.
  • 35. Let’s work together to make a better WordPress.
  • 36. Any Questions? • https://irclogs.wordpress.org/ • http://lists.automattic.com/ • http://core.trac.wordpress.org/ • http://codex.wordpress.org/Contributing_to_WordPress • http://nacin.com/projects/core-contributor-handbook/ • http://aaron.jorb.in/blog/2010/03/commit-the-story-of- writing-a-wordpress-patch/ • http://patcheswelcome.wordpress.com/ Mike Schroder (DH-Shredder) @GetSource - http://www.getsource.net