1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/.github
David Steele ce0ea2cfab Use uncrustify for code formatting.
The code is not completely reflowed yet so there are some cases that uncrustify will not catch. The formatting will be improved over time.

Some block of code require special formatting so have been surrounded with the {uncrustify-off}/{uncrustify-on} markers. These exceptions should be kept to a minimum.

Add --code-format (to reformat code) and --code-format-check (to check formatting) to test.pl.

Add a CI test that will check code formatting. Code must be correctly formatted before it can be merge to integration.

Add documentation to the coding standards for code formatting.
2023-01-30 12:22:41 +07:00
..
workflows Use uncrustify for code formatting. 2023-01-30 12:22:41 +07:00
ISSUE_TEMPLATE.md Update backup host to repository host in the documentation. 2018-02-19 13:17:58 -05:00
pull_request_template.md Update documentation/links to main branch. 2021-10-13 12:01:53 -04:00