413 Commits (b056d9ae4231a5b348f2133929092caa2e9abb99)

Author SHA1 Message Date
Jordi Boggiano 29312be4df Strict typing fixes 9 years ago
Jordi Boggiano fbab2bfa17 Move user agent definition to StreamContextFactory so it is available in all contexts 9 years ago
Jordi Boggiano f084b1e053 Remove duplicate handling of retry-auth-failure option, refs #3765 9 years ago
Jordi Boggiano 020c126c27 Fix CS 9 years ago
Jordi Boggiano a10bffec0e Merge remote-tracking branch 'GromNaN/gitlab' 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jérôme Tamarelle 4255db9e31 Allows SSH urls for gitlab and detect the scheme
SSH urls uses HTTPS to request the API
9 years ago
Jérôme Tamarelle ac68a721f4 Merge remote-tracking branch 'composer/master' into gitlab
Conflicts:
	doc/04-schema.md
	src/Composer/Util/RemoteFilesystem.php
9 years ago
Jerome TAMARELLE 6ccc562c0f Add tests on GitLab class (copied from GitHubTest) 9 years ago
Jerome TAMARELLE db056b8383 Fix retry authentification on gitlab oauth 9 years ago
Jerome TAMARELLE 211d4632bb Fix compatibility with PHP 5.3 9 years ago
Jordi Boggiano 58a6d4b7d3 Add comment 9 years ago
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.
9 years ago
Shawn Tunney 54584e6b0f Have xcopy overwrite existing files 9 years ago
Rob c7ed232ef4 Merge pull request #4529 from jeroenseegers/warn-on-commit-reference
Generate a warning when a commit reference is used
9 years ago
Jordi Boggiano 8e99cec3e7 Fix ref to findShortestPath 9 years ago
Jordi Boggiano 125dc62fab Make trigger error visible 9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 9 years ago
Jeroen Seegers 279b5f0156 Drop irrelevant properties from composer_commit-ref.json 9 years ago
Jeroen Seegers f3dc31839f Refactor commit-ref validation
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
9 years ago
Jeroen Seegers 73e73c90fb Generate a warning when a commit reference is used
Closes #4485
9 years ago
Rob Bast b523fc0b7b ran fixers 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano ae23979dfa Add validation warning for prs-0/4 definitions without namespace prefix, refs #3202 9 years ago
Samuel ROZE ead68d3d49 Create the path repository and downloader 9 years ago
Jordi Boggiano 9859859f10 Add comment, fixes #4145 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Jordi Boggiano 00c26791fa Merge pull request #4264 from alcohol/use-composer-spdx
remove spdx files, introduce external library
9 years ago
Jordi Boggiano bbf959ac34 Do not retry failures once degraded mode is already enabled 9 years ago
Jordi Boggiano ff84b32097 Add degraded mode to try and bypass ipv6/gzip issues, refs #4142, refs #4121 9 years ago
Rob Bast 2553f5f7d4 throw error when file is loaded 9 years ago
Rob Bast 616585e0cc spdxlicense extends spdxlicenses, add depr error 9 years ago
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Jordi Boggiano e2b2f450dc Merge pull request #4144 from staabm/patch-2
Dropped unnecessary break statements
9 years ago
Jordi Boggiano 9b3e8b963e Merge pull request #4143 from staabm/patch-1
Dropped obsolete condition
9 years ago
Rob Bast 4019f7bb44 Revert "apply a regex solution instead of tokenizer"
This reverts commit 33a7305e22c8d4e2ce38586855fd3d4b7b2af3dd.
9 years ago
Rob Bast b5d286e27b apply a regex solution instead of tokenizer 9 years ago
Rob Bast e4118385a0 updated spdx related files 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Andreas Möller eac5fbdee4 Fix: Remove unused imports 9 years ago
Markus Staab 94a924b702 Dropped unnecessary break statements
Next line breaks nevertheless
9 years ago
Markus Staab a4ad3c2146 Dropped obsolete condition
The conditional a few lines above already checks for `bytesMax > 0`
9 years ago
Kunal Mehta 49bd1d773b Make an invalid package name a publish error, not warning
Since invalid names will prevent publishing to packagist, they should
be considered publish errors. If people do not plan on submitting their
package to packagist, they can use the --no-check-publish flag to turn
it into a normal warning again.
9 years ago
gmsantosxl a060c536bb Remove extra '/' when findShortestPath $from ends with '/' 9 years ago
gmsantosxl 84c9c30b63 Remove extra '/' when findShortestPath $from is a directory 9 years ago
Jordi Boggiano 1753c275ff Handle deprecation notices softer 9 years ago
Jordi Boggiano 4d5d524704 Clear stat cache after a git failure as it might have modified the filesystem 9 years ago
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 9 years ago
Jordi Boggiano 41f4451c20 take care of retry-auth-failure:false in case of 403 as well 9 years ago