Jordi Boggiano
d942c65e0c
Fix more warnings
4 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
db32d6bc18
do not use env
5 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
6 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
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
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
Martin Hasoň
b1c4eed57f
Throw exception if the local repository does not contain a package to uninstall
11 years ago
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
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
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
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
Jordi Boggiano
ef300ca56a
Fix tests
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
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
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
digitalkaoz
30e89a2402
fixed broken packages on filesystem
13 years ago
Jordi Boggiano
e4dbee2648
Fix tests
13 years ago
Jordi Boggiano
94a8e8809c
Fix travis builds
13 years ago
Jordi Boggiano
116b17dfc0
Fix test suite for OSX
13 years ago
Jordi Boggiano
aefd2062c1
Update tests
13 years ago
Jordi Boggiano
aa94918d50
Add binaries support in composer
13 years ago
Jordi Boggiano
14e9d4d84b
Fix test
13 years ago
Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
13 years ago
Jordi Boggiano
4904e76185
Install every package in its own directory, fixes #73
13 years ago
Jordi Boggiano
8a571c05db
Fix issues in new autoloader code
13 years ago
Jordi Boggiano
753caf2b55
Fix tests on windows
13 years ago
everzet
2fc0699492
Moved operations evaluation into new InstallationManager class
13 years ago
everzet
6133108710
Refactored LibraryInstaller to use WritableRepository instead of Registry
13 years ago
everzet
0a2f4e7e32
Installer now provides full download path to the downloader
13 years ago