1
0
Fork 0
Commit Graph

37 Commits (06f1ecf83a6a33585abecdc4c6a8df008bd8f8b5)

Author SHA1 Message Date
Igor Wiedler 06f1ecf83a [pear-prefix] add a pear-{channel}/ prefix to PearRepository packages 2012-02-20 12:51:30 +01:00
Jordi Boggiano 256bfedea1 Merge remote-tracking branch 'jalliot/proxy2'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/PearRepository.php
2012-02-14 17:01:15 +01:00
Jordi Boggiano e92e3ba355 Simplify code 2012-02-14 16:06:09 +01:00
Henrique Moody b030a36bf5 Some PEAR repositories does not works because of a wrong link parse. 2012-02-14 12:29:32 -02:00
Jordi Boggiano 416ae21a5a Robustness fixes for new PEAR2 compat code 2012-02-13 23:07:18 +01:00
Henrique Moody 230f43d009 Chaged the key "recommend" for "suggest" in the parse of the PEAR2 dependences. 2012-02-11 15:17:27 -02:00
Henrique Moody 61c66b98a8 Correction of wrong variable name. 2012-02-11 13:33:25 -02:00
Henrique Moody b3d91cab02 Update dependence resolution for PEAR2 packages. 2012-02-11 13:04:33 -02:00
Henrique Moody 9ca157913a Remotion of a debug code. 2012-02-11 12:57:41 -02:00
Henrique Moody 234a6710a1 Correction at method parseVersion() of Composer\Repository\PearRepository. 2012-02-11 12:57:40 -02:00
Henrique Moody be448e09b4 Update src/Composer/Repository/PearRepository.php 2012-02-11 12:57:40 -02:00
Henrique Moody dd2174885b Correction of variable overwrite used during an iteration and now the versions of PHP extensions are parsed like packages. 2012-02-11 12:57:40 -02:00
Henrique Moody 4e6a9806b6 Correction of wrong type suggestion. 2012-02-11 12:57:40 -02:00
Henrique Moody 6c47d6efe2 Renamed methods of Composer\Repository\PearRepository: fetchPearRepositories() to fetchPearPackages() and fetchPear2Repositories() to fetchPea2Packages(). 2012-02-11 12:57:40 -02:00
Henrique Moody b62a90a981 Removed hard code - suggestion of a PHP version. 2012-02-11 12:57:40 -02:00
Henrique Moody 0c6d806791 Correction of typo. 2012-02-11 12:57:40 -02:00
Henrique Moody 1e11aff456 Create method parseVersion for parsing of package versions. Now includes "max" version of the package. 2012-02-11 12:57:40 -02:00
Henrique Moody c7e0fb7e58 Correction of typo error. 2012-02-11 12:57:40 -02:00
Henrique Moody 60831ac3fc Update src/Composer/Repository/PearRepository.php 2012-02-11 12:57:40 -02:00
Henrique Moody 14adc0213e Added suport for PEAR2 repositories. 2012-02-11 12:57:39 -02:00
Jordi Boggiano 568d9dabf6 fix previous commit 2012-02-03 20:32:09 +01:00
Pádraic Brady 3f7e7dff33 Fix a small bug where some PEAR channels' category link href doesn't contain a starting forward slash 2012-02-02 19:57:37 +00:00
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 2012-01-21 20:58:36 +01:00
Hugo Hamon 66f214e446 [Repository] removed unused $requires local variable from PearRepository::fetchFromServer() method. 2012-01-11 11:30:46 +01:00
Jordi Boggiano f6b9488bf0 Move root package handling to a dedicated loader and make ArrayLoader more strict 2011-12-13 01:05:29 +01:00
Jordi Boggiano 8a127ed131 Fix URL handling for PEAR repositories 2011-11-20 21:33:54 +01:00
Jordi Boggiano 8e6f8ae57e Add prettyVersion to packages, fixes #76 2011-11-20 15:06:12 +01:00
Jordi Boggiano 8a2afee55f Rethrow on unexpected failures 2011-11-15 14:59:49 +01:00
Jordi Boggiano 4b5abaf44f Fixes in PEAR support 2011-11-06 20:24:52 +01:00
Fabien Potencier 527c711149 Move loader creation to avoid creating it more than once, unified the way packages are loading across repository classes 2011-10-29 07:43:26 +02:00
Jordi Boggiano dcfe310cff Fix PEAR repository 2011-10-28 00:35:35 +02:00
everzet 9deb10361f second batch of refactoring 2011-09-21 00:43:53 +03:00
everzet 5f4d46f7ae repository factoring refactoring 2011-09-21 00:39:15 +03:00
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 2011-07-06 21:06:52 +02:00
Jordi Boggiano f272f66324 Fixes and improvements to the PEAR implementation 2011-06-28 20:42:59 +02:00
Benjamin Eberlei fa613cad19 Rewrite PearRepository to implement PEAR Client/Server protocol itself, taking longer then pear remote-list, but at least showing ALL available versions, making arbitrary dependencies possible. 2011-06-28 20:42:50 +02:00
Benjamin Eberlei 8afc2ca694 Add support for PEAR repository and downloading, example composer.json would look like {"repositories":{"doctrine": {"pear":"http://pear.doctrine-project.org"},"requires":{"DoctrineORM":"2.0.5"}}. You can use pear repositories this way for now. PEAR packages are not downloaded via pear, only via their .tgz packages in the PEAR repository. Automatically detecting dependencies will require reverse-engineering the PEAR protocol a little bit more, however from looking at a pirum output it looks simple. 2011-06-28 20:42:48 +02:00