1
0
Fork 0
Commit Graph

4294 Commits (818c3e707a1556bc3ecff7cc41c110e0db593665)

Author SHA1 Message Date
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
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
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 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 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 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
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
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 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
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
Jordi Boggiano 6527bb4166 Merge pull request #5100 from helhum/master
Extract binary installation and removal to own class
2016-03-26 09:39:51 +01:00
Jordi Boggiano 340d9789c8 Merge pull request #5095 from schlessera/schlessera-4451-relative-path
Make sure to use an absolute path for symlinking in PathDownloader.
2016-03-26 09:37:17 +01:00
nishiyama 8b221905ca fix path info 2016-03-25 20:04:43 +09:00
Niels Keurentjes 8e78ce9a43 Add extra logging before and after SAT solving 2016-03-24 23:19:40 +01:00
Jordi Boggiano edebbef98a Add test and fix for very large repos, moar possessive quantifiers, fixes #5104 2016-03-24 16:04:52 +00:00
Jordi Boggiano 2217f4e09e Add support for PREG_JIT_STACKLIMIT_ERROR, refs #5104 2016-03-24 16:00:44 +00:00
Helmut Hummel b1ec99faed Extract binary installation and removal to own class
The functionality to install binaries might be useful
for other installers.
Create API for that by extracting this functionality from
the LibraryInstaller class.
2016-03-23 21:39:58 +01:00
Alain Schlesser 4e9885e9bc Make sure to use an absolute path for symlinking in PathDownloader. Resolves #4451 2016-03-23 12:19:41 +01:00
Paul Wenke 9059d70ba0 Corrected username / access token parameters for $this->io->setAuthentication when read from git config. Grant type is now only set when requesting an access token. Removed bitbucket-domains and bitbucket-protocols from config. Fixed bitbucket typo in JsonConfigSource. Removed unecessary comments. Changed visibility of Composer/Util/Bitbucket properties to private. Added https to bitbucket url. Removed unused $note variable. 2016-03-20 15:56:58 -04:00
Jordi Boggiano cb971fcb0e Hijack pear.php.net from http to force https, refs #5071 2016-03-17 11:24:22 +00:00
Jon Dufresne 939955fb2c Prefer the first https:// PEAR mirror; avoid http://.
Fixes #5069
2016-03-15 14:58:55 -07:00
Jordi Boggiano 0db8bbfda3 Add update channels support to self-update and diagnose, fixes #4960 2016-03-15 14:13:08 +00:00
Jordi Boggiano 55b0ed8c8b Change installs into updates if there is no lock file, simplify some code, fixes #5034 2016-03-15 14:05:07 +00:00
Jordi Boggiano 653326e215 Merge pull request #5059 from alcohol/issue-4795-2
simplified existing test, added a new test - related to #4795
2016-03-15 10:56:48 +00:00
Jordi Boggiano 9580a76f0d Merge pull request #5049 from curry684/issue-5048
Make path repository options part of the dist reference hash
2016-03-15 10:38:26 +00:00
Rob Bast 8a19e8bd17 fix follow up issue to #4795 2016-03-15 11:17:58 +01:00
Niels Keurentjes fafac386b7 Ensure stat cache is cleared for junctions when using outside modifications. 2016-03-14 12:27:41 +01:00