Upgrade to Pro — share decks privately, control downloads, hide ads and more …

February 2018 WooCommerce Ahmedabad Meetup

February 2018 WooCommerce Ahmedabad Meetup

How to contribute to WooCommerce - Govind Kumar

Ahmedabad WordPress Meetup

February 25, 2018
Tweet

More Decks by Ahmedabad WordPress Meetup

Other Decks in Programming

Transcript

  1. How to Contribute in WooCommerce WordPress Ahmedabad Meetup Govind Kumar

    @variable_gk WordPress Core, Meta & WC Contributor Multidots Solutions Pvt Ltd
  2. Agenda 1.Get involved in WooCommerce support forum. 2.How to raise

    an issue. 3.How to make changes in WooCommerce. 4.Things to take care while contributing.
  3. Get involved in WooCommerce support forum. •Make sure you have

    a WordPress.org account •Go to https://wordpress.org/support/plugin/woocommerce •Ask Question or help someone to solve their concerns.
  4. ➢ Make sure you have a GitHub account ➢ Go

    to “Issue” section in WooCommerce repository and then create new issue. ➢ Search the “Existing Issues” to be sure that the one you've noticed isn't already there ( Note: WooCommerce allows to raise non technical issues as well. ) ➢ Submit a system report for your issue. How to raise an issue?
  5. How to make changes in WooCommerce. ➢ Go to WooCommerce

    github repository https://github.com/woocommerce/woocommerce and hit the “Fork” button. ◦ ➢ Go to “wp-content/plugins” folder and clone the forked repository into it. ◦ git clone https://github.com/emgk/woocommerce.git && cd woocommerce ➢ Add new remote and set WooCommerce main repository as upstream remote. ◦ git remote add upstream https://github.com/woocommerce/woocommerce.git ➢ Fetch all branches from upstream ◦ git fetch upstream
  6. How to make changes in WooCommerce. ➢ Check if your

    forked branch is up-to-date with woocommerce main repository? ◦ git pull upstream master && git push origin master ➢ Create a new branch to work on! ◦ git checkout -b “your-branch-name” origin/master ➢ Now you can do your work! ◦ Make your changes which fixes any issue. ➢ Commit and push your changes into your fork repo. ◦ git commit -am “Put some meaning full message.” ◦ git push -f origin your-branch-name
  7. How to make changes in WooCommerce. ➢ Create Pull Request.

    ◦ After pushing your change you’ll see a yellow box like this at the top of the repo. ◦ Click on “Compare & Pull request” button and submit this PR. ➢ Your PR will be reviewed by the maintainers ◦ Keep your eye on it , they will merge it or request changes.
  8. They will appreciate you! if you have done any quality

    work or if it is your first contribution.
  9. Once your PR is merged then in upcoming release you’ll

    see your github profile in release blog post. woocommerce.wordpress.com
  10. Things to take care while contributing. ➢ Don't modify the

    changelog. ➢ Don't add your localizations or update the .pot files ➢ Your code must follow WordPress Coding Standards https://make.wordpress.org/core/handbook/best-practices/coding-standards/ php/ ➢ Follow the contribution guidelines as mentioned in https://github.com/woocommerce/woocommerce/blob/master/.github/CONT RIBUTING.md