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
Jordi Boggiano
56964a9377
Check for new work dir with both parameters, refs #6651
2017-09-11 13:01:28 +02:00
Ayesh Karunaratne
eb078b432f
Prevent automatic parent directory composer.json discovery if working-dir parameter is set
2017-09-11 12:55:56 +02:00
Jordi Boggiano
8b61315b14
Normalize URL as symfony Filesystem::mirror does a straight str_replace on realUrl vs actual iteratee path without normalization and our aRchivableFilesFinder does normalize the path, refs #6667
2017-09-11 11:26:33 +02:00
Gawain Lynch
b859bbcdcf
Pass a VCS filtered iterator to mirror
2017-09-11 11:02:58 +02:00
Mikk Tendermann
2a89d37651
fix gitlab not telling visibilty if user is not logged in
2017-09-11 10:37:32 +02:00
Abyr Valg
37addea447
Make composer see installed dev packages
2017-09-11 10:20:48 +02:00
Fedir Kryvytskyi
dc509b236f
Fixed error, when composer.phar was broken, if it compiled inside folder, that has /composer in path
2017-09-11 10:08:24 +02:00
Jordi Boggiano
9fd4f22ba2
Also ignore dir change prompt in list command
2017-08-21 09:16:54 +02:00
Jordi Boggiano
d352cc97f7
Do not prompt for dir change on create-project, fixes #6617
2017-08-21 09:13:08 +02:00
Jordi Boggiano
e33d00f98e
Fix gitlab tests
2017-08-18 14:14:15 +02:00
Jordi Boggiano
a144b5e7ed
Fix GitLab endless loop thanks to API bug, fixes #6615
2017-08-18 14:04:53 +02:00
Jordi Boggiano
1930357baf
Update changelog
2017-08-09 16:06:58 +02:00
Jordi Boggiano
a16867e2c2
CS
2017-08-09 16:02:45 +02:00
Helmut Januschka
320af80ad3
fix tag/branch collection 💣
2017-08-09 16:01:59 +02:00
Jordi Boggiano
0f94dcd848
Fix composer global config handling
2017-08-08 18:40:15 +02:00
David Zuelke
a4d84f15ca
use COMPOSER env var if present for ancestor path search
2017-08-08 18:40:12 +02:00
David Zuelke
4f7b6a3a54
use Factory::getComposerFile in ConfigCommand
2017-08-08 18:40:07 +02:00
Jordi Boggiano
f420d31233
Fix application test
2017-08-08 10:43:26 +02:00
Jordi Boggiano
a6c4fb2dcf
Fix gitlab tests
2017-08-08 10:26:35 +02:00
Jordi Boggiano
9f743a6fe8
Update dependencies
2017-08-08 10:24:23 +02:00