Skip to content
Snippets Groups Projects
Commit 845054b4 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3018483: Varbase 8.6.3: Update [CHANGELOG.md, UPDATE.md,...

Issue #3018483: Varbase 8.6.3: Update [CHANGELOG.md, UPDATE.md, drupal-org.make] files and filter the code for Drupal 8 Coding Standard
parent 7e9a2468
No related branches found
No related tags found
No related merge requests found
...@@ -61,11 +61,24 @@ while working on the project. ...@@ -61,11 +61,24 @@ while working on the project.
``` ```
Given that you are logged in with the "webmaster" user Given that you are logged in with the "webmaster" user
And the "Features" module is enabled And the "Configuration Update Reports" module is enabled
And the "Features UI" module is enabled When you go to "/admin/config/development/configuration/report"
When you go to "admin/config/development/features" And from "Single module" you could select any Varbase component
Then you should not see any changed features in the Varbase core bundle. /admin/config/development/configuration/report/module/varbase_core
When you click on all "Changed" /admin/config/development/configuration/report/module/varbase_admin
/admin/config/development/configuration/report/module/varbase_media
/admin/config/development/configuration/report/module/varbase_development
/admin/config/development/configuration/report/module/varbase_editor
/admin/config/development/configuration/report/module/varbase_page
/admin/config/development/configuration/report/module/varbase_bootstrap_paragraphs
/admin/config/development/configuration/report/module/varbase_landing
/admin/config/development/configuration/report/module/varbase_blog
/admin/config/development/configuration/report/module/varbase_seo
/admin/config/development/configuration/report/module/varbase_security
/admin/config/development/configuration/report/module/varbase_search
/admin/config/development/configuration/report/module/varbase_auth
/admin/config/development/configuration/report/module/varbase_total_control
/admin/config/development/configuration/report/module/varbase_webform
Then you will be able to see all changes Then you will be able to see all changes
And you will be able to import new changes if you need them And you will be able to import new changes if you need them
``` ```
...@@ -125,9 +138,25 @@ while working on the project. ...@@ -125,9 +138,25 @@ while working on the project.
Then we should see the steps of updates. Then we should see the steps of updates.
When we run drush "updb" or go to "/update.php" again When we run drush "updb" or go to "/update.php" again
Then we will have the site update with the new Varbase 8.6.3 version Then we will have the site update with the new Varbase 8.6.3 version
When we go to "/admin/config/development/features" When you go to "/admin/config/development/configuration/report"
And from "Single module" you could select any Varbase component
Then we will have the Varbase site updated to the latest version. /admin/config/development/configuration/report/module/varbase_core
/admin/config/development/configuration/report/module/varbase_admin
/admin/config/development/configuration/report/module/varbase_media
/admin/config/development/configuration/report/module/varbase_development
/admin/config/development/configuration/report/module/varbase_editor
/admin/config/development/configuration/report/module/varbase_page
/admin/config/development/configuration/report/module/varbase_bootstrap_paragraphs
/admin/config/development/configuration/report/module/varbase_landing
/admin/config/development/configuration/report/module/varbase_blog
/admin/config/development/configuration/report/module/varbase_seo
/admin/config/development/configuration/report/module/varbase_security
/admin/config/development/configuration/report/module/varbase_search
/admin/config/development/configuration/report/module/varbase_auth
/admin/config/development/configuration/report/module/varbase_total_control
/admin/config/development/configuration/report/module/varbase_webform
Then you will be able to see all changes
So that you could select which change you would you like to update.
``` ```
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
......
...@@ -30,7 +30,7 @@ function varbase_install() { ...@@ -30,7 +30,7 @@ function varbase_install() {
$storage = new FileStorage($optional_install_path, StorageInterface::DEFAULT_COLLECTION); $storage = new FileStorage($optional_install_path, StorageInterface::DEFAULT_COLLECTION);
$config_installer->installOptionalConfig($storage, ''); $config_installer->installOptionalConfig($storage, '');
// Have the .settings.yml configs into the active config. // Have the .settings.yml configs into the active config.
$settings_config_files = file_scan_directory($optional_install_path, '/^.*\\(settings.yml)$/i'); $settings_config_files = file_scan_directory($optional_install_path, '/^.*(settings.yml)$/i');
if (isset($settings_config_files) && is_array($settings_config_files)) { if (isset($settings_config_files) && is_array($settings_config_files)) {
foreach ($settings_config_files as $settings_config_file) { foreach ($settings_config_files as $settings_config_file) {
$settings_config_file_content = file_get_contents(DRUPAL_ROOT . '/' . $settings_config_file->uri); $settings_config_file_content = file_get_contents(DRUPAL_ROOT . '/' . $settings_config_file->uri);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment