Sentai Digital
Sentai Digital
Getting Backdrop to store configuration in the database required the following changes: - Adding a `ConfigDatabaseStorage` object that mimics filesystem semantics (notably: ctime) - Adding a `ConfigStorageInterface::initializeStorage()` call to let...
Test are fixed by adding a new Bootstrap stage: `BACKDROP_BOOTSTRAP_DATABASE_EARLY`, which has all the database bootstrap code, minus the test prefix validation. The validation remains in the original `_backdrop_bootstrap_database()` function....
If the bootstrap upgrade works, I have no objections. > But overall, I think this is a great option to have, just as long as the default is the file...
This does not work: ``` php // Bootstrap the database if it is not yet available. if (!function_exists('db_query') || backdrop_get_bootstrap_phase() < BACKDROP_BOOTSTRAP_DATABASE) { backdrop_bootstrap(BACKDROP_BOOTSTRAP_DATABASE, FALSE); } } ``` But this...
The most recent `hook_update_N()` from #2222 revealed some issues in the update code. A couple patches addressing those issues are now here. The `exportArchive()` and new `importArchive()` member functions are...
@quicksketch if you have no objections, I'd like to move some of the changes here to the #2275, including any additions to `ConfigStorageInterface` and their implementation in `ConfigFileStorage`, including the...
Removed the API additions that are now in #2275 and cleaned up the patch to remove the reverted bootstrap changes. This should make the patch easier to review and do...
This PR doesn't mandate how developers or vendors should approach configuration management in Backdrop. It only provides an option to store configuration in a database instead of in flat files....
Quick datapoints: Test run of this PR using PHP 7 and file-based config: [Link](https://zen.ci/backdrop/backdrop/test/test-php70-backdrop_backdrop_1613-29cf745) run_tests.php takes 4m05s Test run of this PR using PHP 7 and db-based config: [Link](https://zen.ci/backdrop/backdrop/test/test-php70-backdrop_backdrop_1613-1b77db4) run_tests.php...
The patch currently uses `array_column()`, which doesn't exist before PHP 5.5. There is a compatibility function [here](https://github.com/ramsey/array_column/blob/master/src/array_column.php) under the MIT license. What is core's policy on including such files with...