Jordi Boggiano
4c8c574b6c
Fix regex, refs #6895
7 years ago
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
7 years ago
Alessandro Lai
fc6c12bd0a
Fix pretty version guessing when non-dev branch
7 years ago
Alessandro Lai
54adf0b61e
Add regression test about VersionGuesser pretty_version handling
7 years ago
Tom Rochette
c3b6c0c85e
Make sure exitCode is defined in the show command.
7 years ago
Jordi Boggiano
cf5dfdea6b
Update changelog
7 years ago
Jordi Boggiano
3976d9f242
Fix require command picking of specific versions, fixes #6859
7 years ago
Jordi Boggiano
fb8fecd4a5
Add missing links
7 years ago
Jordi Boggiano
d11b704617
Update changelog
7 years ago
Jordi Boggiano
a928ffa4ee
Fix require command when specifying non-stable versions, fixes #6859
7 years ago
Jordi Boggiano
c79e5fc33e
Update changelog
7 years ago
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.
7 years ago
Jordi Boggiano
5960f715f0
Add warning in show command if no dependencies are installed but the root package has dependencies, fixes #6820
7 years ago
Jordi Boggiano
5ba6d7d436
Fix pretty guessed versions to show nicely on numeric branches, refs #6845
7 years ago
Alessandro Lai
3cf31da414
Fix root package not having a pretty version when detecting from VCS, fixes #6845 , closes #6847
7 years ago
Jordi Boggiano
40f4f6bf86
Fix docblock
7 years ago
Jordi Boggiano
94a1f16c96
Fix scheme in public gitlab URLs, refs #6683
7 years ago
Jordi Boggiano
b52fd60873
Always follow redirects in userland as we need to check if we have authentication every time for the new domain
7 years ago
Jordi Boggiano
45cd26b2df
Fix test and actually check that we get hasAuthentication called for different domains
7 years ago
Jordi Boggiano
743153e862
Tweak so that we allow authentication for domains we redirect to, refs #6717
7 years ago
Maarten Balliauw
128e424c90
Avoid sending Authorization header to another domain on redirect, fixes #6716
7 years ago
Jordi Boggiano
0de1e21233
Make create-project install dependencies following optimize-autoloader config setting, fixes #6722
7 years ago
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).
7 years ago
Jordi Boggiano
a691a179e5
Merge remote-tracking branch 'naderman/improve-not-found-error' into 1.5
7 years ago
Jordi Boggiano
3c76e36e2c
Fix regex, refs #6735
7 years ago
gregory
8a136d18e5
Correctly extract username/password from URL
7 years ago
Jordi Boggiano
065b662d5b
Merge remote-tracking branch 'naderman/t/no-package-potential-issue' into 1.5
7 years ago
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
7 years ago
Jordi Boggiano
4c4f516ea2
Make sure binaries are recreated before POST-hooks fire
7 years ago
Jordi Boggiano
17ec4c17b0
Set COMPOSER_DEV_MODE for all events and not just POST hooks
7 years ago
Nils Adermann
7dffe79a0f
Update tests of solver problem message to match new message
7 years ago
Nils Adermann
f40f95b269
Add a note that a user could have forgotten to add a custom repo if package not found
7 years ago
Nils Adermann
685bc08c0a
Improve the error on init/require if a package could not be found
7 years ago
Jordi Boggiano
fc9f8c2007
Fix tests
7 years ago
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.
7 years ago
Mihai Plasoianu
02b57ff4a2
Return non-zero exit code with --strict and single package
7 years ago
Jérôme Vasseur
71c2ecbace
Fix platform package detection in VersionParser
7 years ago
Jordi Boggiano
11f1e03739
CS tweaks
7 years ago
Minh-Quan TRAN
007ca5ff6a
workaround for gitlab installation with relative url
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
7 years ago
Jordi Boggiano
e918ec9b39
Prepare 1.5.2
7 years ago
Jordi Boggiano
0745216c57
Bump cabundle
7 years ago
Jordi Boggiano
69ecb2403e
Add upgrade alias to update, fixes #6649
7 years ago
Jordi Boggiano
802849d52c
Wording tweaks
7 years ago
Deamon
3d753b117b
add test on remove mainkey at end of file
7 years ago
Deamon
5b29b7c8e3
delete last coma if deleting last element before end of file
7 years ago
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
7 years ago
Jordi Boggiano
f71baa5e0c
Try fixing 404s gitlab handling when unauthenticated, refs #6669
7 years ago
Jordi Boggiano
56964a9377
Check for new work dir with both parameters, refs #6651
7 years ago
Ayesh Karunaratne
eb078b432f
Prevent automatic parent directory composer.json discovery if working-dir parameter is set
7 years ago
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
7 years ago