You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drupal has a config override system which is, essentially, writing your config values in settings.php. This is how Isle Site Template currently sets values.
And with the recent acceptance of some PullRequests relating to warning users that configs are being overridden, now config overrides provide a good UI/UX...
I propose
We use config override (as above) to set config values instead of the current method of drush config:set or drush config-set (see lines in buildkit's utilities.sh).
Moreover, per Issue #326 , media.settings standalone_url has no business being set at all. This is the domain of the starter site or whatever other existing configs you're loading.
In a similar vein, ISLE should not be setting:
openseadragon.settings manifest_view
jsonld.settings remove_jsonld_format
system.theme default carapace
Reasoning
Using the config override method would make it easier to create and share updates and PRs to the Starter Site as there aren't unnecessary changes forced into the config diff. This is a known problem and doing this would solve it.
Having a common method of overriding values with the Isle Site Template will make understanding the two systems easier.
Using this system of configuration override is a good practice that vendors and other institutions can emulate, so getting the community accustomed to how it works would be advantageous.
The further changes proposed (i.e. not setting unnecessary config values)
would make the starter site more functional as someone who launches the starter site will see the starter site as is meant to work.
Would make a sensible separation between the system that spins up the site (and necessarily sets the locations of external services) from the part of the system that manages Drupal configuration (now we have the starter site but the principle applies even when other config management systems are used).
The text was updated successfully, but these errors were encountered:
Related issue: Islandora-Devops/islandora-starter-site#17
Whereas
Drupal has a config override system which is, essentially, writing your config values in
settings.php
. This is how Isle Site Template currently sets values.And with the recent acceptance of some Pull Requests relating to warning users that configs are being overridden, now config overrides provide a good UI/UX...
I propose
We use config override (as above) to set config values instead of the current method of
drush config:set
ordrush config-set
(see lines in buildkit's utilities.sh).Moreover, per Issue #326 ,
media.settings standalone_url
has no business being set at all. This is the domain of the starter site or whatever other existing configs you're loading.In a similar vein, ISLE should not be setting:
openseadragon.settings manifest_view
jsonld.settings remove_jsonld_format
system.theme default carapace
Reasoning
The further changes proposed (i.e. not setting unnecessary config values)
The text was updated successfully, but these errors were encountered: