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
8 years ago
Jordi Boggiano
59596ff012
Make sure we do not overwrite binaries but only re-create missing ones, refs #5127
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)
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
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
9 years ago
Rob Bast
a8995b2572
use dirsep so phpunit on windows doesnt fail
9 years ago
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 years ago
François Pluchino
1067ce4f96
Add installer events
10 years ago
Jordi Boggiano
8398c9f2ab
Fix target-dir update checks, fixes #2395
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
Jordi Boggiano
a813867065
Merge remote-tracking branch 'chx/913'
11 years ago
Jordi Boggiano
38917c2047
Add parallel build to travis script
11 years ago
Karoly Negyesi
e32e4ad490
change the test to test for a target dir change
11 years ago
Karoly Negyesi
24c9ef72d6
make LibraryInstallerTest a little more strict
11 years ago
Karoly Negyesi
c6ec739766
allow injecting a mock filesystem into LibraryInstaller and fix LibraryInstallerTest
11 years ago
Nils Adermann
3e41977be7
Plugin tests are no longer strictly installer tests
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
Martin Hasoň
b1c4eed57f
Throw exception if the local repository does not contain a package to uninstall
11 years ago
Jordi Boggiano
c32470c7df
Update docs, fix tests
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
a2171e2ed1
Expose LibraryInstallerTest properties to child classes
12 years ago
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
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
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Andrew Short
e0a1d9ef58
Support multiple installers in a composer-installer package.
12 years ago
Jordi Boggiano
ef300ca56a
Fix tests
13 years ago
Jordi Boggiano
d1f66073ca
Update depends command
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
ab55490254
Merge remote-tracking branch 'hason/metapackage'
13 years ago
Martin Hasoň
c85ae48e5d
Vendor dir can be outside the current working directory
13 years ago
Jordi Boggiano
ada9c20db1
Update Git/Hg downloaders tests, making sure they never use a live filesystem instance
13 years ago
Wookieb
f93135b3bd
Cosmetic tests fix - remove test directories
13 years ago
Martin Hasoň
528a058e40
Added installer for metapackages
13 years ago
Wookieb
8d3b40ff8e
Tests should remove created directories after testing process
13 years ago
Jordi Boggiano
3fe87b1e35
Force dev packages to be installed from source
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
Jordi Boggiano
5da021ffa7
Moved Filesystem to base Util namespace
13 years ago
Jordi Boggiano
2262a3f864
Fix test
13 years ago
digitalkaoz
4d0fae688e
removed replace, reinstalling as install
13 years ago