1
0
Fork 0
Commit Graph

112 Commits (34d7e26f25752673308e3f678edd51f76f7b03b2)

Author SHA1 Message Date
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
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
2015-04-15 02:21:44 +01:00
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
2015-03-29 22:46:38 +02:00
msiebeneicher 7522a33079 Merge branch 'master' of https://github.com/composer/composer into add_exclude
# By Jordi Boggiano (30) and others
# Via Jordi Boggiano (37) and Morgan Campbell (1)
* 'master' of https://github.com/composer/composer: (83 commits)
  Update 01-basic-usage.md
  Revert 331425bcb3 as well, fixes #3612
  Revert "Disable overwrites when no-ansi is present, fixes #3612"
  Update deps
  Use justinrainbow/json-schema 1.4
  Improved wording
  Fix docs basic-auth => http-basic
  Add test for Generics class
  Single variable for traits and enums
  Use HHVM_VERSION instead of HPHP_VERSION
  Add support for using classmap to autoload Hack enums
  Re-use existing autoloader suffix if available, fixes #3701
  Report Travis CI build success early
  Test on HHVM nightly releases. Allow to fail.
  Make parseJson safer
  Use get home from Config instead of factory
  Fix env override regression, fixes #3820
  [create-project] Used no progress value for dependencies
  Add docBlock and fix CS
  Fix output of first line of progress when output is not decorated, refs #3818
  ...
2015-03-25 16:27:23 +01:00
isoroku e0657b60a2 Fix misspellings 2015-03-20 14:23:24 +00:00
Steve Buzonas bf08b6eb90 add support for package based install type preferences 2015-02-26 11:21:14 -05:00
Kocsis Máté ca0b5495b6 Made the type of bin-compat to enum in Composer schema 2015-02-21 20:19:32 +01:00
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
msiebeneicher f28785a49d Merge branches 'add_exclude' and 'master' of https://github.com/trivago/composer into add_exclude
* 'add_exclude' of https://github.com/trivago/composer:

# By Jordi Boggiano (239) and others
# Via Jordi Boggiano (184) and others
* 'master' of https://github.com/trivago/composer: (638 commits)
  Simplified syntax
  github deprecation changes
  fix bug in GitDriver::supports for remote repo
  strict check, testcase(s)
  Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716
  solve edge case for `composer remove vendor/pkg`
  chmod 644 src/Composer/Command/RemoveCommand.php
  Avoid failing on composer show of lazy providers
  Show more info when a download fails
  Add notion of autoloader skipping autoload-dev rules
  Satis grammar fix.
  remove unused statements
  removed needless output param
  + limit git ls-remote to heads + escape repo url
  add check for remote Repository in GitDriver::supports
  suppress the prefix
  Improve notice about /usr/local/bin
  Reuse current file permissions
  Add the P character to the regex pattern
  Added deprecated warning for the dev option
  ...

Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Autoload/ClassMapGenerator.php
2015-02-11 17:54:35 +01:00
Rob Bast d02eb8760b strict check, testcase(s) 2015-02-10 12:55:49 +01:00
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 2015-02-03 21:06:53 +01:00
rkerner abc9d60fcc added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches 2015-02-02 14:36:50 +01:00