Switch branches/tags
upstream/0.25.5 upstream/0.25.4 upstream/0.25.0 upstream/0.24.8 tags/2.6.0rc3 tags/2.6.0rc2 tags/2.6.0rc1 release-0.9.2 puppet-0.24.5-rc3 geordi-published-pe debian/2.6.2-4 debian/2.6.2-3 debian/2.6.2-2 debian/2.6.0-4 debian/2.6.0-3 debian/2.6.0-2 debian/2.6.0-1 debian/0.25.5-1 debian/0.25.4-6 debian/0.25.4-4 debian/0.25.4-2 debian/0.25.3-1 debian/0.25.1 Iteration-2011-04-27-master Iteration-2011-04-27-2.7.x Iteration-2011-04-27-2.6.x Iteration-2011-04-21-master Iteration-2011-04-21-2.7.x Iteration-2011-04-21-2.6.x Iteration-2011-04-13-master Iteration-2011-04-06-master Iteration-2011-04-06-2.6.x Iteration-2011-03-30-master Iteration-2011-03-30-2.6.x Iteration-2011-03-23-master Iteration-2011-03-23-2.6.x Iteration-2011-03-16-master Iteration-2011-03-16-2.6.x Iteration-2011-02-02-master Iteration-2011-02-02-2.6.x Iteration-2011-01-19-master Iteration-2011-01-19-2.6.x Iteration-2011-01-05-master Iteration-2011-01-05-2.6.x Iteration-2010-12-15-master Iteration-2010-12-15-2.6.x Iteration-2010-11-24 Iteration-2010-11-17 Iteration-2010-11-10 Iteration-2010-11-03 BetaOne Beta1 3.0.1 3.0.1-rc1 3.0.0 3.0.0rc3 3.0.0rc2 3.0.0rc1 3.0.0-rc8 3.0.0-rc7 3.0.0-rc6 3.0.0-rc5 3.0.0-rc4 2.7.19 2.7.19rc3 2.7.19rc2 2.7.19rc1 2.7.18 2.7.17 2.7.16 2.7.16rc1 2.7.15rc4 2.7.15rc3 2.7.15rc2 2.7.15rc1 2.7.14 2.7.14rc3 2.7.14rc2 2.7.14rc1 2.7.13 2.7.12 2.7.12rc2 2.7.12rc1 2.7.11-1 2.7.10 2.7.10rc1 2.7.9 2.7.8 2.7.8rc2 2.7.8rc1 2.7.7 2.7.7rc1 2.7.6 2.7.6rc3 2.7.6rc2 2.7.6rc1 2.7.5 2.7.4 2.7.4rc3 2.7.4rc2
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (52 sloc) 3.06 KB

How to contribute

Third-party patches are essential for keeping puppet great. We simply can't access the huge number of platforms and myriad configurations for running puppet. We want to keep it as easy as possible to contribute changes that get things working in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

Getting Started

  • Make sure you have a Redmine account
  • Make sure you have a GitHub account
  • Submit a ticket for your issue, assuming one does not already exist.
    • Clearly describe the issue including steps to reproduce when it is a bug.
    • Make sure you fill in the earliest version that you know has the issue.
  • Fork the repository on GitHub

Making Changes

  • Create a topic branch from where you want to base your work.
    • This is usually the master branch.
    • Only target release branches if you are certain your fix must be on that branch.
    • To quickly create a topic branch based on master; git branch fix/master/my_contribution master then checkout the new branch with git checkout fix/master/my_contribution. Please avoid working directly on the master branch.
  • Make commits of logical units.
  • Check for unnecessary whitespace with git diff --check before committing.
  • Make sure your commit messages are in the proper format.
    (#99999) Make the example in CONTRIBUTING imperative and concrete

    Without this patch applied the example commit message in the CONTRIBUTING
    document is not a concrete example.  This is a problem because the
    contributor is left to imagine what the commit message should look like
    based on a description rather than an example.  This patch fixes the
    problem by making the example concrete and imperative.

    The first line is a real life imperative statement with a ticket number
    from our issue tracker.  The body describes the behavior without the patch,
    why this is a problem, and how the patch fixes the problem when applied.
  • Make sure you have added the necessary tests for your changes.
  • Run all the tests to assure nothing else was accidentally broken.

Submitting Changes

  • Sign the Contributor License Agreement.
  • Push your changes to a topic branch in your fork of the repository.
  • Submit a pull request to the repository in the puppetlabs organization.
  • Update your Redmine ticket to mark that you have submitted code and are ready for it to be reviewed.
    • Include a link to the pull request in the ticket

Additional Resources