App-WordPressTools

 view release on metacpan or  search on metacpan

CONTRIBUTING  view on Meta::CPAN

NAME

    App::WordPressTools::Contributing - How to contribute to wp-tools

GETTING INVOLVED

    If you'd like to contribute a patch to improve the wp-tools
    documentation or tests, fix a bug, or add a new feature, we think
    that's great. Here's how to do it:

 Get the Code

      1. Clone the repository.

      If you use GitHub, fork wp-tools and then clone your fork:

          git clone git@github.com:$GITHUB_USERNAME/wp-tools.git

      If you don't use GitHub, you can clone the official repository:

          git clone https://github.com/bluehost/wp-tools.git

      2. Install Dist::Zilla.

          cpanm Dist::Zilla

      3. Install the Perl dependencies using Dist::Zilla:

          dzil authordeps --missing | cpanm
          dzil listdeps --author --develop --missing | cpanm

      4. Make sure the tests pass:

          dzil test

 Repository Structure

    lib

      Contains source code and source documentation in the form of Perl
      modules and POD files.

    script

      Contains executable source code.

    t

      Contains test scripts.

    maint

      Contains release management scripts.

    CONTRIBUTING.md, LICENSE, README.md

      Rendered documentation. Do NOT modify these files directly because
      their contents are built from other files. You may commit changes to
      these files as long as their source files were updated.

    Changes

      Lists releases and associated changes.

 Branch Layout

    master

      This is the shared development branch. It may contain accepted but
      unreleased commits, but it does not include anything that is known to
      be broken or a WIP -- that's what topics are for. Topics should be
      branched from master.

    release

      The release branch tracks master but lags behind. The tip of this
      branch always points to the latest release commit, so this branch is
      the stable branch.

    topic/*

      Topics are branched from master and may contain experimental and
      broken code. They are for work in progress. Topics may be rebased and
      cleaned up for eventual merging back into master. Topics may be
      namespaced "topic/" or not.

    dist

      The dist branch includes releases built for distribution to the CPAN.
      This branch shares no commits with any other branch and is maintained
      by release management scripts.

    solo

      The solo branch includes releases built as standalone scripts (for
      curl installation). This branch shares no commits with any other
      branch and is maintained by release management scripts.

 Commit Guidelines

    In general, follow the Commit Guidelines
    <https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines>
    from the Pro Git book. In particular:

      * Clean up your branch.

      Remember that your topic branch is yours. You can and should rewrite
      its history so that its history is clean and straightforward without
      any "fixup" commits. These commands can help you clean up your
      history:

          git commit --amend
          git rebase --interactive
          git cherry-pick

      * Follow the same code style already used in the file(s) you're
      editing.

      * Fix whitespace errors.



( run in 1.268 second using v1.01-cache-2.11-cpan-39bf76dae61 )