OpenSource For You

Find and fix bugs

-

You can start contributi­ng to open source projects by fixing some bugs in the Drupal core. Create an account in https:// www.Drupal.org. There is an issue queue in Drupal, where you can see all the bugs reported. Visit https://www.Drupal. org/project/issues/Drupal. You should see something like what’s shown in Figure 5.

This list consists of all the issues or bugs of Drupal. It gives a brief summary of all the issues.

You can add filters and choose issues as per your requiremen­t. If you want to start working on any bug, it’s better to change the status field’s value in the filter to Active. This will show up all the bugs you can start with. Open issues will contain the list of all issues — those under review, those that have been fixed and also those that are yet to be worked upon.

Since we have installed a particular version of Drupal (8.0.x), change the version to 8.0.x-dev. You can select the priority as per your wish. Now, search for issues. If you find one that you can solve, open the issue. Read the report about it given in the issue link. The comments may be really useful. Go through them and once you think you

Give a very short descriptio­n of the comment. ‘New Comment Number’ is the comment to which the patch is supposed to get attached, which can be seen on the issue page.

So, the Git diff will be of the form:

Once you have stored the patch file, we need to upload it to get it reviewed. Go to the issue link and then to the bottom of the page. You will see the Add a new file option. Upload the patch and click on Save. Now, click on Update this issue and change the status to Needs review. The patch you have uploaded is now ready to get reviewed. The patch also undergoes some basic tests, which will check the coding

Newspapers in English

Newspapers from India