...

Text file src/github.com/godbus/dbus/v5/CONTRIBUTING.md

Documentation: github.com/godbus/dbus/v5

     1# How to Contribute
     2
     3## Getting Started
     4
     5- Fork the repository on GitHub
     6- Read the [README](README.markdown) for build and test instructions
     7- Play with the project, submit bugs, submit patches!
     8
     9## Contribution Flow
    10
    11This is a rough outline of what a contributor's workflow looks like:
    12
    13- Create a topic branch from where you want to base your work (usually master).
    14- Make commits of logical units.
    15- Make sure your commit messages are in the proper format (see below).
    16- Push your changes to a topic branch in your fork of the repository.
    17- Make sure the tests pass, and add any new tests as appropriate.
    18- Submit a pull request to the original repository.
    19
    20Thanks for your contributions!
    21
    22### Format of the Commit Message
    23
    24We follow a rough convention for commit messages that is designed to answer two
    25questions: what changed and why. The subject line should feature the what and
    26the body of the commit should describe the why.
    27
    28```
    29scripts: add the test-cluster command
    30
    31this uses tmux to setup a test cluster that you can easily kill and
    32start for debugging.
    33
    34Fixes #38
    35```
    36
    37The format can be described more formally as follows:
    38
    39```
    40<subsystem>: <what changed>
    41<BLANK LINE>
    42<why this change was made>
    43<BLANK LINE>
    44<footer>
    45```
    46
    47The first line is the subject and should be no longer than 70 characters, the
    48second line is always blank, and other lines should be wrapped at 80 characters.
    49This allows the message to be easier to read on GitHub as well as in various
    50git tools.

View as plain text