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
Hugo Hamon
747abf6843
[Command] removed unused local variable $composer in UpdateCommand::execute() method.
2012-01-11 09:05:23 +01:00
Hugo Hamon
c993f3e92d
[Command] removed unused local $recommendedDependencies variable in DependsCommand::getReferences() method.
2012-01-11 09:02:59 +01:00
François Pluchino
cad1497b95
Keep history action on download
2012-01-11 01:26:44 +01:00
François Pluchino
86070a8b6e
Replace getHttpSupport() to getScheme()
2012-01-11 01:11:56 +01:00
François Pluchino
9b0e50cdc2
Restore the old regex
2012-01-11 01:09:30 +01:00
François Pluchino
9c7e7a2c4a
Remove comment
2012-01-10 21:29:41 +01:00
François Pluchino
395e2e040d
Add callback download informations
2012-01-10 21:22:52 +01:00