mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-05 15:05:48 +02:00
IMPORTANT NOTE: The new TLS/SSL implementation forbids dots in S3 bucket names per RFC-2818. This security fix is required for compliant hostname verification. Bug Fixes: * Fix issues when a path option is / terminated. (Reported by Marc Cousin.) * Fix issues when log-level-file=off is set for the archive-get command. (Reported by Brad Nicholson.) * Fix C code to recognize host:port option format like Perl does. (Reported by Kyle Nevins.) * Fix issues with remote/local command logging options. Improvements: * The archive-push command is implemented entirely in C. * Increase process-max limit to 999. (Suggested by Rakshitha-BR.) * Improve error message when an S3 bucket name contains dots. Documentation Improvements: * Clarify that S3-compatible object stores are supported. (Suggested by Magnus Hagander.)
80 lines
1.4 KiB
Markdown
80 lines
1.4 KiB
Markdown
# Release Build Instructions
|
|
|
|
## Generate Coverage Report
|
|
|
|
These instructions are temporary until a fully automated report is implemented.
|
|
|
|
- In `test/src/lcov.conf` remove:
|
|
```
|
|
# Specify the regular expression of lines to exclude
|
|
lcov_excl_line=\{\+*uncovered|\{\+*uncoverable
|
|
|
|
# Coverage rate limits
|
|
genhtml_hi_limit = 100
|
|
genhtml_med_limit = 90
|
|
```
|
|
|
|
- In `test/lib/pgBackRestTest/Common/JobTest.pm` modify:
|
|
```
|
|
if (!$bTest || $iTotalLines != $iCoveredLines || $iTotalBranches != $iCoveredBranches)
|
|
```
|
|
to:
|
|
```
|
|
if (!$bTest)
|
|
```
|
|
|
|
- Run:
|
|
```
|
|
/backrest/test/test.pl --dev-test --vm=u18 --c-only
|
|
```
|
|
|
|
- Copy coverage report:
|
|
```
|
|
cd <pgbackrest-base>/doc/site
|
|
rm -rf coverage
|
|
cp -r ../../test/coverage/c coverage
|
|
```
|
|
|
|
- In `doc/site/coverage` replace:
|
|
```
|
|
<title>LCOV - all.lcov</title>
|
|
```
|
|
with:
|
|
```
|
|
<title>pgBackRest vX.XX C Code Coverage</title>
|
|
```
|
|
|
|
- In `doc/site/coverage` replace:
|
|
```
|
|
<tr><td class="title">LCOV - code coverage report</td></tr>
|
|
```
|
|
with:
|
|
```
|
|
<tr><td class="title">pgBackRest vX.XX C Code Coverage</td></tr>
|
|
```
|
|
|
|
- In `doc/site/coverage` replace:
|
|
```
|
|
<title>LCOV - all.lcov -
|
|
```
|
|
with:
|
|
```
|
|
<title>pgBackRest vX.XX C Code Coverage -
|
|
```
|
|
|
|
- In `doc/site/coverage` replace:
|
|
```
|
|
<td class="headerValue">all.lcov</td>
|
|
```
|
|
with:
|
|
```
|
|
<td class="headerValue">all C unit</td>
|
|
```
|
|
|
|
- Switch to prior dir and copy coverage:
|
|
```
|
|
cd prior/X.XX
|
|
rm -rf coverage
|
|
cp -r ../../coverage .
|
|
```
|