1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/doc/RELEASE.md
David Steele 68d20edea6 v2.11: C Implementation of Archive Get
Bug Fixes:

* Fix possible truncated WAL segments when an error occurs mid-write. (Reported by blogh.)
* Fix info command missing WAL min/max when stanza specified. (Fixed by Stefan Fercot.)
* Fix non-compliant JSON for options passed from C to Perl. (Reported by Leo Khomenko.)

Improvements:

* The archive-get command is implemented entirely in C.
* Enable socket keep-alive on older Perl versions. (Contributed by Marc Cousin.)
* Error when parameters are passed to a command that does not accept parameters. (Suggested by Jason O'Donnell.)
* Add hints when unable to find a WAL segment in the archive. (Suggested by Hans-Jürgen Schönig.)
* Improve error when hostname cannot be found in a certificate. (Suggested by James Badger.)
* Add additional options to backup.manifest for debugging purposes. (Contributed by blogh.)
2019-03-10 18:56:00 +02:00

1.4 KiB

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
cp -r ../../coverage .