293 Commits (6cf4ba051c858a31371462d6e16cc479a7ff9ac2)

Author SHA1 Message Date
Pete Cooper ea48bad401
Fix spelling mistake on Cygwin 6 years ago
Nils Adermann 019ebee185 Add missing use statement to package event to fix install --no-dev 6 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Jordi Boggiano 16af52be8a Merge remote-tracking branch 'origin/1.6' 6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Théo FIDRY 87646ae689
Hide suggest reason when there is not one 6 years ago
Jordi Boggiano 4ebb747e12 Merge branch '1.6' 6 years ago
Jordi Boggiano e697293cd9 Handle broken symlinks more cleanly, fixes #7255 6 years ago
Jordi Boggiano ef46a8afa4 Merge branch '1.6' 6 years ago
Patrick Rose b90987fdeb Fix permissions when using the PearBinaryInstaller
The PearBinaryInstaller is old and not used by many people, so the
world writable permissions weren't caught
6 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
johnstevenson 3511edc9e8 Fix shell proxy to allow user-defined cygdrive 7 years ago
Tom Klingenberg 1bc5163d34 mute first cd in win proxy stub for sh shell, fixes #6567
in the sh script, the first cd command did output the directory it cd'ed
into did output the path itself.

fix for me is to redirect it's standard output to /dev/null

using git bash on a windows 10 box.

w/o this fix, the workaround is to invoke the .bat file which is created
as well (but this is not so handy as a non windows user for me).
7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Alexander M. Turek 20050dd984 Remove console formatting as well. 7 years ago
Alexander M. Turek 401ef69ae3 Remove ANSI control characters from suggested packages output. 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Fabien Potencier 07cbb73184 fixed deprecated class usages 8 years ago
Jordi Boggiano 2d8251b7ad Fix handling of local binaries on windows, refs #5612 8 years ago
Jordi Boggiano 59596ff012 Make sure we do not overwrite binaries but only re-create missing ones, refs #5127 8 years ago
Jordi Boggiano 88d5b74c74 Merge remote-tracking branch 'j0k3r/re-install-binaries' 8 years ago
Jeremy Benoist 4f7fbbc879 Introduce InstallerBinaryInterface
This is an interface for Installer which should support installing binary.
ATM there is only the `LibraryInstaller`.

It eases the check for supported method when installing binaries for all packages
8 years ago
Sami Jawhar 9d2db57f65 BinaryInstaller::generateWindowsProxyCode() now trims both single and double quotes from $binPath when creating windows .bat file. 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Niels Keurentjes 63d3964ab5 Rollback installation of plugins if corrupted, fixes #5130 8 years ago
Jeremy Benoist e9fc0e6548 Re-install binaries on update/install
Binaries are re-installed after an update/install (ie: removed and then installed)
8 years ago
Jordi Boggiano 9af645ef50 Fix missing var ref, refs #5117 8 years ago
Jordi Boggiano 6a88d49ffb Add support for the new binary installer in PEAR installer, fixes #5117 8 years ago
Jordi Boggiano ace88fa986 Rename LibraryBinariesHandler and reorganize constructor args, refs #5100 8 years ago
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.
8 years ago
Haralan Dobrev cc389d6c1a List project suggestions in create-project command
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Jordi Boggiano 9d95456bb0 Fix bug in handling of special chars in proxy .bat files for binaries, fixes #4990 8 years ago
Jos 51d4c930ef Fix for cygwin if $dir contains spaces
Without the quotes cygpath will interpret the filename (containing spaces) as two or more different files. This results in the value of $dir being incorrect.
8 years ago
Niels Keurentjes 72a3563f1e Removed some 3 year old backward compatibility code. 9 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Niels Keurentjes 18cd4f966b Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203, #4683 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jordi Boggiano d98b134dc3 Fix removal of packages installed in custom path with custom installers not overriding uninstall, fixes #2232 9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 9 years ago
Jordi Boggiano ebe0c8d79c Fix issue #3229, refs #3184 9 years ago
Jordi Boggiano 90a90e22de Merge remote-tracking branch 'Wirone/unixy-proxy'
Conflicts:
	src/Composer/Installer/LibraryInstaller.php
