Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder,...
Transcript of Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder,...
![Page 1: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/1.jpg)
Decoding Core Contribution
WordCamp San Diego 2013
Mike Schroder (DH-Shredder)@GetSource - http://www.getsource.net
![Page 2: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/2.jpg)
Who Am I?
• Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource
• Third culture kid, enjoy the art of Coffee & Sailing
• WordPress 3.5 Recent Rockstar and wp-cli Contributor
• WordPress Core Team Rep for 2012
• Happy DreamHost Employee
![Page 3: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/3.jpg)
Core Team?
![Page 4: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/4.jpg)
Contributors.
![Page 5: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/5.jpg)
Contributors.
![Page 6: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/6.jpg)
![Page 7: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/7.jpg)
OKAY.
How can I get on this list of AWESOME?
![Page 8: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/8.jpg)
Everyone has something to contribute.
![Page 9: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/9.jpg)
Which Contributor Group do you belong to?
![Page 10: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/10.jpg)
Contributor Groups?• Docs
• Support
• Theme Review Team
• Plugin Review Team
• Events
• Core Code
• UI/UX Group
• Accessibility
• Polyglots
• .org Systems
• Mobile Applications
• Community
![Page 11: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/11.jpg)
![Page 12: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/12.jpg)
![Page 13: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/13.jpg)
Not sure where to go?Try #wordpress-contribute
![Page 14: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/14.jpg)
Let’s focus onCore Code
contribution.
![Page 15: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/15.jpg)
Your First Contribution
![Page 16: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/16.jpg)
If you haven’t read ...
• http://codex.wordpress.org/Contributing_to_WordPress
• The official (always in progress) handbook!
• http://make.wordpress.org/core/handbook/
![Page 17: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/17.jpg)
Release Cycle
• http://make.wordpress.org/core
• foreach( $releases as $release )
• Planning
• Feature Development
• Beta
• RC
![Page 18: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/18.jpg)
Planning:Choose the Scope.
![Page 19: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/19.jpg)
Feature Development:Teamwork.
![Page 20: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/20.jpg)
Beta:Features are Finished.
![Page 21: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/21.jpg)
Release Candidate:Just the Regressions.
![Page 22: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/22.jpg)
Okay. I understand the release cycle.
What’s next?
![Page 23: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/23.jpg)
Start Small.
![Page 24: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/24.jpg)
Look for a Need.
![Page 25: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/25.jpg)
“If it’s not on Trac,it doesn’t exist.”
-Pretty much the entire Core Team.
http://core.trac.wordpress.org
![Page 26: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/26.jpg)
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)
![Page 27: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/27.jpg)
![Page 28: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/28.jpg)
Okay. I found a need.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
• git clone https://github.com/WordPress/WordPress.git
![Page 29: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/29.jpg)
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
![Page 30: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/30.jpg)
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
• git diff --no-prefix master > 20000.2.diff
![Page 31: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/31.jpg)
Attach a patch.
• Attach it to the ticket.
• Add a note to the ticket, so that everyone cc’d is notified.
![Page 32: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/32.jpg)
No one has responded.What now?
![Page 33: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/33.jpg)
![Page 34: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/34.jpg)
![Page 35: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/35.jpg)
Be Persistent!
![Page 36: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/36.jpg)
Learn to love IRC.#wordpress-dev on FreeNode
![Page 37: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/37.jpg)
Ask for help.
![Page 38: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/38.jpg)
Ping those who are handling your ticket!
![Page 39: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/39.jpg)
Don’t rely onwp-hackers.
![Page 40: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/40.jpg)
Twitter is your friend.
![Page 41: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/41.jpg)
Be prepared for rejection.
![Page 42: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/42.jpg)
Iteration is key.It’s okay if someone else has a
better idea.
![Page 43: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/43.jpg)
Let’s work together to make a better WordPress.
![Page 44: Decoding Core Contribution - GetSource.net · Who Am I? • Mike Schroder, a.k.a DH-Shredder, a.k.a. @GetSource • Third culture kid, enjoy the art of Coffee & Sailing • WordPress](https://reader036.fdocuments.us/reader036/viewer/2022063004/5f78c04713f6b010db0cd1e4/html5/thumbnails/44.jpg)
Any Questions?• http://make.wordpress.org/
• https://irclogs.wordpress.org/
• http://make.wordpress.org/core/handbook
• http://core.trac.wordpress.org/
• http://lists.automattic.com/
• http://codex.wordpress.org/Contributing_to_WordPress
• 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