File: CONTRIBUTING.md

package info (click to toggle)
pgbadger 13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: perl: 22,613; javascript: 22,274; sh: 4; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# How to contribute

## Before submitting an issue

1. Upgrade to the latest version of pgBadger and see if the problem remains

2. Look at the [closed issues](https://github.com/darold/pgbadger/issues?state=closed), we may have already answered a similar problem

3. [Read the doc](http://pgbadger.darold.net/documentation.html), it is short and useful

## Coding style

The pgBadger project provides a [.editorconfig](http://editorconfig.org/) file to
setup consistent spacing in files. Please follow it!

## Keep documentation updated

The first pgBadger documentation is `pgbadger --help`. `--help` fills the
SYNOPSIS section in `doc/pgBadger.pod`. The DESCRIPTION section *must* be
written directly in `doc/pgBadger.pod`. `README` is the text formatting of
`doc/pgBadger.pod`. 

After updating `doc/pdBadger.pod`, rebuild `README` and `README.md` with the following commands:
```shell
$ perl Makefile.PL && make README
```
When you're done contributing to the docs, commit your changes.  Note that you must have `pod2markdown` installed to generate `README.md`.