1
0
Fork 0
Commit Graph

7568 Commits (a4f28f54b64474803aa6db7f90123aa9241a0cd4)

Author SHA1 Message Date
Jordi Boggiano a4f28f54b6 Update changelog 2017-12-18 12:09:10 +01:00
Christian Mayer 512188d212 Filter macOS .DS_Store files when detecting github archives, fixes #6784, closes #6785 2017-12-18 11:11:35 +01:00
Jordi Boggiano 00f6c0a44a Fix issue when requiring multiple packages once without and once with explicit version, fixes #6859 2017-12-18 10:35:44 +01:00
Jordi Boggiano 4c8c574b6c Fix regex, refs #6895 2017-12-17 14:02:55 +01:00
Renoir Boulanger 9f723ba381 Support GitLab repositories w/ port over HTTPs
When we have self-hosted GitLab, over HTTPs, on a different port.

rel composer/composer#6894
2017-12-17 13:59:08 +01:00
Alessandro Lai fc6c12bd0a Fix pretty version guessing when non-dev branch 2017-12-17 13:49:15 +01:00
Alessandro Lai 54adf0b61e Add regression test about VersionGuesser pretty_version handling 2017-12-17 13:49:07 +01:00
Tom Rochette c3b6c0c85e Make sure exitCode is defined in the show command. 2017-12-16 22:08:10 +01:00
Jordi Boggiano cf5dfdea6b Update changelog 2017-12-01 14:42:51 +01:00
Jordi Boggiano 3976d9f242 Fix require command picking of specific versions, fixes #6859 2017-12-01 14:30:51 +01:00
Jordi Boggiano fb8fecd4a5 Add missing links 2017-12-01 11:02:02 +01:00
Jordi Boggiano d11b704617 Update changelog 2017-12-01 11:01:27 +01:00
Jordi Boggiano a928ffa4ee Fix require command when specifying non-stable versions, fixes #6859 2017-12-01 10:55:20 +01:00
Jordi Boggiano c79e5fc33e Update changelog 2017-11-30 18:28:36 +01:00
Niels Keurentjes eab705d057 Reword exception text to evoke somewhat less panic
Refs https://github.com/composer/composer/issues/5196#issuecomment-346754244

