Monday 19 December 2016

Getting started in the issue queue

Finish Drupal Ladder [Drupal Core Ladder] - Getting started in the issue queue (Drupal)



INTRODUCTION


Issue queue is a collection of requests and bug fixes including their status. It is used by developers and users to discuss changes and report bugs.



Laptop on which installation was performed: HP Elite Pro running Windows 10.

To be able to use Ubuntu, I used a virtualisation software. It is the Virtual Box which has enabled me to install Linux on Windows.


            Download Virtual box:https://www.virtualbox.org/


Ubuntu is a Linux distribution which is a free and open source software.


            Download Ubuntu 16.10:https://www.ubuntu.com/download/desktop


I will endeavour to find any issues, document them; while providing feedback on how to resolve these issues. I will classified this task into 3 steps.

STEP 1:Installing Git on Ubuntu



1.Installing Git on Ubuntu



First of all, we need to update the local repository and then we are going to install git.



CODE:


  • sudo apt-get update




  • sudo apt-get install git-core



Installing Git



2.Moving Around on the command line


In this step, you will get familiar with command line.



  • pwd command tell us about the directory we are located.



       CODE:



                  pwd




  • ls command list the contents of the current directory.



         CODE:

                     LS






  • cd command is used to navigate between directories and folder.
     
       CODE:


                  
                    cd





NOTE:
        
         
           To cancel an action we use control c.


3. Basic Configuration for Git

Basic configuration


The following code are a simple way to update git configuration file.


1.The code below is going to define heervesh as author name to be used for all commits by the current user.


   CODE:
             

               git config --global user.name heervesh



2.The code below is going to define heerveshdrc1234@gmail.com as author email to be used for all commits by the current user.


   CODE:


       git config --global user.email heerveshdrc1234@gmail.com


    3. The code below is going to set the current setting of core.autocrlf to be true so as to convert Linux (LF) line ending into Windows (CRLF) line and vice-versa when it checks out code onto the file system


       CODE:


                    git config --global core.autocrlf true








    STEP 2:Install Drupal 8 sandbox for Drupal ladder




    CODE:


    • git clone --branch 8.x https://git.drupal.org/sandbox/bhirsch/1388780.gitdrupal_8_sandbox_for_drupal_ladder





    • cd drupal_8_sandbox_for_drupal_ladder




    Installing Drupal 8 sandbox




    STEP 3:Getting started in the issue queue



    Go to Drupal 8 Sandbox and making the necessary changes.



    • Under component: select Miscellaneous




    • Under category: select Bug report




           Then insert the line below as tittle:


                Rewrite description for URL alias on node/add/*





      Then copy the text below, paste into the issue summary and save it as shown in the screenshot below:




      Note: This issue is being posted here as an exercise by a participant in the http://drupalladder.org ladder for contributing to core. Please don't do anything with this post. The real issue has already been resolved in Drupal 8. If you would like to try this exercise yourself, visit http://drupalladder.org and click on Drupal Ladder

      Current:
      Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don't add a trailing slash or the URL alias won't work.

      Proposed:


      The alternative URL for this content. For example, type "about" when creating an about page. Use a relative path without a trailing slash



      Creating issues





      Confirm a reported bug and improve the issue





      Addition: Updating my issue






      Now, I am going to update my current issue summary into an issue summary template:










      Issue summary template link:https://www.drupal.org/node/1155816



      STEPS:




      1.Click on update this issue on rewrite description for url alias on node/add/* as shown below.







      2.Copy the issue summary template and go back to your URL alias on node/add/*


      Copy of Issue Summary Template


      3.Remove the previous issue summary and paste the new one.




      Pasting Issue summary Template

      4.Then,click save.



      Saving issue summary template


           Link:https://www.drupal.org/node/2835085/edit


      5.Then,refresh your web page. You will see that your issue is updated.



      Result of updating issue


      LINK:https://www.drupal.org/node/2835085#comment-11836547



      Outcome:


      I have learned about creating a basic issue post, confirming a reported bug and how to update that issue for improvement in Drupal and it's workflow. When I will create a basic issue post in Drupal, I will use those skills to improve the module that I have developed.









      No comments:

      Post a Comment