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
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
Elenor
2a33a7bed6
Allow whitespace in installers - fix for issue #2071
...
Custom installers can have the class definition indented.
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
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Jordi Boggiano
1debe22412
Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946 , fixes #1839
11 years ago
Josiah
ce71dfb10e
Update InstallerInterface.php
...
Fixed an incorrect documentation variable reference
11 years ago
qcho
d4fb403fd7
Fix case where PHP's symlink returns false without any error or warning.
11 years ago
Jordi Boggiano
57fe33d0f3
Make sure the directory is empty even if weird inputs are given, fixes #1683
11 years ago
Jordi Boggiano
0d06eb1f9a
Avoid overwriting existing windows .bat proxies if they were provided by the package
11 years ago
Jordi Boggiano
1071048e52
Merge remote-tracking branch 'miklosm/iss1675.2'
11 years ago
Miklós Márton
661df121d9
Proposed fix for #1675
11 years ago
Miklós Márton
42346ad837
Fix for ordering problem during package removal resulting dangling symlinks, partially fixes #1675
11 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
12 years ago
Jordi Boggiano
2a23f8c48b
Allow create-project to be called in an empty dir that exists, fixes #1135 , replaces #1206
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago
Fernando Mantoan
df592d40de
Solving the issue #1387
12 years ago
Jordi Boggiano
4965fb599c
s/return/continue/
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
Jordi Boggiano
e868c9706b
Add support for batch notifications
12 years ago
Jordi Boggiano
de3188ca7d
Remove target dir for classmap autoloads of the root package, fixes #1308
12 years ago
Jordi Boggiano
6206d0bc9c
Make unix proxies work with spaces in paths
12 years ago
Djordje Kovacevic
d92ccd111d
Fixed library installer windows .bat generator
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Jordi Boggiano
e1e7141ae9
Apply updates in the NoopInstaller
12 years ago
Mateusz Heleniak
4e638009ab
fixed generated windows proxy file for *.exe
12 years ago
Jordi Boggiano
e0dc045955
Merge pull request #1054 from mheleniak/clean_up_bat_files
...
Clean up *.bat files when binary is removed
12 years ago
Benjamin Lévêque
042d2d4a77
readlink -f is missing on osx
...
+ osx can't execute a script with an another script
12 years ago
Mateusz Heleniak
924d39f405
also clean up *.bat files
12 years ago
Jordi Boggiano
b96c1dd5fa
Prevent missing bins from breaking the whole install
12 years ago
Jordi Boggiano
ef637c8f1a
CS fixes
12 years ago
Jordi Boggiano
269b3481c4
Fix PEAR binaries when the bin dir is non standard, fixes #1001
12 years ago
Johannes M. Schmitt
88a1f27798
added a way to disable custom installers
12 years ago
Alexey Prilipko
22d41845ae
Exclude dirs from list of binaries
12 years ago
Alexey Prilipko
bc2d30492a
Add php proxies to replacement vars.
12 years ago
Alexey Prilipko
3bdae180f6
Add php proxies that add all locally installed packages to include_path. PEAR binaries are run through these proxies.
12 years ago
Jordi Boggiano
74da2f6730
Remove unnecessary code
12 years ago
Alexey Prilipko
9ba3deb91b
Fix text spacing and remove excess getInstallPath call in LibraryInstaller::update
12 years ago
Alexey Prilipko
59773dd9f6
Use trim filter on 'php' location
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago
Nils Adermann
d84273ee34
Merge pull request #833 from Seldaek/installmgr_cleanup
...
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
b876dcbafb
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
a4c829749e
Expose the whole composer context to the custom installers, fixes #672
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
6e90c0be51
CS fixes
12 years ago
Jordi Boggiano
a518f471f7
Ensure aliases are removed from local repos when a package is deleted from the filesystem
12 years ago
Jordi Boggiano
e953b4c891
Ensure vendor dir is initialized before generating the install path of a package
12 years ago
Jordi Boggiano
b92a19ce4b
Fix windows bin proxy when there are spaces in the path
12 years ago
Jordi Boggiano
935eaa9646
Fix windows proxy code
12 years ago
Jordi Boggiano
d21032ace5
CS fixes
12 years ago
Andrew Short
e0a1d9ef58
Support multiple installers in a composer-installer package.
12 years ago
Jordi Boggiano
4afca78daa
Add missing class
12 years ago
Jordi Boggiano
c440b4594a
More PSR-2 goodness
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Jordi Boggiano
6864555aa4
Do not notify installation of aliases
12 years ago
Nils Adermann
0c1944a9d0
Let the solver handle aliases instead of the installer
12 years ago
Jordi Boggiano
90732fd03f
Clean up vendor dir after a package was removed
12 years ago
Jordi Boggiano
f7440076fa
Revert "Merge remote-tracking branch 'naderman/remove-packages-by-default'"
...
This reverts commit 2988152602
, reversing
changes made to adb4188e12
.
12 years ago
Jordi Boggiano
2988152602
Merge remote-tracking branch 'naderman/remove-packages-by-default'
12 years ago
Jordi Boggiano
bd50ad32f0
Refactor InstallationManagerMock
12 years ago
Jordi Boggiano
2dffa612a3
Merge remote-tracking branch 'igorw/root-install-twice'
12 years ago
Jordi Boggiano
22a825fc07
Clean up vendor dir after a package was removed
12 years ago
Igor Wiedler
8d71030cc1
[Installer] Classic var_dump must be removed
12 years ago
Igor Wiedler
aa4ececa2a
[Installer] Make bin symlinks relative, closes #620
12 years ago
Igor Wiedler
b83422b051
[Installer] Fix removeBinaries, closes #567
12 years ago
Igor Wiedler
0995933183
Do not install root package as a vendor if some dependency requires it, closes #480
...
Also add some tests for the installer.
12 years ago
Jordi Boggiano
903facd64f
Make sure the anti-aliased package contains the alias info from the correct alias
12 years ago
Jordi Boggiano
4a55d85a2d
Respect umask in chmod calls
12 years ago
Jordi Boggiano
bf6fd10a8a
Make use of the proper interface
12 years ago
Jordi Boggiano
e12b0e842d
Fix project installer, fixes #587
12 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
12 years ago
Jordi Boggiano
b094ef7155
Add repository notification API support
12 years ago
Mike van Riel
a01366e3f5
Added ->io to the creation of composer installers to match signature of LibraryInstaller; this will enable users to extend LibraryInstaller and use the same facilities
12 years ago
Jordi Boggiano
ceac0ca75b
Fix updating of already installed dev packages, fixes #496
12 years ago
Jordi Boggiano
87c1629ebc
Fix isInstalled detection broken by metapackage installer
12 years ago
Jordi Boggiano
583a0b5f0d
Lazy-init the bin directory, fixes #364
12 years ago
Jordi Boggiano
ab55490254
Merge remote-tracking branch 'hason/metapackage'
12 years ago
Jordi Boggiano
cdfcaface4
Merge remote-tracking branch 'hason/vendordir'
12 years ago
Brikou CARRE
3ae860f485
fixed issue #486
12 years ago
Martin Hasoň
c85ae48e5d
Vendor dir can be outside the current working directory
12 years ago
Benjamin Eberlei
bbf745f3e6
Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path.
13 years ago
Jordi Boggiano
0b7ee194c6
Remove persistence of alias data, make abstract branch aliasing and keep it in composer only
13 years ago
Martin Hasoň
528a058e40
Added installer for metapackages
13 years ago