From 7e9a2468087bb03d9edfdf69b730b49600fecc35 Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Wed, 26 Dec 2018 14:12:51 +0200 Subject: [PATCH] Issue #3018483: Varbase 8.6.3: Update [CHANGELOG.md, UPDATE.md, drupal-org.make] files and filter the code for Drupal 8 Coding Standard --- CHANGELOG.md | 175 +++++++++++++++++++++++++++++++++++++++++++++++ README.md | 4 +- UPDATE.md | 50 ++++++++++++++ composer.json | 30 ++++---- drupal-org.make | 30 ++++---- varbase.info.yml | 2 +- 6 files changed, 258 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aae0ddde..2104ec4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,178 @@ +# 8.6.3 + +### Highlighted important changes since Varbase 8.6.2: + +Now you can install most Varbase components with any Drupal 8 site. Even if + installed with the Minimal or Standard profile. + +However, using them with Varbase distro and Vartheme theme gives you way much + more cool stuff! + +For an example of how to require them in Drupal 8 site you can have a look at + + [Varbase Media](https://www.drupal.org/project/varbase_media/issues/3017553) + + [Varbase Editor](https://www.drupal.org/project/varbase_editor/issues/3017550) + +* Issue [#3017555](https://www.drupal.org/node/3017555): + Changed [Varbase 8.6.x] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3020808](https://www.drupal.org/node/3020808): + Updated scripts settings for [Create new vartheme subtheme] + generator command to use Bootstrap library 3.4.0 +* [varbase-project] template: Added Varbase Updater for Managing Varbase updates + [#43](https://github.com/Vardot/varbase-project/issues/43) +* [varbase-project] template: Added composer-patches to repositories type vcs + for vardot/composer-patches repository + [#44](https://github.com/Vardot/varbase-project/issues/44) + As it will fix issues of deleting some modules which they do + have patches over them. it will work on composer require, + composer update as we have fixed issues with + [cweagans/composer-patches](https://github.com/cweagans/composer-patches/pull/243) + and more. but they still not merged yet, we went on the way + of managing our own + [vardot/composer-patches](https://github.com/Vardot/composer-patches/commits/master) + To follow with the latest work on this subject you could + have a look at our Varbase Project template file: + https://github.com/Vardot/varbase-project/blob/8.6.x/composer.json + +### Added since Varbase 8.6.2: +* Issue [#3021486](https://www.drupal.org/node/3021486): + Added [webform analysis and Webform Views Integration] + to [Varbase core] and enable in [Varbase Webform] with + install: not dependency: +* Issue [#3019580](https://www.drupal.org/node/3019580): + Added an on install permission for [Varbase Search] to grant + anonymous and authenticated users a permission to + [search content] and removed that from Varbase on install. +* [varbase-project] template: Added patch Level for drupal/core project + with -p2 level using composer-patches 1.6.5 + [#42](https://github.com/Vardot/varbase-project/issues/42) +* [varbase-project] template: Added Varbase Updater for Managing Varbase updates + [#43](https://github.com/Vardot/varbase-project/issues/43) +* [varbase-project] template: Added composer-patches to repositories type vcs + for vardot/composer-patches repository + [#44](https://github.com/Vardot/varbase-project/issues/44) + +### Changed since Varbase 8.6.2: +* Issue [#3017555](https://www.drupal.org/node/3017555): + Changed [Varbase 8.6.x] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017554](https://www.drupal.org/node/3017554): + Changed [Varbase Core] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017553](https://www.drupal.org/node/3017553): + Changed [Varbase Media] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017550](https://www.drupal.org/node/3017550): + Changed [Varbase Editor] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017502](https://www.drupal.org/node/3017502): + Changed [Varbase Blog (Corporate Blog)] composer.json to have + tilde Version Range (~) +* Issue [#3017512](https://www.drupal.org/node/3017512): + Changed [Varbase Bootstrap Paragraphs] Components + dependencies on install: enable or dependencies: enable of + modules in the .info.yml and composer.json to have tilde + Version Range (~) +* Issue [#3017517](https://www.drupal.org/node/3017517): + Changed [Varbase Landing] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017509](https://www.drupal.org/node/3017509): + Changed [Varbase Media Hero Slider] Components dependencies + on install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017507](https://www.drupal.org/node/3017507): + Changed [Varbase Carousels] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017499](https://www.drupal.org/node/3017499): + Changed [Varbase Social Single Sign-On] Components + dependencies on install: enable or dependencies: enable + of modules in the .info.yml and composer.json to + have tilde Version Range (~) + and added support for stark, bartik, bootstrap, with Vartheme +* Issue [#3017506](https://www.drupal.org/node/3017506): + Changed [Varbase Search] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017546](https://www.drupal.org/node/3017506): + Changed [Varbase SEO] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017498](https://www.drupal.org/node/3017498): + Changed [Varbase Styleguide] Components dependencies on + install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) +* Issue [#3017515](https://www.drupal.org/node/3017515): + Changed [Varbase Total Control Dashboard] Components + dependencies on install: enable or dependencies: enable of + modules in the .info.yml and composer.json to have tilde + Version Range (~) +* Issue [#3018004](https://www.drupal.org/node/3018004): + Changed [Vartheme] composer.json to have tilde Version + Range (~) +* Issue [#3018134](https://www.drupal.org/node/3018134): + Changed [Vartheme Admin] composer.json to have tilde Version + Range (~) +* Issue [#3017494](https://www.drupal.org/node/3017494): + Changed [Varbase FAQs] Components dependencies + on install: enable or dependencies: enable of modules in the + .info.yml and composer.json to have tilde Version Range (~) + +### Updates since Varbase 8.6.2: +* Issue [#3020808](https://www.drupal.org/node/3020808): + Updated scripts settings for [Create new vartheme subtheme] + generator command to use Bootstrap library 3.4.0 +* Issue [#3018483](https://www.drupal.org/node/3018483): + Varbase 8.6.3: Updated [CHANGELOG.md, UPDATE.md, + drupal-org.make] files and filtered the code for + Drupal 8 Coding Standard: +* Updated [Bootstrap] theme from 8.3.13 to 8.3.16 +* Updated [View Modes Inventory - Bootstrap Ready] module from 8.2.0 to 8.2.1 +* Updated [Configuration Update Manager] module from 8.1.5 to 8.1.6 +* Updated [Config Filter] module from 8.1.3 to 8.1.4 +* Updated [Display Suite] module from 8.3.1 to 8.3.2 +* Updated [Ace Code Editor] module from 8.1.0 to 8.1.1 +* Updated [Admin Toolbar] module from 8.1.24 to 8.1.25 +* Updated [Webform] module from 8.5.0-rc26 to 8.5.0 +* Updated [Real-time SEO for Drupal] module from 8.1.4 to 8.1.5 +* Updated [Search API] module from 8.1.10 to 8.1.11 +* Updated [Blazy] module from 8.1.0-rc3 to 8.1.0-rc4 +* Updated [Slick Carousel] module from 8.1.0 to 8.1.1 +* Updated [Slick Media] module from 8.2.0-alpha2 to 8.2.0-alpha3 +* Issue [#3019722](https://www.drupal.org/node/3019722): + Updated [Display Suite] module from 3.1 to ~3 +* Issue [#3022251](https://www.drupal.org/node/3022251): + Updated [Taxonomy Menu] module from 3.x-dev 1103ad0 3.4 + with a patch +* Issue [#3019721](https://www.drupal.org/node/3019721): + Updated [Slick Carousel] module from 1.0 to ~1.0 + +### Fixes since Varbase 8.x-6.2: +* Issue [#3019686](https://www.drupal.org/node/3019686): + Fixed issue of media image default view mode of linking the + default image to the file image. +* Issue [#3017493](https://www.drupal.org/node/3017493) + by [Muath Khraisat](https://www.drupal.org/u/muath-khraisat) + : Fixed the appearing of the image in the + entity browser widget. +* Issue [#3019107](https://www.drupal.org/node/3019107) + by [mohammad faqeh](https://www.drupal.org/u/mohammad-faqeh) + : [IE] fixed the height space under the + card image appeared on IE. +* Issue [#3012888](https://www.drupal.org/node/3012888) + by [mhawwari](https://www.drupal.org/u/malhawwari) + : Fixed Syntax Error In Card Component. + +-------------------------------------------------------------------------------- + # 8.6.2 ### Highlighted important changes since Varbase 8.6.1: diff --git a/README.md b/README.md index d879eae3..0c47e315 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[](https://travis-ci.org/Vardot/varbase/builds/452558602) Varbase 8.6.2 +[](https://travis-ci.org/Vardot/varbase/builds/472062485) Varbase 8.6.3 [](https://www.drupal.org/project/varbase) @@ -28,7 +28,7 @@ instructions. To install the most recent stable release of Varbase 8.6.x run this command: ``` -composer create-project Vardot/varbase-project:^8.6.2 PROJECT_DIR_NAME --no-dev --no-interaction +composer create-project Vardot/varbase-project:^8.6.3 PROJECT_DIR_NAME --no-dev --no-interaction ``` To install the dev version of Varbase 8.6.x run this command: diff --git a/UPDATE.md b/UPDATE.md index c190f174..dff532ab 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -7,6 +7,7 @@ For each stable release we will have some notes, and extra steps, developers need to do to update the last release to the new release. # For Example: +* https://www.drupal.org/project/varbase/releases/8.x-6.3 * https://www.drupal.org/project/varbase/releases/8.x-6.2 * https://www.drupal.org/project/varbase/releases/8.x-6.1 * https://www.drupal.org/project/varbase/releases/8.x-6.0 @@ -80,6 +81,55 @@ while working on the project. +-------------------------------------------------------------------------------- + +# Updating Varbase 8.6.2 to Varbase 8.6.3 + + +## Updating files with *Copy and Paste* for Varbase 8.6.2 to Varbase 8.6.3 +``` + Given that we are at the drupal root folder for varbase + When we delete all drupal core folders and files + And we copy all new Varbase files drupal root folder for varbase + And we make sure that we have all custom module or themes still in the + "sites" folder + And we make sure that all new used modules and features are present. + Then we will be ready to update the active config and database. +``` + +## Varbase Procedures to update the varbase base code. not in any varbase-project project builders. +``` + Given that we are at the root folder for varbase project, not the docroot + And we make sure that the current "Varbase-project" composer.json file and + files are the latest + When we delete the "composer.lock" file + And we delete the "vendor" folder + And we delete the "docroot/modules/contrib" folder + And we delete the "docroot/themes/contrib" folder + And we delete the "docroot/profiles/varbase" folder + And we delete the "docroot/libraries" folder + And we run the "composer require vardot/varbase:8.6.3" command + And wait for composer to finish work + Then we should not see any issues in the terminal + And we should see "Writing lock file" in the terminal + And we should see "Generating autoload files" in the terminal + When the composer finishes work without errors + Then we will be ready to update the active config and database. +``` + +## Updating the active config and database from Varbase 8.6.2 to Varbase 8.6.3 +``` + Given that we are in the docroot of the current Varbase project + And all files are updated using (copy and past) or (composer require/update + When we run drush "updb" or go to "/update.php" + Then we should see the steps of updates. + 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 + When we go to "/admin/config/development/features" + + Then we will have the Varbase site updated to the latest version. +``` + -------------------------------------------------------------------------------- # Updating Varbase 8.6.1 to Varbase 8.6.2 diff --git a/composer.json b/composer.json index adf4d1a8..4f3d6745 100644 --- a/composer.json +++ b/composer.json @@ -32,21 +32,21 @@ "cweagans/composer-patches": "~1", "drupal-composer/drupal-scaffold": "~2", "drupal/drupal-library-installer-plugin": "^0.3", - "drupal/varbase_core": "6.x-dev", - "drupal/varbase_media": "6.x-dev", - "drupal/varbase_bootstrap_paragraphs": "6.x-dev", - "drupal/varbase_editor": "6.x-dev", - "drupal/varbase_landing": "6.x-dev", - "drupal/varbase_search": "6.x-dev", - "drupal/varbase_seo": "6.x-dev", - "drupal/varbase_heroslider_media": "6.x-dev", - "drupal/varbase_carousels": "6.x-dev", - "drupal/varbase_total_control": "6.x-dev", - "drupal/varbase_auth" : "6.x-dev", - "drupal/varbase_blog" : "6.x-dev", - "drupal/varbase_styleguide": "6.x-dev", - "drupal/vartheme": "6.x-dev", - "drupal/vartheme_admin": "6.x-dev", + "drupal/varbase_core": "~6.0", + "drupal/varbase_media": "~6.0", + "drupal/varbase_bootstrap_paragraphs": "~6.0", + "drupal/varbase_editor": "~6.0", + "drupal/varbase_landing": "~6.0", + "drupal/varbase_search": "~6.0", + "drupal/varbase_seo": "~6.0", + "drupal/varbase_heroslider_media": "~6.0", + "drupal/varbase_carousels": "~6.0", + "drupal/varbase_total_control": "~6.0", + "drupal/varbase_auth": "~6.0", + "drupal/varbase_blog": "~6.0", + "drupal/varbase_styleguide": "~6.0", + "drupal/vartheme": "~6.0", + "drupal/vartheme_admin": "~6.0", "drupal/image_resize_filter": "1.x-dev#c3f4b23b02005859092aaff746b9f21b794adc58", "drupal/entity_clone": "1.x-dev#6d0ce053605e9aaf8412927a9b0ea8da7a9a06e5", "drupal/tour_builder": "1.x-dev#d70e898949b7ec4095efb391a0dbec56d0117558", diff --git a/drupal-org.make b/drupal-org.make index a42c2136..0c44efe6 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -488,53 +488,53 @@ projects[total_control][patch][] = https://www.drupal.org/files/issues/2935351-2 ;;;;;;;;;;;;;;;;;;;;; projects[varbase_core][type] = module -projects[varbase_core][version] = 6.x-dev +projects[varbase_core][version] = 6.3 projects[varbase_media][type] = module -projects[varbase_media][version] = 6.x-dev +projects[varbase_media][version] = 6.1 projects[varbase_bootstrap_paragraphs][type] = module -projects[varbase_bootstrap_paragraphs][version] = 6.x-dev +projects[varbase_bootstrap_paragraphs][version] = 6.2 projects[varbase_editor][type] = module -projects[varbase_editor][version] = 6.x-dev +projects[varbase_editor][version] = 6.1 projects[varbase_landing][type] = module -projects[varbase_landing][version] = 6.x-dev +projects[varbase_landing][version] = 6.1 projects[varbase_search][type] = module -projects[varbase_search][version] = 6.x-dev +projects[varbase_search][version] = 6.1 projects[varbase_seo][type] = module -projects[varbase_seo][version] = 6.x-dev +projects[varbase_seo][version] = 6.2 projects[varbase_heroslider_media][type] = module -projects[varbase_heroslider_media][version] = 6.x-dev +projects[varbase_heroslider_media][version] = 6.1 projects[varbase_carousels][type] = module -projects[varbase_carousels][version] = 6.x-dev +projects[varbase_carousels][version] = 6.1 projects[varbase_total_control][type] = module -projects[varbase_total_control][version] = 6.x-dev +projects[varbase_total_control][version] = 6.3 projects[varbase_auth][type] = module -projects[varbase_auth][version] = 6.x-dev +projects[varbase_auth][version] = 6.2 projects[varbase_blog][type] = module -projects[varbase_blog][version] = 6.x-dev +projects[varbase_blog][version] = 6.1 projects[varbase_styleguide][type] = module -projects[varbase_styleguide][version] = 6.x-dev +projects[varbase_styleguide][version] = 6.1 ;;;;;;;;;;;;;;;;;;;;; ;; Varbase public contributed themes. ;;;;;;;;;;;;;;;;;;;;; projects[vartheme][type] = theme -projects[vartheme][version] = 6.x-dev +projects[vartheme][version] = 6.2 projects[vartheme_admin][type] = theme -projects[vartheme_admin][version] = 6.x-dev +projects[vartheme_admin][version] = 6.2 ;;;;;;;;;;;;;;;;;;;;; ;; Libraries diff --git a/varbase.info.yml b/varbase.info.yml index a3a1b3ff..cdb9c1b4 100755 --- a/varbase.info.yml +++ b/varbase.info.yml @@ -6,7 +6,7 @@ distribution: name: Varbase install: theme: vartheme_admin -version: 8.x-6.x-dev +version: 8.x-6.3 install: - system - action -- GitLab