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
12 years ago
qcho
d4fb403fd7
Fix case where PHP's symlink returns false without any error or warning.
12 years ago
Jordi Boggiano
57fe33d0f3
Make sure the directory is empty even if weird inputs are given, fixes #1683
12 years ago
Jordi Boggiano
0d06eb1f9a
Avoid overwriting existing windows .bat proxies if they were provided by the package
12 years ago
Jordi Boggiano
1071048e52
Merge remote-tracking branch 'miklosm/iss1675.2'
12 years ago
Miklós Márton
661df121d9
Proposed fix for #1675
12 years ago
Miklós Márton
42346ad837
Fix for ordering problem during package removal resulting dangling symlinks, partially fixes #1675
12 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.
13 years ago
Jordi Boggiano
4afca78daa
Add missing class
13 years ago
Jordi Boggiano
c440b4594a
More PSR-2 goodness
13 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Jordi Boggiano
6864555aa4
Do not notify installation of aliases
13 years ago
Nils Adermann
0c1944a9d0
Let the solver handle aliases instead of the installer
13 years ago
Jordi Boggiano
90732fd03f
Clean up vendor dir after a package was removed
13 years ago
Jordi Boggiano
f7440076fa
Revert "Merge remote-tracking branch 'naderman/remove-packages-by-default'"
...
This reverts commit 2988152602
, reversing
changes made to adb4188e12
.
13 years ago
Jordi Boggiano
2988152602
Merge remote-tracking branch 'naderman/remove-packages-by-default'
13 years ago
Jordi Boggiano
bd50ad32f0
Refactor InstallationManagerMock
13 years ago
Jordi Boggiano
2dffa612a3
Merge remote-tracking branch 'igorw/root-install-twice'
13 years ago
Jordi Boggiano
22a825fc07
Clean up vendor dir after a package was removed
13 years ago
Igor Wiedler
8d71030cc1
[Installer] Classic var_dump must be removed
13 years ago
Igor Wiedler
aa4ececa2a
[Installer] Make bin symlinks relative, closes #620
13 years ago
Igor Wiedler
b83422b051
[Installer] Fix removeBinaries, closes #567
13 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.
13 years ago
Jordi Boggiano
903facd64f
Make sure the anti-aliased package contains the alias info from the correct alias
13 years ago
Jordi Boggiano
4a55d85a2d
Respect umask in chmod calls
13 years ago
Jordi Boggiano
bf6fd10a8a
Make use of the proper interface
13 years ago
Jordi Boggiano
e12b0e842d
Fix project installer, fixes #587
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
b094ef7155
Add repository notification API support
13 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
13 years ago
Jordi Boggiano
ceac0ca75b
Fix updating of already installed dev packages, fixes #496
13 years ago
Jordi Boggiano
87c1629ebc
Fix isInstalled detection broken by metapackage installer
13 years ago
Jordi Boggiano
583a0b5f0d
Lazy-init the bin directory, fixes #364
13 years ago
Jordi Boggiano
ab55490254
Merge remote-tracking branch 'hason/metapackage'
13 years ago
Jordi Boggiano
cdfcaface4
Merge remote-tracking branch 'hason/vendordir'
13 years ago
Brikou CARRE
3ae860f485
fixed issue #486
13 years ago
Martin Hasoň
c85ae48e5d
Vendor dir can be outside the current working directory
13 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
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
13 years ago
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
13 years ago
Jordi Boggiano
3fe87b1e35
Force dev packages to be installed from source
13 years ago
Jordi Boggiano
f54b04aac8
Restore realpath behavior
13 years ago
Wookieb
2467456d3f
Fix installer that create vendor and bin directory even if --dry-run parameter provided
...
* Move directories creation from constructor to "install" and "update" method
* Tests for LibraryInstaller
13 years ago
Beau Simensen
3cbbe1fd82
No need for group or world write permissions.
13 years ago
Beau Simensen
04f0ecfc01
Change permission of bin links if they exist and are already links
13 years ago
Jordi Boggiano
5da021ffa7
Moved Filesystem to base Util namespace
13 years ago