闫兴茂
e4bb306dfc
Fix for CI
2017-12-19 22:32:10 +08:00
闫兴茂
1c0a494c72
Update findBestVersionForPackage method to support return package name
2017-12-19 22:17:24 +08:00
闫兴茂
354bd7f7e2
Update parse name version parirs name to lower
2017-12-18 14:55:03 +08:00
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
2017-12-17 15:05:08 +01:00
Jordi Boggiano
8bc02d1aed
Merge pull request #6904 from brettsantore/doc-update
...
clarify optionality of package in require command
2017-12-17 15:02:18 +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
Jordi Boggiano
a55d9ce7b0
Merge pull request #6875 from OskarStark/strategy
...
output used strategy
2017-12-17 12:56:09 +01:00
Jordi Boggiano
b110f86aa0
Merge branch '1.5'
2017-12-16 22:42:30 +01:00
Jordi Boggiano
7d57f84b7d
Merge pull request #6879 from OskarStark/output
...
highlight previous composer version
2017-12-16 22:08:47 +01:00
Tom Rochette
c3b6c0c85e
Make sure exitCode is defined in the show command.
2017-12-16 22:08:10 +01:00
Gabriel Caruso
32a409a3ee
Clean elses
2017-12-16 04:23:48 -02:00
Brett Santore
449ecf098d
clarify optionality of package in require command
2017-12-14 11:44:54 -05:00
Oskar Stark
8b90037d7b
highlight previous composer version
2017-12-07 10:12:21 +01:00
Oskar Stark
e85bcc882c
output used strategy
2017-12-07 10:08:34 +01:00
Jordi Boggiano
ed20b3b4f6
Fix OutputFormatter creation with Symfony 4, fixes #6871
2017-12-07 09:21:26 +01:00
Jordi Boggiano
6bb3ab1868
Tweak help/description
2017-12-01 17:03:42 +01:00
Jordi Boggiano
b579884e15
Tweak check-platform-reqs command to check all constraints and output more information about what requires failed, refs #6709
2017-12-01 17:00:15 +01:00
Jordi Boggiano
edf561d602
Merge remote-tracking branch 'swumao/master'
2017-12-01 15:43:31 +01:00
Jordi Boggiano
b2f283cbd2
Merge pull request #6696 from legoktm/sort-installed
...
Sort vendor/composer/installed.json deterministically
2017-12-01 15:27:55 +01:00
Jordi Boggiano
224d272a0e
Merge branch '1.5'
2017-12-01 14:30:56 +01:00
Jordi Boggiano
3976d9f242
Fix require command picking of specific versions, fixes #6859
2017-12-01 14:30:51 +01:00
Jordi Boggiano
755482ddb1
Merge branch '1.5'
2017-12-01 11:01:35 +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
6a08755c25
Merge branch '1.5'
2017-11-30 17:08:38 +01:00
Pedro de Carvalho
f569833f5a
move $length variable outsite foreach ( #6828 )
...
the `foreach` over the `prefixDirsPsr4[$search]` won't affect `$length`.
It's used for the offset of `$logicalPathPsr4`.
2017-11-30 16:29:30 +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
Markus Staab
ecb26c7b75
support COMPOSER env var in validate command ( #6834 )
...
* support COMPOSER env var in validate command
2017-11-30 15:39:00 +01:00
Jordi Boggiano
6256e17149
Merge branch '1.5'
2017-11-30 15:19:19 +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
eab826b00b
Merge branch '1.5'
2017-11-29 16:37:49 +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
b59dd23bb4
Merge branch '1.5'
2017-11-29 15:58:44 +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
Jordi Boggiano
e5d07fde6b
Merge pull request #6743 from zachflower/feature/init_defaults
...
Composer init default values
2017-11-29 14:47:54 +01:00
Jordi Boggiano
fedef55362
Merge remote-tracking branch 'arjank/abandoned_package_warning'
2017-11-29 14:16:10 +01:00
Jordi Boggiano
535e7262e4
Fix php5.3
2017-11-29 11:49:19 +01:00
Jordi Boggiano
a1e292d84d
Let users open the homepage of the current package by doing composer home without argument, fixes #6748
2017-11-29 11:08:08 +01:00
Jordi Boggiano
5130d02208
Update to latest ca-bundle
2017-11-29 10:41:53 +01:00
Jordi Boggiano
ec63c213f8
Allow unsetting the whole platform config key
2017-11-29 10:33:44 +01:00
Jordi Boggiano
9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
...
Symfony 4
2017-11-28 18:30:31 +01:00
Jordi Boggiano
0b3bc4ccb9
Merge branch '1.5'
2017-11-28 18:09:36 +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