Signature mismatch could indicate MitM, or just a CDN issue which is rather more likely.
2017-11-30 15:57:12 +01:00
Jordi Boggiano 5960f715f0 Add warning in show command if no dependencies are installed but the root package has dependencies, fixes #6820 2017-11-30 15:55:57 +01:00
Jordi Boggiano 5ba6d7d436 Fix pretty guessed versions to show nicely on numeric branches, refs #6845 2017-11-30 15:19:11 +01:00
Alessandro Lai 3cf31da414 Fix root package not having a pretty version when detecting from VCS, fixes #6845, closes #6847 2017-11-30 15:07:08 +01:00
Jordi Boggiano 40f4f6bf86 Fix docblock 2017-11-30 15:05:27 +01:00
Jordi Boggiano 94a1f16c96 Fix scheme in public gitlab URLs, refs #6683 2017-11-30 10:52:33 +01:00
Jordi Boggiano b52fd60873 Always follow redirects in userland as we need to check if we have authentication every time for the new domain 2017-11-29 16:37:45 +01:00
Jordi Boggiano 45cd26b2df Fix test and actually check that we get hasAuthentication called for different domains 2017-11-29 16:37:00 +01:00
Jordi Boggiano 743153e862 Tweak so that we allow authentication for domains we redirect to, refs #6717 2017-11-29 15:56:45 +01:00
Maarten Balliauw 128e424c90 Avoid sending Authorization header to another domain on redirect, fixes #6716 2017-11-29 15:32:32 +01:00
Jordi Boggiano 0de1e21233 Make create-project install dependencies following optimize-autoloader config setting, fixes #6722 2017-11-29 15:05:19 +01:00
johnstevenson b0922b95af Report multiple inis in php.ini specific messages
Where systems use multiple ini files it is perhaps more useful to
suggest running `php --ini` to see their locations, rather than showing
the loaded php.ini (if one exists).
2017-11-28 18:09:08 +01:00
Jordi Boggiano a691a179e5 Merge remote-tracking branch 'naderman/improve-not-found-error' into 1.5 2017-11-28 18:00:09 +01:00
Jordi Boggiano 3c76e36e2c Fix regex, refs #6735 2017-11-28 18:00:05 +01:00
gregory 8a136d18e5 Correctly extract username/password from URL 2017-11-28 16:59:18 +01:00
Jordi Boggiano 065b662d5b Merge remote-tracking branch 'naderman/t/no-package-potential-issue' into 1.5 2017-11-28 16:39:31 +01:00
Jordi Boggiano b4df2c9517 Avoid reverting the composer.json in case of a composer require/remove failure that is unrelated to the Solver
Fixes #6821 and adds a different fix to #3464 which is getting reverted
2017-11-28 16:38:29 +01:00
Jordi Boggiano 4c4f516ea2 Make sure binaries are recreated before POST-hooks fire 2017-11-28 16:07:28 +01:00
Jordi Boggiano 17ec4c17b0 Set COMPOSER_DEV_MODE for all events and not just POST hooks 2017-11-28 16:04:50 +01:00
Nils Adermann 7dffe79a0f Update tests of solver problem message to match new message 2017-11-16 12:41:41 +01:00
Nils Adermann f40f95b269 Add a note that a user could have forgotten to add a custom repo if package not found 2017-11-16 10:15:37 +01:00
Nils Adermann 685bc08c0a Improve the error on init/require if a package could not be found 2017-11-09 13:04:07 +01:00
Jordi Boggiano fc9f8c2007 Fix tests 2017-11-03 23:23:22 +01:00
johnstevenson b1aed48e1a Fix bug setting COMPOSER_ORIGINAL_INIS
This variable stores the loaded ini file and any additional scanned ini
files, separated by a path-separator. The loaded ini file should always
be present, even if it is an empty value. Unfortunately I removed any
empty value to parse the ini files, then used the truncated list to set
the variable.

This bug surfaced on docker php images. These do not have a specific
php.ini but store all their settings in the location(s) configured at
build time using --with-config-file-scan-dir.
2017-11-03 19:52:44 +01:00
Mihai Plasoianu 02b57ff4a2 Return non-zero exit code with --strict and single package 2017-11-03 19:48:59 +01:00
Jérôme Vasseur 71c2ecbace Fix platform package detection in VersionParser 2017-11-03 19:48:52 +01:00
Jordi Boggiano 11f1e03739 CS tweaks 2017-11-03 19:44:44 +01:00
Minh-Quan TRAN 007ca5ff6a workaround for gitlab installation with relative url
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-11-03 19:42:54 +01:00
Jordi Boggiano e918ec9b39 Prepare 1.5.2 2017-09-11 16:59:14 +02:00
Jordi Boggiano 0745216c57 Bump cabundle 2017-09-11 16:58:55 +02:00
Jordi Boggiano 69ecb2403e Add upgrade alias to update, fixes #6649 2017-09-11 16:13:33 +02:00
Jordi Boggiano 802849d52c Wording tweaks 2017-09-11 16:09:30 +02:00
Deamon 3d753b117b add test on remove mainkey at end of file 2017-09-11 16:07:13 +02:00
Deamon 5b29b7c8e3 delete last coma if deleting last element before end of file 2017-09-11 16:07:07 +02:00
Jordi Boggiano 1682d7d454 Fix path repo version parsing to follow COMPOSER_ROOT_VERSION when the git repo is shared with the root package, fixes #6625 2017-09-11 16:02:48 +02:00
Jordi Boggiano f71baa5e0c Try fixing 404s gitlab handling when unauthenticated, refs #6669 2017-09-11 14:41:33 +02:00