Jordi Boggiano
e218b811e0
Convert static Process into an executor that can be injected
2012-01-18 09:27:57 +01:00
Jordi Boggiano
e4dbee2648
Fix tests
2012-01-17 23:13:35 +01:00
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
2012-01-17 23:08:12 +01:00
Jordi Boggiano
edf948454b
Remove IO from Solver, debug methods don't need it
2012-01-17 22:46:52 +01:00
Jordi Boggiano
e91897a59b
Restore +x on bin files
2012-01-17 22:34:37 +01:00
Jordi Boggiano
6492118f29
Merge remote-tracking branch 'francoispluchino/master'
...
Conflicts:
src/Composer/Repository/Vcs/GitDriver.php
src/Composer/Repository/Vcs/HgDriver.php
src/Composer/Repository/Vcs/SvnDriver.php
2012-01-17 22:31:27 +01:00
Jordi Boggiano
e3a25db0a3
Add community/ML stuff to the README
2012-01-17 22:23:31 +01:00
Jordi Boggiano
6cfed52aae
Merge remote-tracking branch 'digitalkaoz/process'
2012-01-17 21:47:37 +01:00
François Pluchino
8053878b6a
Merge branch 'master'
...
Conflicts:
src/Composer/Console/Application.php
2012-01-17 17:56:06 +01:00
François Pluchino
03f5eee3fa
Fix some improvements
2012-01-17 14:53:50 +01:00
François Pluchino
9963bde367
Fix some improvements
2012-01-17 13:24:18 +01:00
François Pluchino
541285022d
Replace CURL with copy() and file_get_contents()
2012-01-17 12:52:14 +01:00
Jordi Boggiano
d1416a35a2
Fix missing arg
2012-01-17 12:10:34 +01:00
Jordi Boggiano
3bed815b19
Restore bindir/vendordir behavior, fixes #216
2012-01-17 11:54:02 +01:00
François Pluchino
a5fb4abb36
Fix some improvements
2012-01-17 10:29:54 +01:00
Jordi Boggiano
b97067c618
Merge pull request #215 from igorw/factory
...
Refactor Application::bootstrapComposer into a factory class (split from #178 )
2012-01-17 01:19:16 -08:00
Igor Wiedler
81f9adc596
Refactor Application::bootstrapComposer into a factory class (split from #178 )
2012-01-17 10:00:53 +01:00
Jordi Boggiano
bfe28905d0
Fix formatting and make pretty-printing optional
2012-01-17 01:33:02 +01:00
Justin Rainbow
447230d77a
Extracting JsonFile additions for prettifying JSON
2012-01-16 16:42:36 -07:00
Jordi Boggiano
f273b436cc
Merge pull request #212 from stof/find_packages_tests
...
Find packages tests
2012-01-16 13:50:54 -08:00
Christophe Coevoet
bca786d5c3
Fixed the tests
...
array_filter preserves the keys even when filtering an array indexed
numerically.
2012-01-16 22:40:14 +01:00
Christophe Coevoet
38a5f04ea0
Added a test for the new findPackagesByName method
2012-01-16 22:40:03 +01:00
Jordi Boggiano
05c84e9dfd
Merge pull request #208 from stof/find_packages
...
Find packages
2012-01-16 13:13:46 -08:00
Christophe Coevoet
bd1d20b2c9
Fixed CS
2012-01-16 22:11:31 +01:00
François Pluchino
0f9dcc9618
Remplace all echo with writeln method of IO
2012-01-16 20:44:06 +01:00
François Pluchino
7888ec5313
Add Authentification in FileDownloader
2012-01-16 20:09:32 +01:00
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
2012-01-16 14:14:15 +01:00
Christophe Coevoet
1fdb7aef56
Changed the ShowCommand to use the new method
2012-01-16 12:52:17 +01:00
Christophe Coevoet
fc17e26bc3
Added a method to find packages by name
2012-01-16 12:44:47 +01:00
Jordi Boggiano
098ba8e583
Add test
2012-01-15 14:15:53 +01:00
Jordi Boggiano
8b1b4527bd
Fix code coverage report, fixes #205
2012-01-15 13:50:29 +01:00
Jordi Boggiano
cc1dbbc36f
Add --link-type option to select link types in DependsCommand
2012-01-15 13:39:48 +01:00
Beau Simensen
fd5124a632
Standards fixes per @stof (continued, my bad)
2012-01-12 21:48:35 -06:00
Beau Simensen
2d721f5792
Standards fixes per @stof
2012-01-12 21:40:53 -06:00
Beau Simensen
e8fcf281fa
Autoload Generator handles multiple PSR-0 paths
...
The Autoload Generator was not behaving exactly as expected.
This PR is an alternate version of #203 based on some of
@stof's input on that PR.
The main differences are:
* The main package is added first instead of last
* parseAutoloads returns a different structure:
array('psr-0' => array('Ns\\Foo' => array('installDir')))
* dump and createLoader updated to account for new structure
2012-01-12 21:14:30 -06:00
Jordi Boggiano
2f3b188d5f
Merge pull request #202 from henrikbjorn/patch-1
...
Update README.md
2012-01-12 04:36:04 -08:00
Henrik Bjørnskov
9fcf01695c
Update README.md
2012-01-12 12:54:26 +01:00
François Pluchino
f65b34860f
Merge branch 'test'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/Vcs/HgBitbucketDriver.php
2012-01-12 12:19:13 +01:00
Mark Sonnabaum
045ae0e5ce
Added "-d detect_unicode=0" to the php shebang to work around https://bugs.php.net/bug.php?id=36711 .
2012-01-11 21:05:27 -06:00
Jordi Boggiano
91a4e5209a
Merge pull request #199 from hhamon/dead_code_cleanup
...
Dead code cleanup
2012-01-11 05:53:26 -08:00
François Pluchino
9af46ad800
Add Helper Wrapper
2012-01-11 13:55:05 +01:00
Hugo Hamon
398efbb894
[Repository] removed unused local $versions variable from VcsRepository::initialize() method.
2012-01-11 11:38:51 +01:00
Hugo Hamon
09f0ba6604
[Repository] removed unused local $match variable from HgBitbucketDriver::supports() method.
2012-01-11 11:35:36 +01:00
Hugo Hamon
70d7ab43ee
[Repository] removed unused local $match variable from GitHubDriver::supports() method.
2012-01-11 11:34:45 +01:00
Hugo Hamon
7842149a51
[Repository] removed unused local $match variable from GitBitbucketDriver::supports() method.
2012-01-11 11:33:21 +01:00
Hugo Hamon
66f214e446
[Repository] removed unused $requires local variable from PearRepository::fetchFromServer() method.
2012-01-11 11:30:46 +01:00
Hugo Hamon
488928b9b5
[Package] removed unused local $key variable from VersionParser::parseConstraints() method.
2012-01-11 11:29:12 +01:00
Hugo Hamon
2d1ad6ca32
[Package] removed unused local $repositories variable from RootPackageLoader::load() method.
2012-01-11 11:26:45 +01:00
Hugo Hamon
535455606b
[Downloader] fixed incorrect variable name in FileDownloader class.
2012-01-11 11:23:23 +01:00
Hugo Hamon
9acbb0c026
[DependencyResolver] removed unused local variables and fixed some wrong local variable names in Solver class.
2012-01-11 09:11:27 +01:00