Christoph Herbst
cbfd83ba0e
trim trailng slash from symlink names
...
symlink names are not allowed to contain
a trailing slash, so trim it.
2016-04-07 12:55:52 +02:00
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
2016-04-07 01:12:30 +02:00
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
2016-04-07 00:52:50 +02:00
Andy Waterman
d4207ff49f
Strict type checks of null and bool
2016-04-06 20:55:53 +01:00
Jordi Boggiano
40c14709f7
Update changelog for 1.0.0
2016-04-05 13:27:16 +01:00
Jordi Boggiano
9f3b1fd062
Merge remote-tracking branch 'curry684/issue-5130'
2016-04-05 10:59:40 +01:00
Jordi Boggiano
997b5ef536
Merge pull request #5129 from hiqsol/get-global-composer
...
Added getter for global composer
2016-04-05 10:52:15 +01:00
Niels Keurentjes
63d3964ab5
Rollback installation of plugins if corrupted, fixes #5130
2016-04-04 23:08:18 +02:00
Jordi Boggiano
bc1d92aeee
Merge pull request #5144 from ktomk/patch-6
...
Skip non-empty directories in zip generation
2016-04-03 19:44:22 +02:00
Tom Klingenberg
8389b4b829
Skip non-empty directories in zip generation
...
Empty dirs get archived (leafs).
Previously it seemed ok to skip all directories in zip generation.
References:
- Ref: 6066359944
- Issue: #4865 Keep empty folders after re-zip a module
2016-04-02 20:50:20 +02:00
Jordi Boggiano
b2b4603215
Fix handling of http://foo/packages.json style repo URLs, fixes #5135
2016-04-02 14:49:26 +01:00
Jordi Boggiano
134ce134a2
Rename COMPOSER_DISABLE_ROOT_WARN to COMPOSER_ALLOW_SUPERUSER, refs #5119
2016-04-02 14:25:21 +01:00
Jordi Boggiano
cb8587cdad
Add COMPOSER_DISABLE_ROOT_WARN env var and skip root warning on self-update command as well, refs #5119
2016-04-01 12:31:07 +01:00
Jordi Boggiano
eb84ca564f
Use unique cache dir for integration tests as well
2016-04-01 12:07:42 +01:00
Jordi Boggiano
1bd9c8da3c
More ruletest fixes for 7.1
2016-04-01 11:58:42 +01:00
Jordi Boggiano
c74e6df65d
Fix strings being passed to an int arg, fixes 7.1 build
2016-04-01 11:52:19 +01:00
Jordi Boggiano
870dcece1f
Merge pull request #5120 from Seldaek/improve-errors
...
Improve solver error reporting
2016-04-01 12:34:40 +02:00
Jordi Boggiano
5822b58c1f
Avoid using realpath when generating classmap, speeds up generation and keeps paths local to project in case of symlinks/path repo
2016-04-01 11:32:04 +01:00
Jordi Boggiano
e5813d06ae
Merge pull request #5125 from markatom/rss-support
...
Add RSS channel to support section in composer schema
2016-04-01 03:34:27 +02:00
Jordi Boggiano
dfd22c641d
Bulletproof sudo clobbering, refs #5122
2016-04-01 01:24:31 +01:00
Jordi Boggiano
289ef7fbfb
Merge remote-tracking branch 'curry684/issue-5119'
2016-04-01 01:22:44 +01:00
Jordi Boggiano
fc57cc8d7e
Remove changes in StreamContextFactory, refs #5055
2016-04-01 01:00:48 +01:00
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
2016-04-01 00:59:11 +01:00
Jordi Boggiano
23af589076
Add test case for solver problem improvements
2016-04-01 00:38:00 +01:00
David Zuelke
5dd4d69a6d
fail download on content-length mismatch
2016-04-01 01:36:05 +02:00
Jordi Boggiano
623c0dcda7
Improve solver error reporting, fixes #5086 , fixes #2575 , fixes #2661
2016-04-01 00:18:36 +01:00
Andrii Vasyliev
5b759da174
add getter for global composer
2016-03-29 21:21:44 +00:00
Jordi Boggiano
e8b1a5f357
Merge pull request #5126 from DavidPrevot/equals
...
Fix method name
2016-03-29 09:53:57 +02:00
Jordi Boggiano
95ec3eb3ee
Merge pull request #5032 from curry684/proposal-5508
...
Centralize secure-http checking
2016-03-29 09:43:58 +02:00
David Prévot
933a8e1d09
Fix method name
...
It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
2016-03-28 23:37:19 -04:00
Jeremy Benoist
e9fc0e6548
Re-install binaries on update/install
...
Binaries are re-installed after an update/install (ie: removed and then installed)
2016-03-28 23:15:13 +02:00
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
2016-03-28 22:01:32 +02:00
Paul.Wenke
59ae2716aa
Fixed typo in exception message for Bitbucket config command.
2016-03-28 09:13:58 -04:00
Niels Keurentjes
a0070e724b
Clobber any existing sudo leases before execution to prevent malicious code gaining root privileges.
2016-03-28 13:10:43 +02:00
Tomáš Markacz
bb05ce5c7f
Add RSS channel to support section in composer schema ( closes #5073 )
2016-03-28 10:23:34 +02:00
Niels Keurentjes
557a55fbe5
Clobber sudo credentials to prevent careless privilege escalations.
2016-03-27 23:42:39 +02:00
Jordi Boggiano
37a1e12672
Mark failed downloads as failed instead of 100% complete, fixes #5111
2016-03-27 17:14:51 +01:00
Jordi Boggiano
7595734df0
Fix changelog link
2016-03-27 16:19:06 +01:00
Jordi Boggiano
0c6133b481
Update CHANGELOG
2016-03-27 13:49:49 +01:00
Jordi Boggiano
95c263284a
Merge pull request #5064 from Seldaek/update-channels
...
Add update channels support to self-update and diagnose
2016-03-27 14:49:09 +02:00
Jordi Boggiano
9af645ef50
Fix missing var ref, refs #5117
2016-03-27 13:25:07 +01:00
Jordi Boggiano
6a88d49ffb
Add support for the new binary installer in PEAR installer, fixes #5117
2016-03-27 13:16:11 +01:00
Jordi Boggiano
a188db237b
Merge pull request #5116 from vlakoff/self-update-2
...
Fix missing argument for getLastBackupVersion()
2016-03-27 10:50:23 +02:00
vlakoff
47d196f37f
Fix missing argument for getLastBackupVersion()
2016-03-27 00:25:17 +01:00
Jordi Boggiano
f542b0f32d
Only use Path if it is actually available, refs #5114
2016-03-26 09:49:28 +00:00
Jordi Boggiano
2f6b4c439d
Merge remote-tracking branch 'mizunashi-mana/fix-issue-5045'
2016-03-26 09:48:18 +00:00
Jordi Boggiano
e0fa2ed9c6
Merge remote-tracking branch 'vlakoff/clean-backups'
2016-03-26 09:27:44 +00:00
Jordi Boggiano
747af10483
Clarify required by root message, refs #5099
2016-03-26 09:24:58 +00:00
Jordi Boggiano
5f9d4a81a0
Merge remote-tracking branch 'curry684/moar-logging'
2016-03-26 08:49:14 +00:00
Jordi Boggiano
ace88fa986
Rename LibraryBinariesHandler and reorganize constructor args, refs #5100
2016-03-26 08:44:54 +00:00