Closed steinmb closed 4 years ago
Moved composer.json and composer.lock into prod. and upgraded:
composer install --no-dev
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 76 installs, 5 updates, 0 removals
- Updating drupal/core-composer-scaffold (9.0.2 => 9.0.4): Checking out c017751a6b
- Updating drupal/core-project-message (9.0.2 => 9.0.4): Checking out fbb9d944f8
- Updating drupal/core (9.0.2 => 9.0.4): Checking out f6366e4a42
- Updating drupal/core-recommended (9.0.2 => 9.0.4)
- Installing symfony/dom-crawler (v4.4.13): Downloading (100%)
- Installing symfony/browser-kit (v4.4.13): Loading from cache
- Installing symfony/css-selector (v4.4.13): Downloading (100%)
- Installing behat/mink (v1.8.1): Loading from cache
- Installing behat/mink-browserkit-driver (v1.3.4): Loading from cache
- Installing composer/ca-bundle (1.2.8): Downloading (100%)
- Installing composer/spdx-licenses (1.5.4): Downloading (100%)
- Installing composer/xdebug-handler (1.4.3): Downloading (100%)
- Installing symfony/finder (v4.4.13): Downloading (100%)
- Installing dflydev/dot-access-data (v1.1.0): Loading from cache
- Installing consolidation/output-formatters (4.1.1): Loading from cache
- Installing consolidation/annotated-command (4.2.1): Downloading (100%)
- Installing consolidation/log (2.0.1): Loading from cache
- Installing symfony/filesystem (v4.4.13): Downloading (100%)
- Installing consolidation/self-update (1.2.0): Loading from cache
- Installing symfony/phpunit-bridge (v4.4.13): Downloading (100%)
- Installing symfony/lock (v4.4.13): Downloading (100%)
- Installing sebastian/version (2.0.1): Loading from cache
- Installing sebastian/type (1.1.3): Loading from cache
- Installing sebastian/resource-operations (2.0.1): Loading from cache
- Installing sebastian/recursion-context (3.0.0): Loading from cache
- Installing sebastian/object-reflector (1.1.1): Loading from cache
- Installing sebastian/object-enumerator (3.0.3): Loading from cache
- Installing sebastian/global-state (3.0.0): Loading from cache
- Installing sebastian/exporter (3.1.2): Loading from cache
- Installing sebastian/environment (4.2.3): Loading from cache
- Installing sebastian/diff (3.0.2): Loading from cache
- Installing sebastian/comparator (3.0.2): Loading from cache
- Installing phpunit/php-timer (2.1.2): Loading from cache
- Installing phpunit/php-text-template (1.2.1): Loading from cache
- Installing phpunit/php-file-iterator (2.0.2): Loading from cache
- Installing theseer/tokenizer (1.2.0): Downloading (100%)
- Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
- Installing phpunit/php-token-stream (3.1.1): Loading from cache
- Installing phpunit/php-code-coverage (7.0.10): Loading from cache
- Installing webmozart/assert (1.9.1): Downloading (100%)
- Installing phpdocumentor/reflection-common (2.2.0): Downloading (100%)
- Installing phpdocumentor/type-resolver (1.3.0): Downloading (100%)
- Installing phpdocumentor/reflection-docblock (5.2.1): Downloading (100%)
- Installing doctrine/instantiator (1.3.1): Loading from cache
- Installing phpspec/prophecy (1.11.1): Downloading (100%)
- Installing phar-io/version (2.0.1): Loading from cache
- Installing phar-io/manifest (1.0.3): Loading from cache
- Installing myclabs/deep-copy (1.10.1): Downloading (100%)
- Installing phpunit/phpunit (8.5.8): Loading from cache
- Installing mikey179/vfsstream (v1.6.8): Loading from cache
- Installing justinrainbow/json-schema (5.2.10): Loading from cache
- Installing easyrdf/easyrdf (0.9.1): Downloading (100%)
- Installing squizlabs/php_codesniffer (3.5.6): Downloading (100%)
- Installing drupal/coder (8.3.9): Cloning d51e0b8c65 from cache
- Installing seld/phar-utils (1.1.1): Downloading (100%)
- Installing seld/jsonlint (1.8.2): Downloading (100%)
- Installing composer/composer (1.10.10): Downloading (100%)
- Installing instaclick/php-webdriver (1.4.7): Loading from cache
- Installing behat/mink-selenium2-driver (v1.4.0): Loading from cache
- Installing fabpot/goutte (v3.3.0): Loading from cache
- Installing behat/mink-goutte-driver (v1.2.1): Loading from cache
- Installing drupal/core-dev (9.0.4)
- Installing drupal/inline_entity_form (1.0.0-rc7): Downloading (100%)
- Installing webmozart/path-util (2.3.0): Loading from cache
- Installing webflo/drupal-finder (1.2.0): Loading from cache
- Installing nikic/php-parser (v4.9.1): Downloading (100%)
- Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
- Installing psy/psysh (v0.10.4): Loading from cache
- Installing container-interop/container-interop (1.2.0): Loading from cache
- Installing league/container (2.4.1): Loading from cache
- Installing grasmash/yaml-expander (1.4.0): Loading from cache
- Installing grasmash/expander (1.0.0): Loading from cache
- Installing consolidation/config (1.2.1): Loading from cache
- Installing consolidation/site-alias (3.0.1): Loading from cache
- Installing consolidation/site-process (4.0.0): Loading from cache
- Installing consolidation/robo (2.1.0): Loading from cache
- Installing consolidation/filter-via-dot-access-data (1.0.0): Loading from cache
- Installing chi-teck/drupal-code-generator (1.32.1): Downloading (100%)
- Installing drush/drush (10.3.4): Downloading (100%)
- Installing steinmb/elmcip_person (1.0): Downloading (100%)
- Updating drupal/olivero dev-1.x (f7b9720 => 78edd82): Checking out 78edd82a00
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Generating autoload files
46 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
* Homepage: https://www.drupal.org/project/drupal
* Support:
* docs: https://www.drupal.org/docs/user_guide/en/index.html
* chat: https://www.drupal.org/node/314178
Scaffolding files for drupal/core:
- Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
Relocated and pushed from production config to:
git remote -v
origin git@github.com:smbjorklund/machinevision_config.git (fetch)
origin git@github.com:smbjorklund/machinevision_config.git (push)
Updated composer to reflect changes:
commit 986ffa7956af0f4a1a07ba64c6fe9e7dec33cae9 (HEAD -> master, origin/master)
Author: Stein Magne Bjorklund <steinmb@smbjorklund.com>
Date: Tue Sep 8 11:59:31 2020 +0200
Relocate repos and include D9 subtheme
Last be I needed. Now down to config only.
commit b6c6bbfea7e978594f2228daac7bcae041e59d47 (HEAD -> master, origin/master) Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Mon Oct 26 13:39:32 2020 +0100
New module config split
Issue 104 Allow dev to opt out from CM and avoid config
from leaking into prod.
diff --git a/composer.json b/composer.json index f9374af..b4b44f1 100644 --- a/composer.json +++ b/composer.json @@ -25,6 +25,7 @@ "require": { "composer/installers": "^1.2", "drupal/address": "^1.8",
Looks OK now. In prod. $config['config_split.config_split.config_dev']['status'] = FALSE;
use your settings.local.php to unable the dev. split with $config['config_split.config_split.config_dev']['status'] = TRUE;
This also changes local staging a little:
commit fb3ee88bd2bbdbcaa86df4a7ae7f0328ff5b84f3 (HEAD -> master, origin/master, origin/HEAD) Author: Stein Magne Bjorklund steinmb@smbjorklund.com Date: Mon Oct 26 14:31:52 2020 +0100
Default config dev split
Site into a more production work flow.
Scope of work
composer install --no-dev