Rebuilding preview: 68c2ac193189489312b2edd4 (mr256)68c2ac1aa3155d621504d782# sh -c mkdir -p $(dirname /var/lib/tugboat)68c2ac1aa3155d621504d782# git clone git@git.drupal.org:project/scheduler.git /var/lib/tugboatCloning into '/var/lib/tugboat'...
Warning: Permanently added 'git.drupal.org' (ED25519) to the list of known hosts.
68c2ac1aa3155d621504d782# bash -c git -C /var/lib/tugboat remote show origin && git -C /var/lib/tugboat remote set-url origin git@git.drupal.org:project/scheduler.git || git -C /var/lib/tugboat remote add origin git@git.drupal.org:project/scheduler.git* remote origin
Fetch URL: git@git.drupal.org:project/scheduler.git
Push URL: git@git.drupal.org:project/scheduler.git
HEAD branch: 2.x
Remote branches:
2.x tracked
4.4.x-1.x tracked
4.5.x-1.x tracked
4.6.x-1.x tracked
4.7.x-1.x tracked
5.x-1.x tracked
6.x-1.x tracked
7.x-1.x tracked
8.x-1.x tracked
Local branch configured for 'git pull':
2.x merges with remote 2.x
Local ref configured for 'git push':
2.x pushes to 2.x (up to date)
68c2ac1aa3155d621504d782# git -C /var/lib/tugboat fetch --no-recurse-submodules origin 2.xFrom git.drupal.org:project/scheduler
* branch 2.x -> FETCH_HEAD
68c2ac1aa3155d621504d782# git -C /var/lib/tugboat checkout origin/2.xNote: switching to 'origin/2.x'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at d8aa902 [#3514380] fix: Autoloading hooks in the file scheduler.tokens.inc is deprecated D11.2 By: jonathan1055
68c2ac1aa3155d621504d782# git -C /var/lib/tugboat pull --no-edit --rebase=false git@git.drupal.org:issue/scheduler-3546172.git 3546172-constraint-annotationFrom git.drupal.org:issue/scheduler-3546172
* branch 3546172-constraint-annotation -> FETCH_HEAD
Updating d8aa902..305aa0a
Fast-forward
.gitlab-ci.yml | 2 +-
src/Plugin/Validation/Constraint/SchedulerPublishOnConstraint.php | 7 +++++++
.../Constraint/SchedulerPublishOnConstraintValidator.php | 2 +-
.../Validation/Constraint/SchedulerUnpublishOnConstraint.php | 7 +++++++
.../Constraint/SchedulerUnpublishOnConstraintValidator.php | 2 +-
5 files changed, 17 insertions(+), 3 deletions(-)
Running INIT commands68c2ac1aa3155d621504d782# /bin/sh -c # Install the bcmath extension, required for commerce_product.
# Added > /dev/null because the commands print a huge amount to the log.
docker-php-ext-install bcmath > /dev/null
# JPEG support is not included by default, but it is needed when generating content.
docker-php-ext-configure gd --enable-gd --with-jpeg > /dev/null
docker-php-ext-install gd > /dev/null
+ strip --strip-all modules/bcmath.so
+ strip --strip-all modules/gd.so
warning: gd (gd.so) is already loaded!
Running UPDATE commands68c2ac1aa3155d621504d782# /bin/sh -c set -eux
# Check out a branch using the unique Tugboat ID for this repository, to
# ensure we don't clobber an existing branch.
git checkout -b $TUGBOAT_REPO_ID
# Composer is hungry. You need a Tugboat project with a pretty sizeable
# chunk of memory.
export COMPOSER_MEMORY_LIMIT=-1
# This is an environment variable we added in the Dockerfile that
# provides the path to Drupal composer root (not the web root).
cd $DRUPAL_COMPOSER_ROOT
# We configure the Drupal project to use the checkout of the module as a
# Composer package repository.
composer config repositories.tugboat vcs $TUGBOAT_ROOT
# Now we can require this module, specifying the branch name we created
# above that uses the $TUGBOAT_REPO_ID environment variable.
composer require drupal/scheduler:dev-$TUGBOAT_REPO_ID
# Install Drupal on the site.
vendor/bin/drush \
--yes \
--db-url=mysql://tugboat:tugboat@mysql:3306/tugboat \
--site-name="Scheduler ${TUGBOAT_PREVIEW_NAME}" \
--account-pass=admin \
site:install standard
# Add the trusted host pattern for tugboat previews.
echo "\$settings['trusted_host_patterns'] = ['\.tugboatqa\.com\$'];" >> $DOCROOT/sites/default/settings.php
# Show site status and GD image support status.
vendor/bin/drush status-report
vendor/bin/drush php:eval 'phpinfo()' | grep GD
vendor/bin/drush php:eval 'print "imagepng() " . (function_exists("imagepng") ? "--yes\n" : "--no\n"); '
vendor/bin/drush php:eval 'print "imagejpeg() " . (function_exists("imagejpeg") ? "--yes\n" : "--no\n"); '
vendor/bin/drush php:eval 'print_r(gd_info());'
# Commerce 2.29 needs inline_entity_form which does not have a stable
# version as at March 2022. Therefore get that package here allowing RC
# to avoid the "does not match your minimum-stability" problem.
composer require drupal/inline_entity_form ^1.0@RC
composer require drupal/commerce
# Get config_update specifying 2 because the latest stable release is 1.7 which is only compatible up to D9.
composer require drupal/config_update:^2@alpha
# Get other useful modules.
composer require drupal/devel_generate drupal/module_filter drupal/admin_toolbar
# Set up the files directory permissions.
mkdir -p $DRUPAL_DOCROOT/sites/default/files
chgrp -R www-data $DRUPAL_DOCROOT/sites/default/files
chmod 2775 $DRUPAL_DOCROOT/sites/default/files
chmod -R g+w $DRUPAL_DOCROOT/sites/default/files
# Enable modules.
vendor/bin/drush --yes pm:enable scheduler devel devel_generate module_filter admin_toolbar media commerce_product taxonomy config_update_ui
# Show versions.
composer show drupal/scheduler | egrep 'name |vers'
vendor/bin/drush pml | grep scheduler
composer show drupal/devel | egrep 'name |vers'
vendor/bin/drush pml | grep devel
# Add some more items to the Devel toolbar. The default is 7 items, stored as 0 - 6, so new items start 7. These items
# are already available in the devel toolbar 'config' but adding them here is equivalent to ticking the checkbox.
vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.7 devel_generate.generate2
vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.8 devel.configs_list
vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.9 devel.switch_user
vendor/bin/drush config-get devel.toolbar.settings
# Site settings
vendor/bin/drush -y config-set system.date timezone.default Europe/London
# Scheduler general settings.
vendor/bin/drush -y config-set scheduler.settings allow_date_only 1
vendor/bin/drush -y config-set scheduler.settings default_time '22:06:00'
vendor/bin/drush config-get scheduler.settings
# Scheduler content settings.
vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.publish_enable 1
vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.unpublish_enable 1
vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.expand_fieldset 'always'
vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.fields_display_mode 'fieldset'
vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.publish_past_date 'schedule'
vendor/bin/drush config-get node.type.article third_party_settings
# Scheduler media settings.
vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.publish_enable 1
vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.unpublish_enable 1
vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.expand_fieldset 'always'
vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.fields_display_mode 'fieldset'
vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.publish_past_date 'schedule'
vendor/bin/drush config-get media.type.image third_party_settings
# Scheduler commerce product settings.
vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.publish_enable 1
vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.unpublish_enable 1
vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.publish_past_date 'schedule'
vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.expand_fieldset 'always'
vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.fields_display_mode 'fieldset'
vendor/bin/drush config-get commerce_product.commerce_product_type.default third_party_settings
# Scheduler taxonomy settings.
vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.publish_enable 1
vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.unpublish_enable 1
vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.publish_past_date 'schedule'
vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.expand_fieldset 'always'
vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.fields_display_mode 'fieldset'
vendor/bin/drush config-get taxonomy.vocabulary.tags third_party_settings
# Media settings.
vendor/bin/drush -y config-set media.settings standalone_url 1
vendor/bin/drush config-get media.settings
vendor/bin/drush -y config-set field.field.media.image.field_media_image required 0
vendor/bin/drush config-get field.field.media.image.field_media_image
# Create and update roles for scheduler permissions. We can re-use the pre-existing content_editor role.
vendor/bin/drush role-add-perm 'content_editor' 'schedule publishing of nodes'
vendor/bin/drush role-create 'content_viewer' 'Content viewer'
vendor/bin/drush role-add-perm 'content_viewer' 'view scheduled content'
vendor/bin/drush role-create 'media_editor' 'Media editor'
vendor/bin/drush role-add-perm 'media_editor' 'schedule publishing of media'
vendor/bin/drush role-create 'media_viewer' 'Media viewer'
vendor/bin/drush role-add-perm 'media_viewer' 'view scheduled media'
vendor/bin/drush role-create 'product_editor' 'Product editor'
vendor/bin/drush role-add-perm 'product_editor' 'schedule publishing of commerce_product'
vendor/bin/drush role-create 'product_viewer' 'Product viewer'
vendor/bin/drush role-add-perm 'product_viewer' 'view scheduled commerce_product'
vendor/bin/drush role-create 'term_editor' 'Taxonomy editor'
vendor/bin/drush role-add-perm 'term_editor' 'schedule publishing of taxonomy_term'
vendor/bin/drush role-create 'term_viewer' 'Taxonomy viewer'
vendor/bin/drush role-add-perm 'term_viewer' 'view scheduled taxonomy_term'
# Add some permissions for all authenticated users.
vendor/bin/drush role-add-perm 'authenticated' \
"switch users, access toolbar, access administration pages, access devel information"
vendor/bin/drush role-add-perm 'authenticated' \
"create article content, edit any article content, delete any article content, view own unpublished content, access content overview"
vendor/bin/drush role-add-perm 'authenticated' \
"create media, update any media, delete any media, view own unpublished media, access media overview"
vendor/bin/drush role-add-perm 'authenticated' \
"create default commerce_product, update any default commerce_product, delete any default commerce_product, \
view own unpublished commerce_product, administer commerce_store, access commerce_product overview"
vendor/bin/drush role-add-perm 'authenticated' \
"create terms in tags, delete terms in tags, edit terms in tags, access taxonomy overview"
# Create users and give them roles.
vendor/bin/drush user-create 'Eddy content editor'
vendor/bin/drush user-add-role 'content_editor' 'Eddy content editor'
vendor/bin/drush user-create 'Vera content viewer'
vendor/bin/drush user-add-role 'content_viewer' 'Vera content viewer'
vendor/bin/drush user-create 'Madeline media editor'
vendor/bin/drush user-add-role 'media_editor' 'Madeline media editor'
vendor/bin/drush user-create 'Marvin media viewer'
vendor/bin/drush user-add-role 'media_viewer' 'Marvin media viewer'
vendor/bin/drush user-create 'Prodigy product editor'
vendor/bin/drush user-add-role 'product_editor' 'Prodigy product editor'
vendor/bin/drush user-create 'Proctor product viewer'
vendor/bin/drush user-add-role 'product_viewer' 'Proctor product viewer'
vendor/bin/drush user-create 'Terra term editor'
vendor/bin/drush user-add-role 'term_editor' 'Terra term editor'
vendor/bin/drush user-create 'Tevet term viewer'
vendor/bin/drush user-add-role 'term_viewer' 'Tevet term viewer'
# Generate content for bundles that have scheduling enabled.
vendor/bin/drush devel-generate-terms 3 --bundles=tags
vendor/bin/drush devel-generate-content 3 --bundles=article --authors=1,2,3
# Note: The --authors option does not exist in devel-generate-media
vendor/bin/drush devel-generate-media 3 --media-types=image
# Update form displays to match the entity type settings.
vendor/bin/drush ev "\Drupal::service('scheduler.manager')->resetFormDisplayFields()"
# @todo Place the 'Switch users' block in first sidebar.
# @todo Add 'content overview' and 'media overview' to tools menu.
# @todo Create a store for products. Then create some products.
+ git checkout -b 6064c09f437dd1ae15fb32bf
Switched to a new branch '6064c09f437dd1ae15fb32bf'
+ export COMPOSER_MEMORY_LIMIT=-1
+ cd /var/www/drupal
+ composer config repositories.tugboat vcs /var/lib/tugboat
+ composer require drupal/scheduler:dev-6064c09f437dd1ae15fb32bf
./composer.json has been updated
Running composer update drupal/scheduler
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/scheduler (dev-6064c09f437dd1ae15fb32bf 305aa0a)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing drupal/scheduler (dev-6064c09f437dd1ae15fb32bf 305aa0a): Cloning 305aa0ae98
Generating autoload files
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ vendor/bin/drush --yes --db-url=mysql://tugboat:tugboat@mysql:3306/tugboat --site-name=Scheduler 3546172-constraint-annotation --account-pass=admin site:install standard
You are about to:
* Create a sites/default/settings.php file
* DROP all tables in your 'tugboat' database.
// Do you want to continue?: yes.
[notice] Starting Drupal installation. This takes a while.
[notice] Performed install task: install_select_language
[notice] Performed install task: install_select_profile
[notice] Performed install task: install_load_profile
[notice] Performed install task: install_verify_requirements
[notice] Performed install task: install_settings_form
[notice] Performed install task: install_verify_database_ready
[notice] Performed install task: install_base_system
[notice] Performed install task: install_bootstrap_full
[notice] Performed install task: install_profile_modules
[notice] Performed install task: install_profile_themes
[notice] Performed install task: install_install_profile
[notice] Performed install task: install_configure_form
[notice] Performed install task: install_finished
[success] Installation complete.
+ echo $settings['trusted_host_patterns'] = ['\.tugboatqa\.com$'];
+ vendor/bin/drush status-report
------------------ ---------- ------------------------------------
Title Severity Summary
------------------ ---------- ------------------------------------
Configuration Info Protected
files
Cron maintenance Info Last run 8 seconds ago
tasks
Database OK Available
support for
JSON
Database system Info MariaDB
Database system Info 12.0.2-MariaDB-ubu2404
version
Drupal Info 10.5.0-beta1
Entity/field Info Up to date
definitions
File system Info Writable (/public/ download
method)
Upload progress Info Not enabled
Image toolkit Info gd
GD Warning bundled (2.1.0
library compatible)
Transaction OK READ-COMMITTED
isolation
level
Node Access Info Disabled
Permissions
PHP Info 8.1.32 (more information [1])
[1]
http://default/admin/reports/statu
s/php
PHP extensions Info Enabled
PHP memory limit Info 128M
PHP OPcode Info Enabled
caching
Random number Info Successful
generation
Search index Info 0% (85 remaining)
progress
Trusted Host Info Enabled
Settings
Database updates Info Up to date
Access to Info Protected
update.php
Update Info Enabled
notifications
Drupal Warning No update data available
core update
status
Web server Info
------------------ ---------- ------------------------------------
+ vendor/bin/drush php:eval phpinfo()
+ grep GD
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
GD imaging => Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger, Mark Randall
+ vendor/bin/drush php:eval print "imagepng() " . (function_exists("imagepng") ? "--yes\n" : "--no\n");
imagepng() --yes
+ vendor/bin/drush php:eval print "imagejpeg() " . (function_exists("imagejpeg") ? "--yes\n" : "--no\n");
imagejpeg() --yes
+ vendor/bin/drush php:eval print_r(gd_info());
Array
(
[GD Version] => bundled (2.1.0 compatible)
[FreeType Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPEG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[WebP Support] =>
[BMP Support] => 1
[AVIF Support] =>
[TGA Read Support] => 1
[JIS-mapped Japanese Font Support] =>
)
+ composer require drupal/inline_entity_form ^1.0@RC
./composer.json has been updated
Running composer update drupal/inline_entity_form
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/inline_entity_form (1.0.0-rc17)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/inline_entity_form (1.0.0-rc17)
- Installing drupal/inline_entity_form (1.0.0-rc17): Extracting archive
Generating autoload files
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ composer require drupal/commerce
./composer.json has been updated
Running composer update drupal/commerce
Loading composer repositories with package information
Updating dependencies
Lock file operations: 11 installs, 0 updates, 0 removals
- Locking commerceguys/addressing (v2.2.4)
- Locking commerceguys/intl (v2.0.7)
- Locking doctrine/collections (2.3.0)
- Locking drupal/address (2.0.4)
- Locking drupal/commerce (3.2.0)
- Locking drupal/entity (1.6.0)
- Locking drupal/entity_reference_revisions (1.12.0)
- Locking drupal/profile (1.12.0)
- Locking drupal/state_machine (1.13.0)
- Locking drupal/token (1.16.0)
- Locking symfony/polyfill-php84 (v1.33.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 11 installs, 0 updates, 0 removals
- Downloading symfony/polyfill-php84 (v1.33.0)
- Downloading doctrine/collections (2.3.0)
- Downloading commerceguys/addressing (v2.2.4)
- Downloading drupal/token (1.16.0)
- Downloading drupal/state_machine (1.13.0)
- Downloading drupal/entity (1.6.0)
- Downloading drupal/profile (1.12.0)
- Downloading drupal/entity_reference_revisions (1.12.0)
- Downloading drupal/address (2.0.4)
- Downloading commerceguys/intl (v2.0.7)
- Downloading drupal/commerce (3.2.0)
0/11 [>---------------------------] 0%
4/11 [==========>-----------------] 36%
5/11 [============>---------------] 45%
9/11 [======================>-----] 81%
11/11 [============================] 100%
- Installing symfony/polyfill-php84 (v1.33.0): Extracting archive
- Installing doctrine/collections (2.3.0): Extracting archive
- Installing commerceguys/addressing (v2.2.4): Extracting archive
- Installing drupal/token (1.16.0): Extracting archive
- Installing drupal/state_machine (1.13.0): Extracting archive
- Installing drupal/entity (1.6.0): Extracting archive
- Installing drupal/profile (1.12.0): Extracting archive
- Installing drupal/entity_reference_revisions (1.12.0): Extracting archive
- Installing drupal/address (2.0.4): Extracting archive
- Installing commerceguys/intl (v2.0.7): Extracting archive
- Installing drupal/commerce (3.2.0): Extracting archive
0/11 [>---------------------------] 0%
7/11 [=================>----------] 63%
10/11 [=========================>--] 90%
11/11 [============================] 100%
Generating autoload files
44 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^3.2 for drupal/commerce
+ composer require drupal/config_update:^2@alpha
./composer.json has been updated
Running composer update drupal/config_update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/config_update (2.0.0-alpha4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/config_update (2.0.0-alpha4)
- Installing drupal/config_update (2.0.0-alpha4): Extracting archive
Generating autoload files
44 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ composer require drupal/devel_generate drupal/module_filter drupal/admin_toolbar
./composer.json has been updated
Running composer update drupal/devel_generate drupal/module_filter drupal/admin_toolbar
Loading composer repositories with package information
Updating dependencies
Lock file operations: 10 installs, 0 updates, 0 removals
- Locking doctrine/common (3.5.0)
- Locking doctrine/event-manager (2.0.1)
- Locking doctrine/persistence (4.1.0)
- Locking drupal/admin_toolbar (3.6.2)
- Locking drupal/devel (5.4.0)
- Locking drupal/devel_generate (5.4.0)
- Locking drupal/jquery_ui (1.7.0)
- Locking drupal/jquery_ui_autocomplete (2.1.0)
- Locking drupal/jquery_ui_menu (2.1.0)
- Locking drupal/module_filter (5.0.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals
- Downloading doctrine/event-manager (2.0.1)
- Downloading doctrine/persistence (4.1.0)
- Downloading doctrine/common (3.5.0)
- Downloading drupal/admin_toolbar (3.6.2)
- Downloading drupal/devel (5.4.0)
- Downloading drupal/jquery_ui (1.7.0)
- Downloading drupal/jquery_ui_menu (2.1.0)
- Downloading drupal/jquery_ui_autocomplete (2.1.0)
- Downloading drupal/module_filter (5.0.4)
0/9 [>---------------------------] 0%
1/9 [===>------------------------] 11%
9/9 [============================] 100%
- Installing doctrine/event-manager (2.0.1): Extracting archive
- Installing doctrine/persistence (4.1.0): Extracting archive
- Installing doctrine/common (3.5.0): Extracting archive
- Installing drupal/admin_toolbar (3.6.2): Extracting archive
- Installing drupal/devel (5.4.0): Extracting archive
- Installing drupal/devel_generate (5.4.0)
- Installing drupal/jquery_ui (1.7.0): Extracting archive
- Installing drupal/jquery_ui_menu (2.1.0): Extracting archive
- Installing drupal/jquery_ui_autocomplete (2.1.0): Extracting archive
- Installing drupal/module_filter (5.0.4): Extracting archive
0/9 [>---------------------------] 0%
8/9 [========================>---] 88%
9/9 [============================] 100%
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
47 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^5.4 for drupal/devel_generate
Using version ^5.0 for drupal/module_filter
Using version ^3.6 for drupal/admin_toolbar
+ mkdir -p /var/www/drupal/web/sites/default/files
+ chgrp -R www-data /var/www/drupal/web/sites/default/files
+ chmod 2775 /var/www/drupal/web/sites/default/files
+ chmod -R g+w /var/www/drupal/web/sites/default/files
+ vendor/bin/drush --yes pm:enable scheduler devel devel_generate module_filter admin_toolbar media commerce_product taxonomy config_update_ui
The following module(s) will be enabled: scheduler, devel, devel_generate, module_filter, admin_toolbar, media, commerce_product, config_update_ui, jquery_ui_autocomplete, jquery_ui, jquery_ui_menu, commerce, address, entity, inline_entity_form, token, commerce_price, commerce_store, config_update
// Do you want to continue?: yes.
[success] Successfully enabled: scheduler, devel, devel_generate, module_filter, admin_toolbar, media, commerce_product, config_update_ui, jquery_ui_autocomplete, jquery_ui, jquery_ui_menu, commerce, address, entity, inline_entity_form, token, commerce_price, commerce_store, config_update
+ composer show drupal/scheduler
+ egrep name |vers
name : drupal/scheduler
versions : * dev-6064c09f437dd1ae15fb32bf
+ + grep scheduler
vendor/bin/drush pml
Other Scheduler (scheduler) Enabled
(scheduler_rules_integration
+ + egrep name |vers
composer show drupal/devel
name : drupal/devel
versions : * 5.4.0
+ vendor/bin/drush pml
+ grep devel
Development Devel (devel) Enabled 5.4.0
(devel_generate)
+ vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.7 devel_generate.generate2
// toolbar_items.7 key does not exist in devel.toolbar.settings config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.8 devel.configs_list
// toolbar_items.8 key does not exist in devel.toolbar.settings config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush -y config-set devel.toolbar.settings toolbar_items.9 devel.switch_user
// toolbar_items.9 key does not exist in devel.toolbar.settings config. Do you
// want to create a new config key?: yes.
+ vendor/bin/drush config-get devel.toolbar.settings
_core:
default_config_hash: IQjf_ytthngZTAk_MU8-74VecArWD3G5g0oEH6PM6GA
toolbar_items:
- devel.admin_settings_link
- devel.cache_clear
- devel.container_info.service
- devel.menu_rebuild
- devel.reinstall
- devel.route_info
- devel.run_cron
- devel_generate.generate2
- devel.configs_list
- devel.switch_user
+ vendor/bin/drush -y config-set system.date timezone.default Europe/London
// Do you want to update timezone.default key in system.date config?: yes.
+ vendor/bin/drush -y config-set scheduler.settings allow_date_only 1
// Do you want to update allow_date_only key in scheduler.settings config?:
// yes.
+ vendor/bin/drush -y config-set scheduler.settings default_time 22:06:00
// Do you want to update default_time key in scheduler.settings config?: yes.
+ vendor/bin/drush config-get scheduler.settings
_core:
default_config_hash: VqUsneoJH-SyLwVUYSLEw9_z3KN-9gNt6XI6777swwc
allow_date_only: true
date_format: 'Y-m-d H:i:s'
date_letters: djmnFMyY
date_only_format: Y-m-d
default_expand_fieldset: when_required
default_fields_display_mode: vertical_tab
default_publish_enable: false
default_publish_past_date: error
default_publish_past_date_created: false
default_publish_required: false
default_publish_revision: false
default_publish_touch: false
default_show_message_after_update: true
default_time: '22:06:00'
default_unpublish_enable: false
default_unpublish_required: false
default_unpublish_revision: false
hide_seconds: false
log: true
time_letters: hHgGisaA
time_only_format: 'H:i:s'
+ vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.publish_enable 1
// third_party_settings.scheduler.publish_enable key does not exist in
// node.type.article config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.unpublish_enable 1
// third_party_settings.scheduler.unpublish_enable key does not exist in
// node.type.article config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.expand_fieldset always
// third_party_settings.scheduler.expand_fieldset key does not exist in
// node.type.article config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.fields_display_mode fieldset
// third_party_settings.scheduler.fields_display_mode key does not exist in
// node.type.article config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set node.type.article third_party_settings.scheduler.publish_past_date schedule
// third_party_settings.scheduler.publish_past_date key does not exist in
// node.type.article config. Do you want to create a new config key?: yes.
+ vendor/bin/drush config-get node.type.article third_party_settings
'node.type.article:third_party_settings':
scheduler:
expand_fieldset: always
fields_display_mode: fieldset
publish_enable: true
publish_past_date: schedule
unpublish_enable: true
+ vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.publish_enable 1
// third_party_settings.scheduler.publish_enable key does not exist in
// media.type.image config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.unpublish_enable 1
// third_party_settings.scheduler.unpublish_enable key does not exist in
// media.type.image config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.expand_fieldset always
// third_party_settings.scheduler.expand_fieldset key does not exist in
// media.type.image config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.fields_display_mode fieldset
// third_party_settings.scheduler.fields_display_mode key does not exist in
// media.type.image config. Do you want to create a new config key?: yes.
+ vendor/bin/drush -y config-set media.type.image third_party_settings.scheduler.publish_past_date schedule
// third_party_settings.scheduler.publish_past_date key does not exist in
// media.type.image config. Do you want to create a new config key?: yes.
+ vendor/bin/drush config-get media.type.image third_party_settings
'media.type.image:third_party_settings':
scheduler:
expand_fieldset: always
fields_display_mode: fieldset
publish_enable: true
publish_past_date: schedule
unpublish_enable: true
+ vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.publish_enable 1
// third_party_settings.scheduler.publish_enable key does not exist in
// commerce_product.commerce_product_type.default config. Do you want to create
// a new config key?: yes.
+ vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.unpublish_enable 1
// third_party_settings.scheduler.unpublish_enable key does not exist in
// commerce_product.commerce_product_type.default config. Do you want to create
// a new config key?: yes.
+ vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.publish_past_date schedule
// third_party_settings.scheduler.publish_past_date key does not exist in
// commerce_product.commerce_product_type.default config. Do you want to create
// a new config key?: yes.
+ vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.expand_fieldset always
// third_party_settings.scheduler.expand_fieldset key does not exist in
// commerce_product.commerce_product_type.default config. Do you want to create
// a new config key?: yes.
+ vendor/bin/drush -y config-set commerce_product.commerce_product_type.default third_party_settings.scheduler.fields_display_mode fieldset
// third_party_settings.scheduler.fields_display_mode key does not exist in
// commerce_product.commerce_product_type.default config. Do you want to create
// a new config key?: yes.
+ vendor/bin/drush config-get commerce_product.commerce_product_type.default third_party_settings
'commerce_product.commerce_product_type.default:third_party_settings':
scheduler:
expand_fieldset: always
fields_display_mode: fieldset
publish_enable: true
publish_past_date: schedule
unpublish_enable: true
+ vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.publish_enable 1
// third_party_settings.scheduler.publish_enable key does not exist in
// taxonomy.vocabulary.tags config. Do you want to create a new config key?:
// yes.
+ vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.unpublish_enable 1
// third_party_settings.scheduler.unpublish_enable key does not exist in
// taxonomy.vocabulary.tags config. Do you want to create a new config key?:
// yes.
+ vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.publish_past_date schedule
// third_party_settings.scheduler.publish_past_date key does not exist in
// taxonomy.vocabulary.tags config. Do you want to create a new config key?:
// yes.
+ vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.expand_fieldset always
// third_party_settings.scheduler.expand_fieldset key does not exist in
// taxonomy.vocabulary.tags config. Do you want to create a new config key?:
// yes.
+ vendor/bin/drush -y config-set taxonomy.vocabulary.tags third_party_settings.scheduler.fields_display_mode fieldset
// third_party_settings.scheduler.fields_display_mode key does not exist in
// taxonomy.vocabulary.tags config. Do you want to create a new config key?:
// yes.
+ vendor/bin/drush config-get taxonomy.vocabulary.tags third_party_settings
'taxonomy.vocabulary.tags:third_party_settings':
scheduler:
expand_fieldset: always
fields_display_mode: fieldset
publish_enable: true
publish_past_date: schedule
unpublish_enable: true
+ vendor/bin/drush -y config-set media.settings standalone_url 1
// Do you want to update standalone_url key in media.settings config?: yes.
+ vendor/bin/drush config-get media.settings
_core:
default_config_hash: WCFqLQAxMw1weToDJEhfnW1Z-iOF7cqMdL8X7YTFxBA
icon_base_uri: 'public://media-icons/generic'
iframe_domain: null
oembed_providers_url: 'https://oembed.com/providers.json'
standalone_url: true
+ vendor/bin/drush -y config-set field.field.media.image.field_media_image required 0
// Do you want to update required key in
// field.field.media.image.field_media_image config?: yes.
+ vendor/bin/drush config-get field.field.media.image.field_media_image
uuid: adf40640-504d-49a2-a867-ebf8276c1557
langcode: en
status: true
dependencies:
config:
- field.storage.media.field_media_image
- media.type.image
module:
- image
enforced:
module:
- media
_core:
default_config_hash: P7CkVOgjDXiN26Fm2hniNei-XPK3iuZTlcBGqreTbJ0
id: media.image.field_media_image
field_name: field_media_image
entity_type: media
bundle: image
label: Image
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: null
alt: ''
title: ''
width: null
height: null
field_type: image
+ vendor/bin/drush role-add-perm content_editor schedule publishing of nodes
[success] Added "schedule publishing of nodes" to "content_editor"
+ vendor/bin/drush role-create content_viewer Content viewer
[success] Created "content_viewer"
+ vendor/bin/drush role-add-perm content_viewer view scheduled content
[success] Added "view scheduled content" to "content_viewer"
+ vendor/bin/drush role-create media_editor Media editor
[success] Created "media_editor"
+ vendor/bin/drush role-add-perm media_editor schedule publishing of media
[success] Added "schedule publishing of media" to "media_editor"
+ vendor/bin/drush role-create media_viewer Media viewer
[success] Created "media_viewer"
+ vendor/bin/drush role-add-perm media_viewer view scheduled media
[success] Added "view scheduled media" to "media_viewer"
+ vendor/bin/drush role-create product_editor Product editor
[success] Created "product_editor"
+ vendor/bin/drush role-add-perm product_editor schedule publishing of commerce_product
[success] Added "schedule publishing of commerce_product" to "product_editor"
+ vendor/bin/drush role-create product_viewer Product viewer
[success] Created "product_viewer"
+ vendor/bin/drush role-add-perm product_viewer view scheduled commerce_product
[success] Added "view scheduled commerce_product" to "product_viewer"
+ vendor/bin/drush role-create term_editor Taxonomy editor
[success] Created "term_editor"
+ vendor/bin/drush role-add-perm term_editor schedule publishing of taxonomy_term
[success] Added "schedule publishing of taxonomy_term" to "term_editor"
+ vendor/bin/drush role-create term_viewer Taxonomy viewer
[success] Created "term_viewer"
+ vendor/bin/drush role-add-perm term_viewer view scheduled taxonomy_term
[success] Added "view scheduled taxonomy_term" to "term_viewer"
+ vendor/bin/drush role-add-perm authenticated switch users, access toolbar, access administration pages, access devel information
[success] Added "switch users, access toolbar, access administration pages, access devel information" to "authenticated"
+ vendor/bin/drush role-add-perm authenticated create article content, edit any article content, delete any article content, view own unpublished content, access content overview
[success] Added "create article content, edit any article content, delete any article content, view own unpublished content, access content overview" to "authenticated"
+ vendor/bin/drush role-add-perm authenticated create media, update any media, delete any media, view own unpublished media, access media overview
[success] Added "create media, update any media, delete any media, view own unpublished media, access media overview" to "authenticated"
+ vendor/bin/drush role-add-perm authenticated create default commerce_product, update any default commerce_product, delete any default commerce_product, view own unpublished commerce_product, administer commerce_store, access commerce_product overview
[success] Added "create default commerce_product, update any default commerce_product, delete any default commerce_product, view own unpublished commerce_product, administer commerce_store, access commerce_product overview" to "authenticated"
+ vendor/bin/drush role-add-perm authenticated create terms in tags, delete terms in tags, edit terms in tags, access taxonomy overview
[success] Added "create terms in tags, delete terms in tags, edit terms in tags, access taxonomy overview" to "authenticated"
+ vendor/bin/drush user-create Eddy content editor
[success] Created a new user with uid 2
--------- --------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- --------------------- ----------- --------------- -------------
2 Eddy content editor authenticated 1
--------- --------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role content_editor Eddy content editor
[success] Added content_editor role to Eddy content editor
+ vendor/bin/drush user-create Vera content viewer
[success] Created a new user with uid 3
--------- --------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- --------------------- ----------- --------------- -------------
3 Vera content viewer authenticated 1
--------- --------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role content_viewer Vera content viewer
[success] Added content_viewer role to Vera content viewer
+ vendor/bin/drush user-create Madeline media editor
[success] Created a new user with uid 4
--------- ----------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- ----------------------- ----------- --------------- -------------
4 Madeline media editor authenticated 1
--------- ----------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role media_editor Madeline media editor
[success] Added media_editor role to Madeline media editor
+ vendor/bin/drush user-create Marvin media viewer
[success] Created a new user with uid 5
--------- --------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- --------------------- ----------- --------------- -------------
5 Marvin media viewer authenticated 1
--------- --------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role media_viewer Marvin media viewer
[success] Added media_viewer role to Marvin media viewer
+ vendor/bin/drush user-create Prodigy product editor
[success] Created a new user with uid 6
--------- ------------------------ ----------- --------------- -------------
User ID User name User mail User roles User status
--------- ------------------------ ----------- --------------- -------------
6 Prodigy product editor authenticated 1
--------- ------------------------ ----------- --------------- -------------
+ vendor/bin/drush user-add-role product_editor Prodigy product editor
[success] Added product_editor role to Prodigy product editor
+ vendor/bin/drush user-create Proctor product viewer
[success] Created a new user with uid 7
--------- ------------------------ ----------- --------------- -------------
User ID User name User mail User roles User status
--------- ------------------------ ----------- --------------- -------------
7 Proctor product viewer authenticated 1
--------- ------------------------ ----------- --------------- -------------
+ vendor/bin/drush user-add-role product_viewer Proctor product viewer
[success] Added product_viewer role to Proctor product viewer
+ vendor/bin/drush user-create Terra term editor
[success] Created a new user with uid 8
--------- ------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- ------------------- ----------- --------------- -------------
8 Terra term editor authenticated 1
--------- ------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role term_editor Terra term editor
[success] Added term_editor role to Terra term editor
+ vendor/bin/drush user-create Tevet term viewer
[success] Created a new user with uid 9
--------- ------------------- ----------- --------------- -------------
User ID User name User mail User roles User status
--------- ------------------- ----------- --------------- -------------
9 Tevet term viewer authenticated 1
--------- ------------------- ----------- --------------- -------------
+ vendor/bin/drush user-add-role term_viewer Tevet term viewer
[success] Added term_viewer role to Tevet term viewer
+ vendor/bin/drush devel-generate-terms 3 --bundles=tags
[notice] Message: Created 3 new terms
[notice] Message: In vocabulary Tags: 2 new terms at level 1 (shest,nos), 1 new term at level 2
(shupestiji)
[notice] Message: Generate process complete.
+ vendor/bin/drush devel-generate-content 3 --bundles=article --authors=1,2,3
[notice] Message: Created 3 nodes
[notice] Message: Generate process complete.
+ vendor/bin/drush devel-generate-media 3 --media-types=image
[notice] Message: Finished creating 3 media items.
[notice] Message: Generate process complete.
+ vendor/bin/drush ev \Drupal::service('scheduler.manager')->resetFormDisplayFields()
[warning] The Scheduler fields are now hidden by default and automatically changed to be displayed when an entity
bundle is enabled for scheduling. If you have previously manually hidden scheduler fields for enabled
entity types then these fields will now be displayed. You will need to manually hide them again or
implement hook_scheduler_hide_publish_date() or hook_scheduler_TYPE_hide_publish_date() and the
equivalent for unpublish_date. See <a href="https://www.drupal.org/project/scheduler/issues/3320341">Scheduler issue 3320341</a> for details.
[notice] Message: The Scheduler fields are now hidden by default and automatically changed to
be displayed when an entity
bundle is enabled for scheduling. If you have previously manually
hidden scheduler fields for enabled
entity types then these fields will now be displayed. You will need to
manually hide them again or
implement hook_scheduler_hide_publish_date() or
hook_scheduler_TYPE_hide_publish_date() and the
equivalent for unpublish_date. See Scheduler issue 3320341 [1] for
details.
[1] https://www.drupal.org/project/scheduler/issues/3320341
Running BUILD commands68c2ac1aa3155d621504d782# /bin/sh -c set -eux
# Delete and re-check out this branch in case this is built from a Base Preview.
git branch -D $TUGBOAT_REPO_ID && git checkout -b $TUGBOAT_REPO_ID || true
export COMPOSER_MEMORY_LIMIT=-1
cd $DRUPAL_COMPOSER_ROOT
composer install --optimize-autoloader
# Update this module, including all dependencies.
composer update drupal/scheduler --with-all-dependencies
vendor/bin/drush --yes updatedb
vendor/bin/drush cache:rebuild
+ git branch -D 6064c09f437dd1ae15fb32bf
error: Cannot delete branch '6064c09f437dd1ae15fb32bf' checked out at '/var/lib/tugboat'
+ true
+ export COMPOSER_MEMORY_LIMIT=-1
+ cd /var/www/drupal
+ composer install --optimize-autoloader
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
47 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
+ composer update drupal/scheduler --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
47 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
+ vendor/bin/drush --yes updatedb
[success] No pending updates.
+ vendor/bin/drush cache:rebuild
[success] Cache rebuild complete.
Committing 68c2ac193189489312b2edd4 (3546172-constraint-annotation)68c2ac193189489312b2edd4 (3546172-constraint-annotation) is ready