1
0
Fork 0
Commit Graph

7200 Commits (77e104bd4dcf29057e090ee928097816507b7b9c)

Author SHA1 Message Date
Jordi Boggiano 65aa8451fc Merge pull request #6034 from stof/change_inline_packages
Refactor the validation of inline package definitions
2017-01-03 13:14:04 +01:00
Christophe Coevoet 1cb0ec7911 Resolve references in ComposerSchemaTest 2017-01-03 11:57:35 +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
Jordi Boggiano 550376d649 Merge pull request #6032 from stof/patch-1
Update the branch alias for master
2017-01-03 09:53:07 +01:00
Christophe Coevoet 18a5d4d86a Update the branch alias for master 2017-01-03 09:50:47 +01:00
Nils Adermann b3bd409a30 Clarify Private Packagist description a bit 2017-01-03 01:03:08 +01:00
Jordi Boggiano 38e02eda7c Merge pull request #6027 from stof/fix_url_field
Loosen the validation for the URL field of VCS repositories
2017-01-02 16:27:28 +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
Jordi Boggiano 5e8776ae12 Merge pull request #6025 from Slamdunk/patch-1
Fix php.net HTTPS links; always use HTTPS for getcomposer.org
2017-01-02 13:00:18 +01:00
Filippo Tessarotto 498d49f1ba Fix php.net HTTPS links; always use HTTPS for getcomposer.org 2017-01-02 12:49:45 +01:00
Jordi Boggiano 31731a06c2 Merge pull request #6023 from stof/add_property
Add missing definition of a property
2017-01-02 12:27:45 +01:00
Jordi Boggiano f824b188f5 Merge pull request #6024 from stof/fix_package_type
Fix the validation of required properties for inline packages
2017-01-02 12:24:27 +01:00
Christophe Coevoet 8cc1859492 Fix the validation of required properties for inline packages 2017-01-02 12:22:26 +01:00
Christophe Coevoet 4ae2aecc54 Add missing definition of a property 2017-01-02 12:12:37 +01:00
Jordi Boggiano 321361a37b Merge branch '1.3' 2017-01-02 11:32:06 +01:00
Jordi Boggiano be9abbf9f3 Override all php-* versions when php package is defined in config.platform 2017-01-02 11:31:47 +01:00
Jordi Boggiano 3e72a5abd4 Merge remote-tracking branch 'glady/patch-2' 2017-01-02 11:08:34 +01:00
Mike Gladysch 9a38d0a222 Fixed #6021 2017-01-02 10:29:40 +01:00
Rob b567f7298a Merge pull request #6019 from michaelcullum/patch-1
Update memory limit in docs
2017-01-02 08:03:42 +01:00
Michael Cullum 97a80b6249 Update memory limit in docs
As per 0bc75c3fb6
2017-01-01 21:18:52 +00:00
Jordi Boggiano 87b68e8c2f Merge pull request #6013 from stof/repository_schema
Implement schema validation for repositories
2016-12-31 16:42:14 +01:00
Jordi Boggiano a1eb1ab604 Merge branch '1.3' 2016-12-31 16:35:19 +01:00
Jordi Boggiano 0bc75c3fb6 Bump memory limit to 1.5G 2016-12-31 16:29:31 +01:00
Plamen Garkov ab4322148f adding "fatal: unable to access" to authFalures 2016-12-31 16:29:12 +01:00
Jordi Boggiano 476682f207 Merge pull request #6015 from johnstevenson/xdebug-ini
Ignore xdebug.ini and process all files, #5995
2016-12-30 18:06:38 +01:00
johnstevenson 4e53d64d4b Ignore xdebug.ini and process all files, #5995 2016-12-30 14:51:16 +00:00
Jordi Boggiano ad97b01f9c Merge pull request #6012 from stof/fix_repository
Fix the class name for fossil repositories
2016-12-30 13:53:48 +01:00
Jordi Boggiano 033ceb4faa Merge branch '1.3' 2016-12-30 12:46:44 +01:00
Alex Bowers e161218819 Refactored xdebughandler 2016-12-30 12:46:30 +01:00
Jordi Boggiano 2c39c43a9e Forward memory limit even if it was overwritten when restarting without xdebug, fixes #6004 2016-12-30 12:45:05 +01:00
Jordi Boggiano 77ad36c067 More doc updates 2016-12-29 18:12:21 +01:00
Jordi Boggiano fdd63de8ac Typo fix 2016-12-29 18:02:08 +01:00
Jordi Boggiano 173a601d27 Update private package hosting docs 2016-12-29 18:01:02 +01:00
Christophe Coevoet 6daa2afdd3 Fix the handling of references in JSON schemas when validating
References must be resolved when loading the schema, otherwise they will fail
when using them.
The easiest way is actually to let the JsonSchema library load the file itself.
2016-12-29 17:29:54 +01:00
Christophe Coevoet 40e6d19d73 Implement schema validation for repositories 2016-12-29 17:09:22 +01:00
Christophe Coevoet 978b87f7bd Fix the class name for fossil repositories 2016-12-29 15:16:39 +01:00
Jordi Boggiano 37bbf1a7c9 Merge pull request #5993 from stefangr/fix_bitbucket_dist_install_from_private_repo
Fix dist downloads from bitbucket private repos
2016-12-28 19:10:21 +01:00
Jordi Boggiano ed0829fed1 Simplify code and fix path to composer.json, refs #6001 2016-12-28 19:00:22 +01:00
Ed Reel afdae9c0e2 Do not throw InvalidArgumentException with the 'show' command if the working-dir argument is set and composer.json exists
- This prevents scripts from aborting when looping through a directory of projects
2016-12-28 18:50:47 +01:00
Jordi Boggiano 5ecd9ace59 Forward --minor-only flag to show command 2016-12-28 18:44:32 +01:00
Jordi Boggiano 6816acbe27 Merge remote-tracking branch 'johnstevenson/xdebug-#5995' into 1.3 2016-12-28 17:44:45 +01:00
Jordi Boggiano 8764876cad Avoid loading xdebug platform package twice, fixes #5995 2016-12-28 17:38:45 +01:00
Jordi Boggiano c5dcedd0db Hide warning when xdebug is explicitly allowed 2016-12-28 17:34:27 +01:00
Jordi Boggiano d68362e66f Merge remote-tracking branch 'johnstevenson/xdebug-docs' into 1.3 2016-12-28 16:50:46 +01:00
johnstevenson 25ff290e4c Document COMPOSER_DISABLE_XDEBUG_WARN variable 2016-12-28 15:22:00 +00:00
johnstevenson d57a89d5af Update xdebug troubleshooting, fixes #5997 2016-12-28 12:13:23 +00:00
johnstevenson 2b8ad7dc2a Clear xdebug version if restart fails, fixes #5995 2016-12-27 18:46:21 +00:00
Stefan Grootscholten d80d266201 Fix dist download from bitbucket.
URL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
results in the following $pathParts:
array(5) {
  [0]=>
  string(0) ""
  [1]=>
  string(5) "ariya"
  [2]=>
  string(9) "phantomjs"
  [3]=>
  string(9) "downloads"
  [4]=>
  string(36) "phantomjs-2.1.1-linux-x86_64.tar.bz2"
}

A dist download URL is like:
https://bitbucket.org/user/repo/get/[git-hash].zip
array(5) {
  [0]=>
  string(0) ""
  [1]=>
  string(4) "user"
  [2]=>
  string(4) "repo"
  [3]=>
  string(3) "get"
  [4]=>
  string(14) "[git-hash].zip"
}
2016-12-24 21:10:12 +01:00
Jordi Boggiano 2782d37a15 Merge pull request #5992 from AnrDaemon/fix-git-skips-proper
Properly skip GitDownloaderTest if git is not available
2016-12-24 01:47:04 +01:00