v1.26: Repository Encryption
commit : ba6b49ecb7226e5dab0990403afa6f8878048e35
author : David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 18:31:54 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 18:31:54 -0500
Bug Fixes:
* Fixed an issue that could cause copying large manifests to fail during restore. (Reported by Craig A. James.)
* Fixed incorrect WAL offset for 32-bit architectures. (Fixed by Javier Wilson.)
* Fixed an issue retrieving WAL for old database versions. After a stanza-upgrade it should still be possible to restore backups from the previous version and perform recovery with archive-get. However, archive-get only checked the most recent db version/id and failed. Also clean up some issues when the same db version/id appears multiple times in the history. (Fixed by Cynthia Shang. Reported by Clinton Adams.)
* Fixed an issue with invalid backup groups being set correctly on restore. If the backup cannot map a group to a name it stores the group in the manifest as false then uses either the owner of $PGDATA to set the group during restore or failing that the group of the current user. This logic was not working correctly because the selected group was overwriting the user on restore leaving the group undefined and the user incorrectly set to the group. (Reported by Jeff McCormick.)
* Fixed an issue passing parameters to remotes. When more than one db was specified the path, port, and socket path would for db1 were passed no matter which db was actually being addressed. (Reported by Uspen.)
Features:
* Repository encryption support. (Contributed by Cynthia Shang, David Steele.)
M README.md
M doc/resource/exe.cache
M doc/xml/release.xml
M lib/pgBackRest/Version.pm
M libc/lib/pgBackRest/LibCAuto.pm
Update release.pl to push data to site repository.
commit : 033dbcdc208657e3569c0197ec98e9ff1a052ff1
author : David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 17:59:30 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 17:59:30 -0500
M doc/release.pl
M doc/xml/release.xml
Fixed an issue passing parameters to remotes.
commit : ac54aac448e1ed84f6d083fcf95158619d729be3
author : David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 13:17:44 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 13:17:44 -0500
When more than one db was specified the path, port, and socket path would for db1 were passed no matter which db was actually being addressed.
Reported by Uspen.
M doc/xml/release.xml
M lib/pgBackRest/Protocol/Helper.pm
M test/lib/pgBackRestTest/Module/Protocol/ProtocolHelperTest.pm
Refactor protocol param generation into a new function.
commit : c77fc1fa61582e1983324e7caa5b573fc0eae5e8
author : David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 12:57:00 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 12:57:00 -0500
This allows the code to be tested more precisely and doesn't require executing a remote process.
M doc/xml/release.xml
M lib/pgBackRest/Protocol/Helper.pm
M test/expect/mock-all-002.log
M test/expect/mock-archive-002.log
M test/expect/mock-stanza-002.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Common/LogTest.pm
M test/lib/pgBackRestTest/Module/Protocol/ProtocolHelperTest.pm
Disable gzip filter when --compress-level-network=0.
commit : 062e714307de357ae49bcac8c48e397b1debfa0f
author : David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 09:31:15 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 21 Nov 2017 09:31:15 -0500
The filter was used with compress level set to 0 which added overhead without any benefit.
M doc/xml/release.xml
M lib/pgBackRest/Protocol/Storage/Remote.pm
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-all-003.log
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
Fixed an issue with invalid backup groups being set correctly on restore.
commit : 1da63aff07de90cd7734b5afd2674b1452c59cf3
author : David Steele <david@crunchydata.com>
date : Mon, 20 Nov 2017 12:46:35 -0500
committer: David Steele <david@crunchydata.com>
date : Mon, 20 Nov 2017 12:46:35 -0500
If the backup cannot map a group to a name it stores the group in the manifest as false then uses either the owner of $PGDATA to set the group during restore or failing that the group of the current user. This logic was not working correctly because the selected group was overwriting the user on restore leaving the group undefined and the user incorrectly set to the group. (Reported by Jeff McCormick.)
M doc/xml/release.xml
M lib/pgBackRest/Restore.pm
M test/expect/mock-all-001.log
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
Designate a single distro (Ubuntu 16.04) for C coverage testing
commit : 8ccfaa9ad366802525cbf1053af2226f2789b493
author : David Steele <david@pgmasters.net>
date : Mon, 20 Nov 2017 09:05:55 -0500
committer: David Steele <david@pgmasters.net>
date : Mon, 20 Nov 2017 09:05:55 -0500
Enable optimizations on the distros that don't do coverage testing.
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/JobTest.pm
Refactor C page checksum unit test to compile with -Wstrict-aliasing.
commit : deae0b8cd7ec102babf584698b15e73a7822283c
author : David Steele <david@pgmasters.net>
date : Mon, 20 Nov 2017 08:58:47 -0500
committer: David Steele <david@pgmasters.net>
date : Mon, 20 Nov 2017 08:58:47 -0500
M doc/xml/release.xml
M test/src/module/postgres/pageChecksumTest.c
Refactor C unit test macros so they compile with -Wstrict-aliasing.
commit : 5d741ea9a9993397bd7aa6602ff8562302d82c8e
author : David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:41:27 -0500
committer: David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:41:27 -0500
M doc/xml/release.xml
M test/src/common/harnessTest.h
Disable -Wclobber compiler warning.
commit : 3b43047e0d40ea7e00049df77d20f26498c89be1
author : David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:44:33 -0500
committer: David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:44:33 -0500
...because it is mostly useless but keep the rest of of -Wextra.
M doc/xml/release.xml
M libc/LibC.h
M libc/LibC.xs
M libc/Makefile.PL
M src/cipher/block.c
M src/common/encode.c
M test/lib/pgBackRestTest/Common/JobTest.pm
M test/src/module/common/errorTest.c
M test/src/module/common/memContextTest.c
Wrap try in a do...while loop to make sure that no random else is attached to the main if block.
commit : dc1a5c18acfef55f8d4cdfa21e9543975070b373
author : David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:30:23 -0500
committer: David Steele <david@pgmasters.net>
date : Sun, 19 Nov 2017 16:30:23 -0500
M doc/xml/release.xml
M libc/LibC.h
M src/common/encode.c
M src/common/error.h
M src/common/memContext.h
M test/src/common/harnessTest.h
M test/src/module/common/errorTest.c
M test/src/module/common/memContextTest.c
Improve base64 implementation.
commit : 9395ad7043d4d7ef8a687e0baa5d25e98d553112
author : David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 22:49:43 -0500
committer: David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 22:49:43 -0500
Different encoded strings could be generated based on compiler optimizations. Even though decoding was still successful the encoded strings did not match the standard.
M doc/xml/release.xml
M src/common/encode/base64.c
M test/src/module/common/encodeTest.c
Automated tests for 32-bit i386/i686 architecture.
commit : 500d6b4b66fab197ae39db2d3f79a3e7ef29f66c
author : David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 20:14:14 -0500
committer: David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 20:14:14 -0500
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/CiTest.pm
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/RunTest.pm
M test/lib/pgBackRestTest/Common/VmTest.pm
M test/lib/pgBackRestTest/Env/HostEnvTest.pm
Automate generation of WAL and pg_control test files.
commit : 8a3425ec04fea8c0876df0420d5dd3e318812c4e
author : David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 20:02:54 -0500
committer: David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 20:02:54 -0500
The existing static files would not work with 32-bit or big-endian systems so create functions to generate these files dynamically rather than creating a bunch of new static files.
M doc/xml/release.xml
D test/data/backup.pg_control_92.bin
D test/data/backup.pg_control_93.bin
D test/data/backup.pg_control_94.bin
D test/data/backup.pg_control_95.bin
D test/data/backup.wal1_92.bin
D test/data/backup.wal1_93.bin
D test/data/backup.wal1_94.bin
D test/data/backup.wal1_95.bin
D test/data/backup.wal2_94.bin
M test/expect/archive-stop-001.log
M test/expect/archive-stop-002.log
M test/expect/archive-stop-003.log
M test/expect/archive-stop-004.log
M test/expect/archive-stop-005.log
M test/expect/archive-stop-006.log
M test/expect/archive-stop-007.log
M test/expect/expire-expire-001.log
M test/expect/expire-expire-002.log
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-all-003.log
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-archive-003.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/lib/pgBackRestTest/Env/ExpireEnvTest.pm
M test/lib/pgBackRestTest/Env/HostEnvTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchiveGetTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchiveInfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchivePushTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchiveStopTest.pm
M test/lib/pgBackRestTest/Module/Backup/BackupInfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Expire/ExpireExpireTest.pm
M test/lib/pgBackRestTest/Module/Info/InfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm
M test/lib/pgBackRestTest/Module/Stanza/StanzaAllTest.pm
Designate a single distro (Ubuntu 16.04) for Perl coverage testing.
commit : b701cd5a5f43ffd5b39df5298bd66ea886dedbdd
author : David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 19:53:41 -0500
committer: David Steele <david@pgmasters.net>
date : Sat, 18 Nov 2017 19:53:41 -0500
Running coverage testing on multiple distros takes time but doesn't add significant value. Also ensure that the distro designated to run coverage tests is one of the default test distros.
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/RunTest.pm
M test/lib/pgBackRestTest/Common/VmTest.pm
Fixed an issue retrieving WAL for old database versions.
commit : 6ef2167e972039e67668d7f7700aab505d0ea595
author : David Steele <david@pgmasters.net>
date : Thu, 16 Nov 2017 17:18:51 -0500
committer: David Steele <david@pgmasters.net>
date : Thu, 16 Nov 2017 17:18:51 -0500
After a stanza-upgrade it should still be possible to restore backups from the previous version and perform recovery with archive-get. However, archive-get only checked the most recent db version/id and failed.
Also clean up some issues when the same db version/id appears multiple times in the history.
Fixed by Cynthia Shang.
Reported by Clinton Adams.
M doc/xml/release.xml
M lib/pgBackRest/Archive/Base.pm
M lib/pgBackRest/Archive/Get/Get.pm
M lib/pgBackRest/Archive/Info.pm
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-archive-003.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
A test/lib/pgBackRestTest/Module/Archive/ArchiveGetTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchiveInfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
Fix incorrect WAL offset for 32-bit architectures.
commit : 550d4fb9c591a269253a675f6f3585a777ea9b33
author : David Steele <david@pgmasters.net>
date : Thu, 16 Nov 2017 16:53:49 -0500
committer: David Steele <david@pgmasters.net>
date : Thu, 16 Nov 2017 16:53:49 -0500
Fixed by Javier Wilson.
M doc/xml/release.xml
M lib/pgBackRest/Archive/Common.pm
Fix flapping protocol timeout test.
commit : 1cb11a582de59480af3a5f656dbb0ec3da14e854
author : David Steele <david@crunchydata.com>
date : Wed, 15 Nov 2017 13:17:57 -0500
committer: David Steele <david@crunchydata.com>
date : Wed, 15 Nov 2017 13:17:57 -0500
It only matters that the correct error code is returned, so disable logging to prevent message ordering from failing the expect test.
M doc/xml/release.xml
M test/expect/mock-all-002.log
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
Add template to improve initial information gathered for issue submissions.
commit : bc8543494a07ef126b0d223e7a90da22a26389e8
author : Cynthia Shang <cynthia.shang@crunchydata.com>
date : Wed, 15 Nov 2017 11:59:27 -0500
committer: David Steele <david@crunchydata.com>
date : Wed, 15 Nov 2017 11:59:27 -0500
Contributed by Cynthia Shang.
A .github/ISSUE_TEMPLATE.md
M doc/xml/release.xml
Only check expect logs on CentOS 7.
commit : 22fe684b1fe213df6c9a74a7c0bec4aa6eed3837
author : David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 17:16:39 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 17:16:39 -0500
Variations in distros cause false negatives in tests but don't add much value.
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/RunTest.pm
M test/lib/pgBackRestTest/Common/VmTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm
M test/test.pl
Add encryption to features list.
commit : 3ee269c0998ea3bbf96ccbcc04857ba6b9789146
author : David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 17:07:22 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 17:07:22 -0500
M README.md
M doc/xml/index.xml
Inflate performance improvement for gzip filter and full unit test coverage.
commit : b8746f368dbd76eee19e4c3fecc6853696be1908
author : David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 15:12:31 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 15:12:31 -0500
M doc/xml/release.xml
M lib/pgBackRest/Storage/Filter/Gzip.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Module/Storage/StorageFilterGzipTest.pm
Fixed an issue that could cause copying large manifests to fail during restore.
commit : 04e55fe71bea32b2666df59a9891362ea6717964
author : David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 14:48:44 -0500
committer: David Steele <david@pgmasters.net>
date : Tue, 14 Nov 2017 14:48:44 -0500
Reported by Craig A. James.
M doc/xml/release.xml
M lib/pgBackRest/Protocol/Storage/File.pm
M test/expect/real-all-001.log
M test/expect/real-all-002.log
M test/expect/real-all-003.log
M test/expect/real-all-004.log
M test/expect/real-all-005.log
M test/expect/real-all-006.log
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm
Simplify try..catch..finally names.
commit : cf7da546a3b7c1395faf2958f45572f82fe0127a
author : David Steele <david@pgmasters.net>
date : Mon, 13 Nov 2017 21:22:13 -0500
committer: David Steele <david@pgmasters.net>
date : Mon, 13 Nov 2017 21:22:13 -0500
M doc/xml/release.xml
M libc/LibC.h
M src/cipher/block.c
M src/common/encode.c
M src/common/encode/base64.c
M src/common/error.h
M src/common/memContext.c
M src/common/memContext.h
M src/config/config.c
M src/config/define.c
M src/postgres/pageChecksum.c
M test/src/common/harnessTest.h
M test/src/module/common/errorTest.c
M test/src/module/common/memContextTest.c
Enable additional warnings for C builds.
commit : bcdfc7d0b52dc92ae22aef1c93bbfda7e6fa24f3
author : David Steele <david@pgmasters.net>
date : Mon, 6 Nov 2017 22:55:34 -0500
committer: David Steele <david@pgmasters.net>
date : Mon, 6 Nov 2017 22:55:34 -0500
M doc/xml/release.xml
M libc/LibC.h
M libc/LibC.xs
M libc/Makefile.PL
M libc/xs/cipher/block.xs
M src/cipher/block.c
M src/common/encode.c
M src/common/encode/base64.c
M src/common/memContext.c
M src/config/config.c
M src/config/config.h
M src/config/define.c
M src/config/define.h
M test/lib/pgBackRestTest/Common/JobTest.pm
M test/src/common/harnessTest.c
M test/src/common/harnessTest.h
M test/src/module/cipher/blockTest.c
M test/src/module/cipher/randomTest.c
M test/src/module/common/encodeTest.c
M test/src/module/common/memContextTest.c
M test/test.pl
Repository encryption support.
commit : b03c26968a2817df33b60c8240cbe2c037281783
author : Cynthia Shang <cynthia.shang@crunchydata.com>
date : Mon, 6 Nov 2017 12:51:12 -0500
committer: David Steele <david@crunchydata.com>
date : Mon, 6 Nov 2017 12:51:12 -0500
Contributed by Cynthia Shang.
M doc/xml/reference.xml
M doc/xml/release.xml
M doc/xml/user-guide.xml
M lib/pgBackRest/Archive/Base.pm
M lib/pgBackRest/Archive/Get/Get.pm
M lib/pgBackRest/Archive/Info.pm
M lib/pgBackRest/Archive/Push/File.pm
M lib/pgBackRest/Backup/Backup.pm
M lib/pgBackRest/Backup/File.pm
M lib/pgBackRest/Backup/Info.pm
M lib/pgBackRest/Check/Check.pm
M lib/pgBackRest/Common/Ini.pm
M lib/pgBackRest/Config/ConfigHelpData.pm
M lib/pgBackRest/Config/Data.pm
M lib/pgBackRest/Info.pm
M lib/pgBackRest/Manifest.pm
M lib/pgBackRest/Protocol/Helper.pm
M lib/pgBackRest/Protocol/Local/Process.pm
M lib/pgBackRest/Protocol/Remote/Minion.pm
M lib/pgBackRest/Protocol/Storage/Helper.pm
M lib/pgBackRest/Protocol/Storage/Remote.pm
M lib/pgBackRest/Restore.pm
M lib/pgBackRest/RestoreFile.pm
M lib/pgBackRest/Stanza.pm
M lib/pgBackRest/Storage/Base.pm
M lib/pgBackRest/Storage/Local.pm
M lib/pgBackRest/Storage/S3/Auth.pm
M libc/build/lib/pgBackRestLibC/Build.pm
M libc/lib/pgBackRest/LibCAuto.pm
M libc/xs/config/config.auto.xsh
M src/config/config.auto.c
M src/config/config.auto.h
M src/config/define.auto.c
M src/config/define.auto.h
M test/expect/archive-stop-001.log
M test/expect/archive-stop-002.log
M test/expect/archive-stop-003.log
M test/expect/archive-stop-004.log
M test/expect/archive-stop-005.log
M test/expect/archive-stop-006.log
M test/expect/archive-stop-007.log
M test/expect/expire-expire-001.log
M test/expect/expire-expire-002.log
M test/expect/help-help-001.log
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-all-003.log
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-archive-003.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/expect/real-all-001.log
M test/expect/real-all-002.log
M test/expect/real-all-003.log
M test/expect/real-all-004.log
M test/expect/real-all-005.log
M test/expect/real-all-006.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Common/FileTest.pm
M test/lib/pgBackRestTest/Common/LogTest.pm
M test/lib/pgBackRestTest/Env/ExpireEnvTest.pm
M test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbSyntheticTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbTest.pm
M test/lib/pgBackRestTest/Env/HostEnvTest.pm
A test/lib/pgBackRestTest/Module/Archive/ArchiveInfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchivePushTest.pm
M test/lib/pgBackRestTest/Module/Archive/ArchiveStopTest.pm
M test/lib/pgBackRestTest/Module/Backup/BackupInfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Common/CommonIniTest.pm
M test/lib/pgBackRestTest/Module/Expire/ExpireExpireTest.pm
M test/lib/pgBackRestTest/Module/Info/InfoUnitTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockArchiveTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockStanzaTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm
M test/lib/pgBackRestTest/Module/Stanza/StanzaAllTest.pm
M test/lib/pgBackRestTest/Module/Storage/StorageHelperTest.pm
M test/lib/pgBackRestTest/Module/Storage/StorageLocalTest.pm
M test/lib/pgBackRestTest/Module/Storage/StoragePosixTest.pm
Add eof to S3 file driver (required for encryption support).
commit : f07d2a3d0dbfa7ea510e41a9ea66265b46db1158
author : David Steele <david@crunchydata.com>
date : Mon, 6 Nov 2017 12:40:54 -0500
committer: David Steele <david@crunchydata.com>
date : Mon, 6 Nov 2017 12:40:54 -0500
M doc/xml/release.xml
M lib/pgBackRest/Common/Http/Client.pm
M lib/pgBackRest/Common/Io/Filter.pm
M lib/pgBackRest/Common/Io/Handle.pm
Library code for repository encryption support.
commit : 8d6a08a32b1221db5b6eae0db615731d19754bc8
author : David Steele <david@pgmasters.net>
date : Fri, 3 Nov 2017 13:57:58 -0400
committer: David Steele <david@pgmasters.net>
date : Fri, 3 Nov 2017 13:57:58 -0400
M doc/xml/release.xml
M lib/pgBackRest/Common/Exception.pm
M lib/pgBackRest/Storage/Base.pm
A lib/pgBackRest/Storage/Filter/CipherBlock.pm
M libc/LibC.h
M libc/LibC.xs
M libc/Makefile.PL
M libc/build/lib/pgBackRestLibC/Build.pm
M libc/lib/pgBackRest/LibCAuto.pm
A libc/typemap
A libc/xs/cipher/block.xs
A libc/xs/cipher/block.xsh
A libc/xs/cipher/random.xs
A src/cipher/block.c
A src/cipher/block.h
A src/cipher/cipher.h
A src/cipher/random.c
A src/cipher/random.h
M src/common/error.c
M src/common/error.h
M src/common/errorType.c
M src/common/errorType.h
M test/Vagrantfile
M test/lib/pgBackRestTest/Common/ContainerTest.pm
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Common/JobTest.pm
A test/lib/pgBackRestTest/Module/Storage/StorageFilterCipherBlockTest.pm
A test/src/module/cipher/blockTest.c
A test/src/module/cipher/randomTest.c
Convert configuration definitions from auto-generated functions to auto-generated data structures.
commit : ac542788da8264e39b3f3d817535df918f65a342
author : David Steele <david@pgmasters.net>
date : Thu, 2 Nov 2017 08:14:13 -0400
committer: David Steele <david@pgmasters.net>
date : Thu, 2 Nov 2017 08:14:13 -0400
M build/lib/pgBackRestBuild/Build.pm
M build/lib/pgBackRestBuild/Build/Common.pm
D build/lib/pgBackRestBuild/CodeGen/Common.pm
D build/lib/pgBackRestBuild/CodeGen/Lookup.pm
D build/lib/pgBackRestBuild/CodeGen/Switch.pm
D build/lib/pgBackRestBuild/CodeGen/Truth.pm
M build/lib/pgBackRestBuild/Config/Build.pm
A build/lib/pgBackRestBuild/Config/BuildDefine.pm
D build/lib/pgBackRestBuild/Config/Rule.pm
M doc/lib/BackRestDoc/Common/DocConfig.pm
M doc/lib/BackRestDoc/Common/DocExecute.pm
M doc/xml/release.xml
M lib/pgBackRest/Backup/Backup.pm
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Config/ConfigHelp.pm
M lib/pgBackRest/Config/ConfigHelpData.pm
M lib/pgBackRest/Config/Data.pm
R058 lib/pgBackRest/Config/Rule.pm lib/pgBackRest/Config/Define.pm
M lib/pgBackRest/Config/LoadFailback.pm
M lib/pgBackRest/Db.pm
M lib/pgBackRest/DbVersion.pm
M lib/pgBackRest/Protocol/Helper.pm
M lib/pgBackRest/Protocol/Storage/Helper.pm
D libc/.gitignore
M libc/LibC.xs
M libc/Makefile.PL
A libc/build/lib/pgBackRestLibC/Build.pm
A libc/build/lib/pgBackRestLibC/Config/Build.pm
A libc/build/lib/pgBackRestLibC/Config/BuildDefine.pm
R065 libc/LibC.template.pm libc/lib/pgBackRest/LibC.pm
A libc/lib/pgBackRest/LibCAuto.pm
M libc/t/sanity.t
A libc/xs/config/config.auto.xsh
M libc/xs/config/config.xs
D libc/xs/config/configRule.xs
A libc/xs/config/define.auto.xsh
A libc/xs/config/define.xs
D src/.gitignore
M src/common/error.c
M src/common/errorType.c
M src/common/type.h
A src/config/config.auto.c
A src/config/config.auto.h
D src/config/config.auto.md
M src/config/config.c
M src/config/config.h
D src/config/configRule.auto.md
D src/config/configRule.c
D src/config/configRule.h
A src/config/define.auto.c
A src/config/define.auto.h
A src/config/define.c
A src/config/define.h
M test/Vagrantfile
M test/expect/archive-stop-001.log
M test/expect/archive-stop-002.log
M test/expect/archive-stop-003.log
M test/expect/archive-stop-004.log
M test/expect/archive-stop-005.log
M test/expect/archive-stop-006.log
M test/expect/archive-stop-007.log
M test/expect/mock-all-001.log
M test/expect/mock-all-002.log
M test/expect/mock-all-003.log
M test/expect/mock-archive-001.log
M test/expect/mock-archive-002.log
M test/expect/mock-archive-003.log
M test/expect/mock-stanza-001.log
M test/expect/mock-stanza-002.log
M test/expect/mock-stanza-003.log
M test/lib/pgBackRestTest/Common/DefineTest.pm
M test/lib/pgBackRestTest/Common/JobTest.pm
M test/lib/pgBackRestTest/Env/ConfigEnvTest.pm
M test/lib/pgBackRestTest/Env/Host/HostBackupTest.pm
M test/lib/pgBackRestTest/Env/Host/HostBaseTest.pm
M test/lib/pgBackRestTest/Env/Host/HostDbCommonTest.pm
R098 test/lib/pgBackRestTest/Module/Config/ConfigConfigTest.pm test/lib/pgBackRestTest/Module/Config/ConfigConfigPerlTest.pm
M test/lib/pgBackRestTest/Module/Config/ConfigOptionTest.pm
M test/lib/pgBackRestTest/Module/Config/ConfigUnitTest.pm
M test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm
M test/lib/pgBackRestTest/Module/Real/RealAllTest.pm
A test/src/module/config/configTest.c
A test/src/module/config/defineTest.c
D test/src/module/config/ruleTest.c
M test/test.pl
Clarify usage of the archive-timeout option.
commit : 2be93036f1c8de73414650fd6c6710e2f2b9fc73
author : Cynthia Shang <cynthia.shang@crunchydata.com>
date : Mon, 30 Oct 2017 14:18:05 -0400
committer: David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 14:18:05 -0400
Also describe how it is distinct from the PostgreSQL archive_timeout setting.
Contributed by Cynthia Shang.
Suggested by Keith Fiske.
M doc/xml/reference.xml
M doc/xml/release.xml
M doc/xml/user-guide.xml
Remove configurable option hints.
commit : 55f68ef0136362be1ee8dbe3dabd1b3132e485d1
author : David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 10:58:04 -0400
committer: David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 10:58:04 -0400
db-path was the only option with a hint so the feature seemed wasteful. All missing stanza options now output the same hint without needing configuration.
M build/lib/pgBackRestBuild/Config/Build.pm
M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Config/Data.pm
M lib/pgBackRest/Config/Rule.pm
M libc/Makefile.PL
M libc/xs/config/configRule.xs
M src/config/configRule.auto.md
M src/config/configRule.h
M test/src/module/config/ruleTest.c
Add list type for options.
commit : 1ef27ec8c2273fce99685c9354a6778d14a54792
author : David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 10:50:35 -0400
committer: David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 10:50:35 -0400
The hash type was being used for lists with an additional flag (`value-hash`) to indicate that it was not really a hash.
M build/lib/pgBackRestBuild/Config/Build.pm
M doc/xml/release.xml
M lib/pgBackRest/Config/Config.pm
M lib/pgBackRest/Config/Data.pm
M lib/pgBackRest/Config/Rule.pm
M lib/pgBackRest/Version.pm
M libc/Makefile.PL
M libc/xs/config/configRule.xs
M src/config/configRule.auto.md
M src/config/configRule.h
M test/src/module/config/ruleTest.c
Update Debian/Ubuntu containers to download lastest version of pip.
commit : f57e376c4489cba94b5dba443e6421b085ef9ea4
author : David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 09:29:46 -0400
committer: David Steele <david@pgmasters.net>
date : Mon, 30 Oct 2017 09:29:46 -0400
M doc/xml/release.xml
M test/lib/pgBackRestTest/Common/ContainerTest.pm