Skip to content

Instantly share code, notes, and snippets.

@sumeetpareek
Created August 14, 2013 09:24
Show Gist options
  • Save sumeetpareek/6229349 to your computer and use it in GitHub Desktop.
Save sumeetpareek/6229349 to your computer and use it in GitHub Desktop.
Notes from a short drupal sprint to review a submitted patch and submit a new patch in the issue queues
  1. To get started quick, the first thing I did was list all the contrib modules of one of projects I am currently working on. From in there, I decided to visit the issues page of simplenews module.
  2. Filtered the issues to find an easy patch to review like this and then picked this - https://drupal.org/node/1814244
  3. Found useful links
  4. created a new branch in my project (which was already a git repo) git checkout -b sprint
  5. downloaded the patch inside the simplenews module folder wget https://drupal.org/files/subscriber_count-1814244-2.patch
  6. applied the patch patch -p1 < subscriber_count-1814244-2.patch
  7. Noticed in the diff that the new code added was a little off on whitespaces git diff
  8. checked that the issue at hand was actually resolved by visiting the page http://mysite.com/admin/config/services/simplenews
  9. updated the issue with my findings and changed the status to NW (needs work) so that I could submit a patch with whitespace fixes - https://drupal.org/node/1814244#comment-7753363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment