1
0
Fork 0
Commit Graph

140 Commits (49d7ff1626044e0885c351ef283863876466dd41)

Author SHA1 Message Date
Jordi Boggiano a23f8a3d6c
Add gitlab-protocol to config command and schema 2021-06-01 16:05:53 +02:00
Guilliam Xavier 2d21dd675a Invert strict/lax schema validation 2021-05-24 11:51:04 +02:00
Guilliam Xavier 9e2cb30dfb Revert "Merge remote-tracking branch 'BoShurik/schema'"
This reverts commit 89c3045e2b, reversing
changes made to 991985792d.
2021-05-24 11:46:08 +02:00
Jordi Boggiano 8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872 2021-05-20 16:27:58 +02:00
Jordi Boggiano 89c3045e2b
Merge remote-tracking branch 'BoShurik/schema' 2021-05-20 15:42:39 +02:00
Guilliam Xavier 8d8842eb8c
Fix schema minimum-stability pattern 2021-05-20 14:15:39 +02:00
BoShurik cc55b56dd7 Allow optional name and description fields for project type 2021-03-30 16:51:03 +03:00
Jordi Boggiano 6c31744c04
Disable full platform-check for extensions by default, now set to php-only, refs #9412 2020-11-04 21:50:06 +01:00
Jordi Boggiano 08ad53f9fb
Merge branch '1.10' 2020-10-16 11:28:07 +02:00
Jordi Boggiano 7fda8433b1
Update schema to use anyOf instead of oneOf, fixes #9295 2020-10-16 11:27:59 +02:00
Jordi Boggiano 2a36c3a70a
Minor tweaks 2020-09-21 13:26:53 +02:00
Jordi Boggiano 90332f1dbd
Add a readonly mode to the cache, fixes #9150 2020-08-25 13:55:32 +02:00
Jordi Boggiano 923f198a1f
Fix default-branch attribute on package files, and add it to schema 2020-06-19 15:33:25 +02:00
Jordi Boggiano ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
Add (default) base name of archive into composer.json
2020-05-06 11:06:28 +02:00
Basil Peace 6140897d08 feat: add archive.name config option 2020-04-29 01:01:48 +03:00
Jordi Boggiano 2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer 2020-04-21 15:25:35 +02:00
Jordi Boggiano bd5952c7ff
Merge pull request #8793 from cebe/naming-pattern-json-schema
Add package naming pattern to the composer.json JSON schema
2020-04-15 16:36:24 +02:00
Jordi Boggiano 91dcde2059
Revert "Remove the pear repository type from the JSON schema" 2020-04-15 14:09:30 +02:00
Carsten Brandt 3e8021ed06
Add package naming pattern to the composer.json JSON schema
fixes #8749
2020-04-15 13:43:05 +02:00
Christophe Coevoet 8f489d3d6c
Remove the pear repository type from the JSON schema 2020-04-15 10:02:16 +02:00
Jordi Boggiano 3dd6dbe14a
Merge pull request #8774 from Ayesh/https
Update HTTP URLs to their HTTPS if they already redirect automatically
2020-04-13 11:52:21 +02:00
Ayesh Karunaratne 280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically 2020-04-13 06:22:02 +07:00
Christophe Coevoet 4497046f16
Add the new repository options in the JSON schema 2020-04-10 13:40:02 +02:00
Jordi Boggiano 781cf75191
Fix schema rules to be more strict 2020-03-10 13:56:35 +01:00
Jordi Boggiano f964b83018
Add bearer support in config command and add to docs/schema, refs #8671 2020-03-10 13:39:26 +01:00
Nils Adermann 5c4f524d6a
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
2020-02-14 10:08:35 +01:00
Jordi Boggiano c5e61f3466
Merge branch '1.9' 2020-01-13 13:18:58 +01:00
Jordi Boggiano b6673612e0
Allow dev-* versions in schema, refs #8262 2019-11-29 13:29:32 +01:00
Jordi Boggiano eea4098f98
Merge branch '1.9' 2019-10-25 14:17:35 +02:00
Andreas Schempp 8cbc595790
Validate schema name, type and version 2019-10-25 14:10:53 +02:00
Arnout Boks 7c5e5e3ede Add option to disable the lock file
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.

https://github.com/composer/composer/issues/8354
2019-10-19 21:46:29 +02:00
Kath Young fbb9d20c33 Adjusted config name to be more descriptive, added documentation 2019-01-29 07:26:38 +10:30
Jordi Boggiano b89daf5322 Add support.chat to schema, refs #7714 2018-11-26 19:52:05 +01:00
Jordi Boggiano 464daeebe2 Merge branch '1.6' 2018-05-03 17:38:09 +02:00
Christophe Coevoet 61f54e19ce
Fix the JSON schema for package repositories 2018-04-25 20:36:43 +02:00
Jordi Boggiano 533a1d72f8 Merge branch '1.6' 2018-04-13 12:06:38 +02:00
Thomas Flori 58e4326067
add readme node to composer.json schema 2018-04-13 09:09:58 +02:00
Andreas Möller b85c6a1ca5
Fix: Add type field to schema for inline-package 2018-03-07 23:05:37 +01:00
Gabriel Caruso 2ad6f611d7 Allow bin key to receive string 2018-01-02 07:00:55 -02:00
Andreas Möller d034f1e23f
Fix: Add 'sort-packages' to composer-schema.json 2017-12-28 21:05:21 +01:00
Mathias Brodala 7369aba645 Fix some grammar 2017-12-18 11:39:40 +01:00
Mathias Brodala 8424235fac Rename to "scripts-descriptions" 2017-12-18 10:47:01 +01:00
Mathias Brodala ad56577223 Ensure scripts description items are strings 2017-12-18 10:43:30 +01:00
Mathias Brodala 80d0c2029b Move "scripts-description" to toplevel
Fixes #6881
2017-12-18 10:14:24 +01:00
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 2017-08-07 18:14:04 +02:00
Wil Hall f0924fb878 Add htaccess-protect option for disabling the creation of .htaccess files 2017-06-15 11:06:13 -04:00
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
2017-06-11 19:02:51 +02:00
Jordi Boggiano 95987f4aca Do not validate URLs properly in json schema, fixes #6243 2017-03-10 09:27:24 +01:00
Jordi Boggiano e556649ad9 Allow trunk-path, branches-path and tags-path to be bool as well as string, fixes #6238 2017-03-09 09:56:45 +01:00
Jordi Boggiano 0b27952dec Fix typo 2017-01-03 11:34:29 +01:00