1
0
Fork 0
Commit Graph

242 Commits (4bed779601edc964c482d65cfdf2e7b829c6368f)

Author SHA1 Message Date
DonMartio b74773053b Missing slash prevents version evaluation. 2012-03-09 10:04:52 +01:00
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 2012-03-08 23:14:56 +01:00
till 978d4c145d * more output 2012-03-08 17:00:24 +01:00
till 59c1a7ff15 * when an auth failure is detected and 'auth' is not present, we ask for credentials
* ... and repeat
2012-03-08 16:53:41 +01:00
till 44470da804 * do svnCommand() in execute() to be able to restart the dance in case it failed 2012-03-08 16:52:36 +01:00
till a3e0a0805c * always run non-interactive 2012-03-08 16:42:19 +01:00
till 907db48bb5 * wrap execution of commands into local method 2012-03-08 16:27:22 +01:00
till 99eb18d0ff * rename var from $composer to $output (for consistency) 2012-03-08 15:56:52 +01:00
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 2012-03-08 15:44:29 +01:00
till d1482bfa3c * refactor svn command 'creation' into a single method: getSvnCommand() 2012-03-08 15:39:22 +01:00
till 6417a86651 * fix docblocks 2012-03-08 15:25:44 +01:00
Jordi Boggiano ae6de4be60 Merge pull request #377 from till/svn-auth
Svn auth
2012-03-08 01:59:51 -08:00
Jordi Boggiano f546025bae Move some code around 2012-03-08 01:46:49 +01:00
Jordi Boggiano 774e9d0da6 Remove dependency on filter_var 2012-03-05 15:13:07 +01:00
till adfac9e34b escape arguments 2012-03-04 19:54:16 +01:00
till 9ecbc5176e remove isset() 2012-03-04 19:46:22 +01:00
till 0ecb710282 * add my credentials into every svn command 2012-03-02 20:32:33 +01:00
till b30f8078e4 * avoid notice 2012-03-02 20:31:50 +01:00
till 4db4d6720b correct my typo 2012-03-02 20:03:46 +01:00
till ba8ccb1955 trailing space 2012-03-02 19:46:46 +01:00
till 275d1c9969 * added a method to return the credential string for the svn command 2012-03-02 19:46:11 +01:00
till e18a4f7d31 detect if credentials are in the url 2012-03-02 19:43:07 +01:00
Jordi Boggiano d03fb4804c Fix local repo detection 2012-02-25 04:18:23 +01:00
Nils Adermann a04f44a4f1 Merge pull request #359 from Seldaek/branch-alias
[WIP] Branch aliases support
2012-02-24 18:00:44 -08:00
Jordi Boggiano 0b7ee194c6 Remove persistence of alias data, make abstract branch aliasing and keep it in composer only 2012-02-25 02:52:19 +01:00
Jordi Boggiano 773338a688 Fixes for SVN support, fixes #172 2012-02-24 10:18:24 +01:00
Jordi Boggiano 1bdab5c4c8 Add markers for leftover problems 2012-02-23 23:26:32 +01:00
Jordi Boggiano 1228c04984 Add support for extra.branch-alias config to remap master on 2.1.x for example 2012-02-23 23:26:31 +01:00
Jordi Boggiano c0b18bddb9 Bugfixes in the local git repos handling 2012-02-23 23:22:45 +01:00
Per Bernhardt 9a17899608 Although the tag "tip" does not provide a valid package version (see VersionParser), the implementation of HgDriver::getSource uses tip as the prefered label for the branch that tip is currently on.
This is not a problem at first hand because you can install a new package correctly with "tip" as source reference.

The problem is that any new revision on that branch won't lead to a new package, because the package will always refer to the same reference "tip".

