[Box Backup-commit] [boxbackup/boxbackup] 026b64: Custom build system: fix autogen dependencies
GitHub
noreply at github.com
Fri Aug 4 20:02:36 BST 2017
Branch: refs/heads/s3_support_merge
Home: https://github.com/boxbackup/boxbackup
Commit: 026b6456100f59528daee52c86ceaec6b176641d
https://github.com/boxbackup/boxbackup/commit/026b6456100f59528daee52c86ceaec6b176641d
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M infrastructure/makebuildenv.pl.in
Log Message:
-----------
Custom build system: fix autogen dependencies
Remove useless inclusion of Makefile.extras with paths in subdirs that will
never match anything, and replace those inclusions with recursive Make calls to
build those targets. This allows changes to exception and protocol files to be
detected automatically, and the C++ code regenerated.
Commit: 459345a7bc210f04f1f89da13be8449ca1b77ca6
https://github.com/boxbackup/boxbackup/commit/459345a7bc210f04f1f89da13be8449ca1b77ca6
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupclient/BackupClientRestore.cpp
M lib/backupstore/BackupStoreCheck.cpp
M lib/backupstore/BackupStoreCheck.h
M lib/common/Test.cpp
M lib/common/Utils.cpp
M lib/common/Utils.h
M lib/httpserver/S3Simulator.cpp
Log Message:
-----------
Make ObjectExists and BackupStoreCheck use object_exists_t enum
Commit: b7c3db508fbba143b46e0bb03ac370650a87cbb0
https://github.com/boxbackup/boxbackup/commit/b7c3db508fbba143b46e0bb03ac370650a87cbb0
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/common/Utils.cpp
M lib/common/Utils.h
Log Message:
-----------
Add GetTempDirPath() for portability
On Unix, check TEMP, TMP and TMPDIR, and if no env var is set, fall back to
/tmp. For some reason it's becoming increasingly common for Unixes not to set
TMP* to anything.
Commit: 9f5163624c623ec4a7961299cff17893f645fa9c
https://github.com/boxbackup/boxbackup/commit/9f5163624c623ec4a7961299cff17893f645fa9c
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M test/common/testcommon.cpp
Log Message:
-----------
Fix include ordering in testcommon.cpp
Commit: 1247085900c9f4392110c9f99ab88759bdd86243
https://github.com/boxbackup/boxbackup/commit/1247085900c9f4392110c9f99ab88759bdd86243
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M test/common/testcommon.cpp
Log Message:
-----------
Refactor testcommon to split into independent tests
Remove redundant NamedLock tests.
Commit: e59336b5e4757a3fbc5ad5cdc5b165272b14624a
https://github.com/boxbackup/boxbackup/commit/e59336b5e4757a3fbc5ad5cdc5b165272b14624a
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/common/Utils.cpp
M lib/common/Utils.h
M test/common/testcommon.cpp
Log Message:
-----------
Add force parameter to RemovePrefix and RemoveSuffix
Commit: ea8bb140c99da731e06290ffdcf12f7a0aaf111a
https://github.com/boxbackup/boxbackup/commit/ea8bb140c99da731e06290ffdcf12f7a0aaf111a
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/BackupCommands.cpp
M lib/backupstore/BackupStoreContext.cpp
M lib/backupstore/BackupStoreContext.h
Log Message:
-----------
Remove BackupStoreContext::ReceivedFinishCommand
Replace with CleanUp(). We don't need two methods that do almost the same
thing.
Commit: e2c33c4457e290bc043ac135cd7e0c9227a85387
https://github.com/boxbackup/boxbackup/commit/e2c33c4457e290bc043ac135cd7e0c9227a85387
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/BackupProtocol.h
M lib/backupstore/BackupStoreContext.cpp
M lib/backupstore/BackupStoreContext.h
M test/backupstore/testbackupstore.cpp
Log Message:
-----------
Refactor BackupStoreContext::GetBackupStoreInfo
Almost all access to mapStoreInfo is now via GetBackupStoreInfo(Internal), in
preparation for the refactor that will move the main copy of the
BackupStoreInfo to the BackupFileSystem instance instead.
Commit: 352f3d2c7f479e990c45dbb8c85905a634d28f6e
https://github.com/boxbackup/boxbackup/commit/352f3d2c7f479e990c45dbb8c85905a634d28f6e
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M infrastructure/cmake/CMakeLists.txt
M infrastructure/m4/boxbackup_tests.m4
M lib/backupstore/BackupStoreContext.cpp
Log Message:
-----------
Enable C++0x support
We need C++0x features enabled for "auto" to work, and using Boost properly
seems to require this. Use "auto" in a few places to prove that it works.
Commit: d2f7cff5ca0797823f212800e8886e7c808b527e
https://github.com/boxbackup/boxbackup/commit/d2f7cff5ca0797823f212800e8886e7c808b527e
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/BackupFileSystem.cpp
M lib/backupstore/BackupFileSystem.h
Log Message:
-----------
Refactor to create BackupFileSystem::GetBackupStoreInfo
Extract common code from filesystem-specific implementations, and rename them
to GetBackupStoreInfoInternal().
Commit: f5352e33065e92899afaffa574c1344ca8cb0d06
https://github.com/boxbackup/boxbackup/commit/f5352e33065e92899afaffa574c1344ca8cb0d06
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/BackupFileSystem.cpp
M lib/backupstore/BackupFileSystem.h
Log Message:
-----------
Refactor BackupFileSystem::GetLock()
Call subclass implementations of TryGetLock(), and throw an exception if we
fail to get a lock instead of returning false.
Commit: d10fbd8420384253a04b8e3babb50212b273286b
https://github.com/boxbackup/boxbackup/commit/d10fbd8420384253a04b8e3babb50212b273286b
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/common/Test.cpp
M lib/common/Utils.cpp
M lib/common/Utils.h
Log Message:
-----------
Refactor test code into process_is_running()
We need the ability to check whether a process is still running to check for
stale S3 account locks in SimpleDB, so move this code out of Test.cpp and into
Utils.cpp, for use outside of tests.
Commit: 407c594f87ed8bf26efaa1fd5fc9f4c3f311b1cf
https://github.com/boxbackup/boxbackup/commit/407c594f87ed8bf26efaa1fd5fc9f4c3f311b1cf
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/common/Test.cpp
M lib/common/Test.h
M lib/common/Utils.cpp
M lib/common/Utils.h
Log Message:
-----------
Implement compare_lists and test_equal_maps in lib/common/Test.cpp
Commit: 0a02e2b338ec67510d773758169165ce997ff125
https://github.com/boxbackup/boxbackup/commit/0a02e2b338ec67510d773758169165ce997ff125
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/HTTPQueryDecoder.cpp
M lib/httpserver/HTTPQueryDecoder.h
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add static method HTTPQueryDecoder::URLEncode
This will be needed for request parameter encoding and for SimpleDB.
Commit: f629990cf485bdb8d24fa94b534ad91134eeddc2
https://github.com/boxbackup/boxbackup/commit/f629990cf485bdb8d24fa94b534ad91134eeddc2
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/HTTPRequest.cpp
M lib/httpserver/HTTPRequest.h
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add query parameter editing and encoding to HTTPRequest
Commit: a8522430511d1883b4a3d16e650ba8988f19222d
https://github.com/boxbackup/boxbackup/commit/a8522430511d1883b4a3d16e650ba8988f19222d
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/S3Client.cpp
M lib/httpserver/S3Client.h
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add support for virtualhost names in S3Client
This is a precondition of support for both S3 and SimpleDB in the S3Simulator,
since otherwise we can't tell the requests apart.
Commit: 832bc288e4341fd29bce245687b42411c262ea06
https://github.com/boxbackup/boxbackup/commit/832bc288e4341fd29bce245687b42411c262ea06
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/HTTPException.txt
M lib/httpserver/S3Simulator.cpp
M lib/httpserver/S3Simulator.h
A lib/httpserver/SimpleDBClient.cpp
A lib/httpserver/SimpleDBClient.h
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add simulator and client for SimpleDB
This will be used to support reliable instant locking of S3 accounts.
Commit: 2c48caaedec53c66d7afc4623487521b439df658
https://github.com/boxbackup/boxbackup/commit/2c48caaedec53c66d7afc4623487521b439df658
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/S3Simulator.cpp
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add support for S3-compatible ETag headers to S3Simulator
Commit: cf369da1e2eebd4159a19bbdd61807037320c954
https://github.com/boxbackup/boxbackup/commit/cf369da1e2eebd4159a19bbdd61807037320c954
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/httpserver/S3Client.cpp
M lib/httpserver/S3Client.h
M lib/httpserver/S3Simulator.cpp
M lib/httpserver/S3Simulator.h
M modules.txt
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add support for If-None-Match header to S3Client and S3Simulator
This allows the client to only download a file if it doesn't match the one in
the local cache, which makes it possible to use the cache very efficiently.
Commit: f1b4e632fed52c02ab92390343ac48b9fa7fb70c
https://github.com/boxbackup/boxbackup/commit/f1b4e632fed52c02ab92390343ac48b9fa7fb70c
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M test/bbackupd/testbbackupd.cpp
Log Message:
-----------
Rename setup_test_bbackupd() in test/bbackupd
The name of this utility function was confusing with the SETUP_TEST_BBACKUPD
macro which served an entirely different purpose, so I renamed it to
prepare_test_with_client_daemon().
Commit: b3d782ebdc78cd4594ff0edd0b42768f729146c2
https://github.com/boxbackup/boxbackup/commit/b3d782ebdc78cd4594ff0edd0b42768f729146c2
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/BackupAccountControl.cpp
M lib/backupstore/BackupAccountControl.h
M lib/backupstore/BackupCommands.cpp
M lib/backupstore/BackupStoreContext.cpp
M lib/backupstore/BackupStoreContext.h
Log Message:
-----------
Make GetBlockSize() use BackupFileSystem
Refactor BackupAccountControl, BackupStoreContext and BackupCommands to call
BackupFileSystem to get the block size of the filesystem. It's a start.
Commit: 2f0f1d60c305b4cb2ed8f273cd159473760a501a
https://github.com/boxbackup/boxbackup/commit/2f0f1d60c305b4cb2ed8f273cd159473760a501a
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M lib/backupstore/StoreTestUtils.h
M lib/server/makeprotocol.pl.in
Log Message:
-----------
Protocol generator: record last error message received
Store this as a string (as well as the error code) so that we can report it to
the user, for example in test failure messages.
Compare: https://github.com/boxbackup/boxbackup/compare/30650b1c2603...2f0f1d60c305
More information about the Boxbackup-commit
mailing list