Jordi Boggiano
ace88fa986
Rename LibraryBinariesHandler and reorganize constructor args, refs #5100
9 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.
9 years ago
Jordi Boggiano
9d95456bb0
Fix bug in handling of special chars in proxy .bat files for binaries, fixes #4990
9 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.
9 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
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
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
Markus Thielen
bd802407a8
Silence symlink() error
...
If not silenced it gives "symlink(): Operation not supported" on my ubuntu system with mounted cifs share.
10 years ago
Kocsis Máté
f385518e1a
Fixed merge conflict
10 years ago
Kocsis Máté
985c49d47c
Removed unnecessary cwd
10 years ago
Kocsis Máté
38c26ae26b
Added Symlink utility class
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Kocsis Máté
08c4732d1e
Improving bin-compat configuration
10 years ago
Kocsis Máté
6a776c5edf
Supporting bin_compat option
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
Jordi Boggiano
745dcbce33
Fix file deletions to always use a delayed retry on windows, fixes #3074
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
11 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
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
Jordi Boggiano
02828a81d2
Merge remote-tracking branch 'Rarst/fix-winproxy-quotes'
11 years ago
Martin Hasoň
b1c4eed57f
Throw exception if the local repository does not contain a package to uninstall
11 years ago
Andrey Savchenko
e9522e29dd
Removed quotes that escaping generated inside of path in win proxy script
...
Fixes #2040
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
qcho
d4fb403fd7
Fix case where PHP's symlink returns false without any error or warning.
12 years ago
Jordi Boggiano
0d06eb1f9a
Avoid overwriting existing windows .bat proxies if they were provided by the package
12 years ago