1
0
Fork 0
Commit Graph

5958 Commits (1ea810d40b14518f109a63d1fc98c45d7491dca9)

Author SHA1 Message Date
David Fuhr 064e1a6d6d Fix handling of http 400 errors
Before 400 errors were silently dropped. This caused composer to store
the returned body (usually some html) in cache. This resulted in later
errors when composer tried to extract this error response as zip.

With this exceptions thrown it handles the error gracefully and falls
back to the next URL provided by the package configuration.
2015-11-10 16:30:01 +01:00
Jordi Boggiano d35fc31f62 Add process error to the output of failed unzipping 2015-11-10 13:29:51 +00:00
Jordi Boggiano fc0da27d84 Add more debug output when writing to cache 2015-11-10 13:12:53 +00:00
Jordi Boggiano 6f21bd425a Update deps 2015-11-10 11:56:06 +00:00
Giorgio Premi fd0026b542 Detect infinite script call recursion 2015-11-09 15:34:11 +01:00
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 2015-11-09 15:34:11 +01:00
Jordi Boggiano 649dc78f08 Merge pull request #4583 from alcohol/show-warning-for-bad-classmap
fixes #4562
2015-11-06 22:33:38 +00:00
Rob Bast 991d25115f fixes #4562 2015-11-05 18:47:30 +01:00
Rob Bast 07da489245 update semver and spdx 2015-11-05 11:24:43 +01:00
Rob e8b6a08a51 Merge pull request #4580 from maddhatter/xcopy-overwrite
Have xcopy overwrite existing files
2015-11-05 11:12:11 +01:00
Shawn Tunney 54584e6b0f Have xcopy overwrite existing files 2015-11-04 10:46:27 -05:00
Rob 63698facf5 Merge pull request #4579 from remicollet/issue-jsontest
skip no more needed with jsonc 1.3.9
2015-11-04 10:33:10 +01:00
Remi Collet a6c6537529 skip no more needed with jsonc 1.3.9 2015-11-04 09:11:01 +01:00
Pierre Rudloff 879d34589b XzDownloader test 2015-11-03 23:29:20 +01:00
Jordi Boggiano 2d24ed8e74 Improve error reporting 2015-11-03 20:37:11 +00:00
Pierre Rudloff 3abad250e9 .tar.xz downloader 2015-10-31 18:18:11 +01:00
Jordi Boggiano 5a5088eb34 Add docs about wildcard support 2015-10-30 20:48:26 +00:00
Jordi Boggiano 87081f3be8 Merge pull request #4568 from annesosensio/patch-1
Made wildcard expansion consistent with bash
2015-10-30 20:40:20 +00:00
Jordi Boggiano 735d4a692e Fix validating array loader tests 2015-10-30 20:40:09 +00:00
annesosensio 2e4157145b Made wildcard expansion consistent with bash 2015-10-30 21:30:50 +01:00
Jordi Boggiano ac1a0c898d Add exclude-from-classmap support in validation 2015-10-30 20:04:25 +00:00
Jordi Boggiano 6c16510743 Add support for wildcards in exclude-from-classmap, refs #1607 2015-10-30 19:12:30 +00:00
Jordi Boggiano 463236cb74 Close code block in docs and tweak some wording 2015-10-30 18:51:52 +00:00
Jordi Boggiano f1b0c073ad Tweaked exclude-from-classmap: windows support, normalize paths and make sure they are all package-relative and do not leak to other packages, refs #1607 2015-10-30 00:22:04 +00: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 ef2856ef55 Take php version into account for create-project command version selection 2015-10-29 22:35:30 +00:00
Louis Lagrange 842e09a143 Typo 2015-10-29 13:32:12 +01:00
Louis Lagrange 3df536a3ba Wrap lines at the correct limit
Assuming this limit is 80 cols.
2015-10-29 13:29:33 +01:00
Rob c7ed232ef4 Merge pull request #4529 from jeroenseegers/warn-on-commit-reference
Generate a warning when a commit reference is used
2015-10-29 10:52:59 +01:00
Rob 1bb6bf8e79 Merge pull request #4559 from xelan/bugfix-escape-brackets
Escape angle brackets for commit message output
2015-10-29 10:50:16 +01:00
xelan 32517d90d2 Escape angle brackets for commit message output 2015-10-29 09:01:28 +01:00
David Walker e0a6419992 When classmap authoratative is enabled, there should be no reason to load 3 files, and process them when autoloader will return false 2015-10-28 14:29:36 -06:00
Louis Lagrange fbe2a5e726 Add "out of memory" tip 2015-10-28 20:14:23 +01:00
Jordi Boggiano c557715669 Normalize operators 2015-10-28 14:13:03 +00:00
Rob 8dd795c50b Merge pull request #4548 from paladox/patch-7
Add 64-bit testing support
2015-10-28 12:16:00 +01:00
paladox 079901c7ee Update appveyor.yml 2015-10-28 08:32:47 +00:00
paladox 816769299c Add 64-bit testing support 2015-10-28 08:25:24 +00:00
Jordi Boggiano 32ec1a756f Bump dependencies and allow symfony3 2015-10-28 04:44:12 +00:00
Jordi Boggiano 599ad77167 Merge pull request #4542 from bd808/feature/support-merge-plugin
Allow easier manipulation of RootAliasPackage
2015-10-28 03:45:57 +00:00
Jordi Boggiano 742c1d6691 Switch to psr-4, closes #4531 2015-10-28 03:17:26 +00:00
Jordi Boggiano 9d676a7671 Fix 5.3.3 build 2015-10-28 02:52:53 +00:00
Jordi Boggiano e093b9d594 Update deps, refs #4427 2015-10-28 02:44:08 +00:00
Jordi Boggiano 6582c337d0 Fix typo 2015-10-28 00:06:21 +00:00
Jordi Boggiano 8e99cec3e7 Fix ref to findShortestPath 2015-10-28 00:04:33 +00:00
Jordi Boggiano 05c464aaf6 Merge remote-tracking branch 'origin/master' 2015-10-27 23:55:55 +00:00
Bryan Davis dc40bf9f51 Remove unused local variables from AliasPackage 2015-10-27 14:44:57 -06:00
Bryan Davis 06c44ce998 Add setters used by composer-merge-plugin to RootPackageInterface
Extend RootPackageInterface with setter functions used by
composer-merge-plugin and implement them for RootAliasPackage. This will
allow composer-merge-plugin and similar code that manipulates the root
package at runtime to ignore the difference between a RootPackage and
a RootAliasPackage.
2015-10-27 14:43:29 -06:00
Jordi Boggiano 193a072d3c Clarify that the abstract constraint should not be relied upon anymore 2015-10-27 19:13:50 +00:00
Bryan Davis 2eb0af264b Allow RootAliasPackage to override cached values
AliasPackage caches the values of 'requires', 'devRequires',
'conflicts', 'provides', 'replaces' locally to allow `self.version`
references to be properly updated to reference the alias. Plugins like
composer-merge-plugin that manipulate these settings at runtime need to
be able to change the values after alias construction.
2015-10-27 12:36:13 -06:00
Jordi Boggiano 1160b782c8 Deduplicate classmap creation and add support for loading classmaps on the fly for plugins & co 2015-10-27 17:47:25 +00:00