`includes` configuration is documented but not valid
drumm opened this issue · comments
Neil Drumm commented
Describe the bug
https://github.com/composer/satis/blob/main/docs/config.md#includes says includes
can be configured.
https://github.com/composer/satis/blob/main/res/satis-schema.json does not have it.
To Reproduce
{
"name": "drupal/test",
"homepage": "http://test.example.org",
"repositories": [
{ "type": "vcs", "url": "https://github.com/drupal/core-composer-scaffold.git" },
{ "type": "vcs", "url": "https://github.com/drupal/core-project-message.git" },
{ "type": "vcs", "url": "https://github.com/drupal/core.git" },
{ "type": "vcs", "url": "https://github.com/drupal/core-recommended.git" }
],
"require-all": true,
"includes": true,
"archive": {
"directory": "dist",
"prefix-url": "http://test.example.org"
}
}
satis build --minify satis.json output
Outcome
Attempting to use it errors with
The property includes is not defined and the definition does not allow additional properties
In BuildCommand.php line 348:
The json config file does not match the expected JSON schema
Expected behavior
I do not want to support Composer 1.