Therefore you cannot update your project to the new version with "composer update".
2012-02-23 12:07:57 +01:00
Jordi Boggiano 5eb333680b Rename findPackagesByName to findPackages and allow version arg 2012-02-21 14:02:08 +01:00
Igor Wiedler d9b535e230 [pear-prefix] fix installing pear packages 2012-02-20 13:01:29 +01:00
Igor Wiedler 06f1ecf83a [pear-prefix] add a pear-{channel}/ prefix to PearRepository packages 2012-02-20 12:51:30 +01:00
Nils Adermann 03a9e0dfee Merge pull request #330 from Seldaek/repositories
[BC Break] Refactor repositories configuration
2012-02-20 01:58:52 -08:00
Jordi Boggiano d0d5329f6f Fix package repositories 2012-02-19 19:12:56 +01:00
Jordi Boggiano c12dccd3d4 Restore quality of debug output 2012-02-19 16:57:34 +01:00
Jordi Boggiano f73c08043f Refactor VcsRepo to follow new dev model 2012-02-19 16:57:29 +01:00
Jordi Boggiano 32157a3904 Fix local git repo handling in GitDriver 2012-02-19 16:38:07 +01:00
Jordi Boggiano e2199b2b03 Fixed automatic date parsing of versions 2012-02-18 17:05:13 +01:00
Jordi Boggiano a28fa790be Fix regex 2012-02-18 16:03:49 +01:00
Jordi Boggiano fa8cb14073 Simplify check 2012-02-18 12:12:02 +01:00
Jordi Boggiano f152fe723d Allow local file system git repos & do not restrict to valid http* urls 2012-02-18 12:00:30 +01:00
Jordi Boggiano d0f6b679bc Merge remote-tracking branch 'francoispluchino/master' 2012-02-17 11:45:55 +01:00
Logan Aube ea05f678fd Exception mentioned PEAR repository when should be VCS, was misleading 2012-02-16 19:42:19 -05:00
François Pluchino 2e3eed081a Merge remote branch 'composer/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
2012-02-16 18:11:01 +01:00
François Pluchino 953f0992f7 Merge callback method of FileDownloader and VcsDriver
Required corrections added
2012-02-15 13:11:29 +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
François Pluchino f5d90e1340 Download Dist Package when the info is defined in root composer file 2012-02-13 17:40:54 +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
Beau Simensen d05f0a6e40 Addressed coding standard issues reported by @stof 2012-02-05 18:25:41 -08:00
Beau Simensen e1370be7a0 Continued refactoring of install() method, mainly by way of adding Composite Repository
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
 * Added Composite Repository
 * Added tests for Composite Repository
 * Removed "local repository" concept from Platform Repository
 * Removed some `use` statements for Platform Repository where it was not actually being used
2012-02-05 18:25:41 -08:00
François Pluchino a0afb88d5d Fix bug on authorization of file download for the private repositories 2012-02-05 20:21:06 +01: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
Brian Clozel 23d85f1900 fix typo 2012-01-24 10:38:32 +01:00
Brian Clozel 33a0ba69de fix issue #251 - Using $this not in object context 2012-01-23 19:41:44 +01:00
Jordi Boggiano 702d415472 Fix usage of the ProcessExecutor 2012-01-22 20:08:57 +01: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
digitalkaoz 627deab51c fixed #230 2012-01-20 20:50:21 +01:00
François Pluchino 6d4ccaa398 Fix display overwrite() 2012-01-18 13:58:44 +01:00
Jordi Boggiano e218b811e0 Convert static Process into an executor that can be injected 2012-01-18 09:27:57 +01:00
Jordi Boggiano 434c9ecdeb Cleanups of IOInterface 2012-01-17 23:08:12 +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 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 541285022d Replace CURL with copy() and file_get_contents() 2012-01-17 12:52:14 +01:00
François Pluchino a5fb4abb36 Fix some improvements 2012-01-17 10:29:54 +01: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 bd1d20b2c9 Fixed CS 2012-01-16 22:11:31 +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 fc17e26bc3 Added a method to find packages by name 2012-01-16 12:44:47 +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
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
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 013d145bcd Add InputInterface and OutputInterface 2012-01-10 18:50:16 +01:00