1
0
Fork 0
Commit Graph

128 Commits (70f211923b9f72c6994d526b1fda94fd98aa9ad6)

Author SHA1 Message Date
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
Christophe Coevoet a012311077 Refactor the validation of inline package definitions
Reusing the root schema was a mistake, because the root schema does
not have the dist and source properties (which are populated by repository
objects).
2017-01-03 11:16:13 +01:00
Christophe Coevoet 37505f40f4 Loosen the validation for the URL field of VCS repositories
The URL of the VCS repository may not match the uri pattern of the JSON
schema spec, for instance when using a SSH URL of the repository.
2017-01-02 16:24:55 +01:00
Christophe Coevoet 8cc1859492 Fix the validation of required properties for inline packages 2017-01-02 12:22:26 +01:00
Mike Gladysch 9a38d0a222 Fixed #6021 2017-01-02 10:29:40 +01:00
Christophe Coevoet 40e6d19d73 Implement schema validation for repositories 2016-12-29 17:09:22 +01:00
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 2016-12-06 11:21:44 +01:00
Jordi Boggiano 43903a3979 Merge branch '1.2' 2016-11-06 17:38:53 +01:00
Christophe Coevoet 1882f9a502 Enhance the json schema with validation for map objects 2016-11-03 13:19:20 +01:00
moyo c4ac59601f Update related docs and config definitions 2016-07-06 16:25:18 +08:00
gitname 4f58c24195 Fix typo 2016-06-19 13:26:30 -07:00
Jordi Boggiano 98b0af1386 Add _comment to schema to make it valid, fixes #5364 2016-05-24 10:48:11 +01:00
Tomáš Markacz bb05ce5c7f Add RSS channel to support section in composer schema (closes #5073) 2016-03-28 10:23:34 +02:00