1
0
Fork 0
Commit Graph

123 Commits (036fc44c25e051479f06435800d76c4301d9b1fa)

Author SHA1 Message Date
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
Rob Bast 62a890df5c
add dist/source to package definition 2016-10-04 13:20:37 +02:00
Rob Bast 585773a3cc
changes based on feedback from @stof in #5739 2016-10-04 13:05:06 +02:00
Rob Bast 9437122acc
composer repository json schema 2016-10-04 11:34:28 +02: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
Jordi Boggiano 592374ea93 Remove cacert copy from composer repo 2016-04-11 16:58:43 +01:00
Marc Würth 0621d0c226 Update bundled cacert.pem
Certificate data from Mozilla as of: Wed Jan 20 04:12:04 2016
2016-04-11 15:06:27 +02:00
Tomáš Markacz bb05ce5c7f Add RSS channel to support section in composer schema (closes #5073) 2016-03-28 10:23:34 +02:00
Serghei Ilin dacb97d6ad Add missing "secure-http" config property
"secure-http" configuration property recently introduced and available in documentation https://getcomposer.org/doc/06-config.md#secure-http is missing in the schema.
2016-03-11 07:04:12 +01:00
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 2016-02-25 19:03:36 +00:00
Rob Bast 474541e9aa apply comments
- add capath to json schema
- simplify factory
- hash_file and sha256 for CA checking
- remove exception as scenario should not occur
- remove executable bit from CA file
- make CA file also group/world writable (we overwrite invalid content anyway)
    to avoid permission errors as much as possible
2016-01-22 09:14:37 +01:00
Jordi Boggiano 96ff17c520 Cleanups of XDG support, refs #1407 2016-01-18 18:26:05 +00:00
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 2016-01-10 16:54:44 +00:00
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 2016-01-10 16:37:11 +00:00
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 2016-01-10 16:10:22 +00:00
Michal Gebauer ce74477899 Configuration of GitLab driver 2015-12-03 14:30:07 +01:00
Jordi Boggiano 430c6f3972 Allow string in abandoned format as well, refs #4621 2015-11-21 14:13:13 +00:00
Thiago Carvalho 320533bcf9 Fixes #4610 2015-11-21 08:58:52 +01:00
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
2015-10-30 00:00:44 +00:00
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 2015-10-27 15:36:12 +00:00
Kocsis Máté 1bfb4faac6 Removed unnecessary type in the JSON schema 2015-10-02 20:29:52 +02:00
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 2015-07-22 15:54:20 +02:00
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
Rob Bast e4118385a0 updated spdx related files 2015-07-03 12:22:16 +02:00
Thibault Jamet 3ab05fb54f Update composer-schema with archive configuration 2015-06-17 20:53:09 +02:00
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
2015-05-28 13:15:56 +02:00
Josh Di Fabio 03b7388eb2 Fix typo in composer-schema.json 2015-05-06 09:57:35 +01:00
Possum 2e99b9fdf5 Use https where possible 2015-05-04 19:37:57 +02:00
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
2015-04-29 22:38:07 +01:00