9 years ago
Jordi Boggiano 3d9daea6a0 CS fixes 9 years ago
Boris Momčilović b05b52ff7e InstallationManager: notifyInstalls: append authorization header for repository 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Gavin Staniforth c1e60a0abd Ensure the bin directory exists before checking empty
Line 130 has similar logic so avoided doing the check withiin `isDirEmpty()`
9 years ago
Jordi Boggiano 80f1e4372a Remove empty bin dir after all binaries have been removed from it, fixes #3451 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Jordi Boggiano 79f9158fb2 Merge pull request #4192 from localheinz/fix/import
Fix: Add missing imports
9 years ago
Jordi Boggiano 70f5150893 Merge pull request #4190 from localheinz/fix/unused-private-property
Fix: Remove unused private property
9 years ago
Andreas Möller 12ffe2b4d4 Fix: Add missing imports 9 years ago
Andreas Möller 3854d2d457 Fix: Remove unused private property 9 years ago
Andreas Möller eac5fbdee4 Fix: Remove unused imports 9 years ago
Markus Thielen bd802407a8 Silence symlink() error
If not silenced it gives "symlink(): Operation not supported" on my ubuntu system with mounted cifs share.
9 years ago
Kocsis Máté f385518e1a Fixed merge conflict 9 years ago
Kocsis Máté 985c49d47c Removed unnecessary cwd 9 years ago
Kocsis Máté 38c26ae26b Added Symlink utility class 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 09da587ee2 Forward args 9 years ago
Jordi Boggiano 074a748675 missing use statements :s 9 years ago
Jordi Boggiano 3efed220a6 Clean up event dispatching code and make package events extend installer events 9 years ago
Kocsis Máté 08c4732d1e Improving bin-compat configuration 10 years ago
Kocsis Máté 6a776c5edf Supporting bin_compat option 10 years ago
Jordi Boggiano 2b16a73659 Load plugins before purging packages, fixes #3557 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano efcdb394d3 Rename *-solve-dependencies to *-dependencies-solving 10 years ago
Jordi Boggiano 81fa284c9b Merge remote-tracking branch 'francoispluchino/installer-events' 10 years ago
frederik d1d40502bf ProcessExecutor::escape 10 years ago
frederik 7ae1430689 #3297 ProcessUtil class using ProcessUtil of Symfony Console 10 years ago
Grzegorz 'Wirone' Korba fb26187449 Comment changes (just for re-run Travis tests) 10 years ago
Grzegorz 'Wirone' Korba e20668b321 Restore '#!/usr/bin/env sh' shebang 10 years ago
Grzegorz 'Wirone' Korba 0558bf0079 generateUnixyProxyCode() properly supporting Cygwin & Git Bash
Based on Composer's proxy: https://github.com/composer/windows-setup/blob/master/src/shims/composer
10 years ago
François Pluchino 1067ce4f96 Add installer events 10 years ago
Jordi Boggiano 745dcbce33 Fix file deletions to always use a delayed retry on windows, fixes #3074 10 years ago
Jordi Boggiano b232a31815 Fix --no-plugins support in installation manager, fixes #3031 10 years ago
Jordi Boggiano 56c5af8dc4 realpathGlob tweaks, refs #2932 10 years ago
Richard Quadling 443858dae7 Force all glob results to be realpath'd. 10 years ago
Igor Wiedler c0086ba1e3 Clarify log messages when skipping existing bins 10 years ago
Nils Adermann 54b8831131 Revert "correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute)"
This reverts commit 79a4c5cac1.
11 years ago
Pierre-yves Christmann 79a4c5cac1 correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute) 11 years ago
Jordi Boggiano 8398c9f2ab Fix target-dir update checks, fixes #2395 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago
Jordi Boggiano 4989940533 Merge pull request #2317 from xrstf/installer-binaries
attempted fix for #1589 (installers & binaries)
11 years ago
Christoph f0842213e0 make sure relative paths from custom installers to not break the installation of binaries 11 years ago
Nicolas Bastien 52711d121c Remove unused use statement. 11 years ago
Jordi Boggiano 05ffc605f1 Ignore chmod failures, fixes #1854 11 years ago
Jordi Boggiano 3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 11 years ago
Jordi Boggiano 807600b255 Fix edge case where one adds a target-dir on a package that didnt have one before, refs #2279 11 years ago
Karoly Negyesi 1a69d0a2a7 style fixes 11 years ago
Karoly Negyesi f4e9c74fee style fixes 11 years ago
Karoly Negyesi c6ec739766 allow injecting a mock filesystem into LibraryInstaller and fix LibraryInstallerTest 11 years ago
Karoly Negyesi b333d7a485 act on target-dir changes during update 11 years ago
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann 2f43e9aefb Load installed plugins at appropriate time and adapt tests accordingly 11 years ago
Nils Adermann eb966d347f Implement a plugin manager and interface, update installer plugin tests 11 years ago
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 11 years ago