Code Sprint Tasks
A Core Code Sprint is about getting everyone involved, and improving the next version of Drupal.
We also want to make it fun and help people learn how to participate, so here are some of the tasks you can start on to become a real Drupal Rockstar! We have prepared a number of Achievements you can earn!
Do you want to become a Community Contributor, Developer, Builder, Tester, or Patcher?
... ... ... ...
Community Contributor
There are a bunch of ways to contribute, not all require heavy code. Follow the links for further instructions.
Complete ANY of
-
Register a drupal.org user account.
-
Update an issue summary (this is actually really helpful!)
-
Add appropriate screenshots to an issue (this also helps more than you’d think!)
-
Improve any online documentation page.
-
Set up an IRC client or use a web based one and join in the #drupal channels.
Bonus tasks
-
Create an account on http://drupalmentoring.org/ and claim a task.
-
Update a task status on http://drupalmentoring.org/ - even if just switching something active to “no longer applies”.
-
Get involved with Core contribution mentoring or the Drupal Ladder initiative
.. ... ... ...
Developer
Prerequisites: need to be able to install applications, type, and follow instructions.
Complete ALL of
-
Install an *AMP stack on your machine (Acquia Dev Desktop or any equivalent : XAMPP, WAMP, MAMP )
-
Install a current-generation IDE on your own machine (PHPStorm : non-free, but highly recommended,Eclipse with PDT : free and powerful, Netbeans or similar). If you want to call emacs or vi an IDE, fine - we are just talking just not textpad, right?
-
Get a working local copy of GIT (either CLI or a GUI such as TortioseGit : Windows or Sourcetree : OSX OK)
-
Download Drupal8 from git and install
-
and get it running locally!
Further instructions for setting up a dev environment for Drupal: https://drupal.org/dev-env or step-by-step tutorials at DrupalLadder
Bonus tasks
-
Install and start using drush on your local environment.
-
Open a D8 development branch for one of your own modules.
-
Upgrade a contrib module to D8 (either yours or others) and release the code. There are automated tools for this!.
-
Run a performance test (using any metric tools you like) on Drupal8 and compare with D7 equivalent.
-
Run a ‘coder’ review on a Drupal module. - Using http://pareview.sh/ OR by installing codesniffer tools yourself.
.. ... ... ...
Site Builder
Prerequisites : Have some familiarity with Drupal 6 or 7 terminology.
Set-up a D8 test site on http://simplytest.me/ (or your own development environment)
Get familiar with Drupal 8 by doing:
All of:
-
The project is "drupal core" - scroll down the version list to find "8.x" towards the bottom. - This will launch a scratch site for you.
-
Add ‘Basic page’ to main menu
-
Add one ‘Article’
-
Set-up ‘View’ for your ‘Article’
-
Set-up new ‘Taxonomy’. Add ‘Terms’
-
Add ‘Taxonomy’ to ‘Article’ content type
-
Add one ‘Custom block’. Display in sidebar
Bonus
-
Set-up new content type. Add content.
-
Add View mode. Use in your Article view.
On http://simplytest.me/ you only have half an hour to play around, so your task is to do the above within that time limit!
.. ... ... ...
Tester
Prerequisites: need to be comfortable with basic Git and PHP, and able to learn ‘patch’ procedure.
(Shortcut! Using http://simplytest.me/ to run tests counts!)
Complete ALL of
-
Successfully apply a pending Drupal.org core patch to a current git checkout of Drupal8.
-
Run *some* of the suite of automated tests using the core testing framework.
-
Add a comment to an open issue detailing your results - even just “works for me” after running a pending patch.
Bonus tasks
-
Write or update a test for an existing “needs test” core issue and submit it back.
-
Trial an upgrade migration of any Drupal7 site to Drupal8 and locate or report issues.
HOWTO
To use Simplytest.me to test a core patch:
-
At http://simplytest.me/ enter “Drupal core” but scroll down the versions to find branch 8.x
-
Expand the “Advanced options” and “Add a patch”. Enter the direct URL of the patch file to test.
-
“Launch Sandbox and bootstrap the site. You should probably be able to startup with minimal if you wish.
Even if not using simpletest and running tests locally:
-
On startup, under /admin/modules enable the additional module ‘testing’
-
Locate “run tests” and select just a few - don’t do all as it will take an hour.
.. ... ... ...
Patcher
Prerequisites: basic “Developer” and “Tester” abilities.
ANY of
-
Re-roll a patch from a pending issue and re-submit.
-
Create a new patch and submit it (A patch that adds a test gets you two achievements!)
-
Review someones existing patch and offer suggestions.
-
D7 exception - re-roll a D8 patch that “Needs backport” to Drupal7.
Bonus tasks
-
Have one of your patches in the core issue queue moved to RTBC.
- Have one of your patches in the core issue queue committed!