
After looking at #3102514: Rebuild the config internal subsystem, it seems we're in the need of a config that spans on multiple lines, seems like requiring/recommending would be sensible.
Comment | File | Size | Author |
---|---|---|---|
#11 | consider_dependency_on_multiple_config_module_3107513_11.patch | 1.56 KB | davidjguru |
#3 | consider_dependency_on_multiple_config_module_3107513_3.patch | 425 bytes | davidjguru |
Comments
Comment #2
davidjguruI think it would be a very interesting change (IMHO).
Now, after run drush cex, the humanstxt.settings.yml looks like this:
So I'm agree with the idea. I'm going to take this Issue and testing the Multiline config module: https://www.drupal.org/project/multiline_config
Comment #3
davidjguruAdd a new little patch with changes in the .info.yml file, as:
- Add the new core_version_requirement key.
- Add the new name of the setting form.
- Add as a new dependency the multiline_config contrib module.
Comment #4
pcambraA few comments:
- Shouldn't we add a composer.json file for ensuring the dependencies?
- Is this all we need to do to use multiline config?
- The core_version_requirement should be in a different issue
Comment #5
davidjguruI Just upload a new patch with the new composer.json file and changes over the info.yml file.
Greetings,
David.
Comment #6
davidjguruComment #7
davidjguruThis is the new patch.
Comment #8
davidjguruComment #9
davidjguruComment #10
davidjguruComment #11
davidjguruComment #12
davidjguruComment #13
pcambraLooking at other projects, they don't seem to be adding these bits
Comment #14
davidjguruOk, I added it based on previous observations in "small" projects (https://git.drupalcode.org/project/robotstxt/-/blob/8.x-1.x/composer.json) and in "big" projects (https://git.drupalcode.org/project/lingotek/-/blob/8.x-2.x/composer.json).
But as you say, no problem, I take it back.
Comment #15
pcambraAh, I see, let's ask what the repositories key is there for, we can keep the support.
Comment #16
pcambraAh! https://www.drupal.org/docs/8/creating-custom-modules/add-a-composerjson...
Comment #17
pcambraThis change should have been in #3119479: Rebuild the Config Form instead but let's get all merged
Comment #19
pcambraMerged, thanks!