Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Goal:
Find an issue that has a patch (software fix) that needs to be updated to apply to the current software base, or "rerolled", and update the patch. This is important because sometimes a patch worked with code from the past, but changes to the code base make a patch not apply anymore. Re-rolling makes a patch that is essentially the same, but now applies to the current code base.
Skills required:
Detailed steps:
- Set up prerequisites: Log in and Git from Common Prerequisites for Contributors.
- Find the issues for Drupal core or another project that interests you.
- Click advanced search, and search for an issue with tag "Needs reroll". For example, here is a list of Drupal core issues tagged "Needs reroll".
- Make a comment on the issue saying you are going to reroll the patch. (See Creating or updating an issue report for instructions.)
- Reroll the patch, following the steps in Rerolling patches.
- If you are working in the Drupal core project, check locally that the patch or merge request passes the pre-commit checks, following the steps in running core development checks.
- Return to the issue page, and update it as follows:
- Add a comment. Say that you rerolled the patch, at a minimum. Optionally, add details such as what conflicts there were, links to other issues that caused the patch to not apply, questions you had, etc.
- Remove the Needs reroll tag
- Set the Status to Needs review
- Upload your rerolled patch in the Files area
- Click Save to save your comment and changes