376 Commits (c7a13893c7e14eb11454f3202ac3094aa0d4d3db)

Author SHA1 Message Date
Jerome Tamarelle d489d2aa3c Store cached git repositories in user HOME to avoid file permission issues 13 years ago
Jordi Boggiano 70ad8274cd Work around poorly configured php 13 years ago
Jordi Boggiano ef300ca56a Fix tests 13 years ago
Jordi Boggiano a5e00a9e96 Fix PEAR loading, fixes #590 13 years ago
Jordi Boggiano 466d953b5f Add verbose output to composer compat mode 13 years ago
Jordi Boggiano 9c72b093a3 Merge remote-tracking branch 'bashofmann/master' 13 years ago
Bastian Hofmann a86ea59742 various fixes for composer interaction with pear repositories:
- corrected pear repository base url from channel.xml is now used instead of a hardcoded host/rest/* endpoin
t
- XML is now parsed with LIBXML_NOERROR to accomondate pear repositories with slightly invalid XML (e.g. components.ez.no)
- instead of following links in the returned xml files the pear api structure is now hardcoded so that pear repositories with invalid links also work (again components.ez.no). additional benefit: this removes the need for some str_replace calls
- for pear packages with a packages.json file: 'pear-'.$channelName is not added to package names if this is already part of the package name (see pear.phpunit.de)
13 years ago
Jordi Boggiano f63df842b3 Fix alias handling with --dev installs, fixes #579 13 years ago
Jordi Boggiano 89e095b4b5 Handle --dev installs/updates 13 years ago
Jordi Boggiano b094ef7155 Add repository notification API support 13 years ago
Jordi Boggiano 2d49090ffd Make sure branches have proper .x suffix so that they can be parsed properly 13 years ago
Jordi Boggiano 273e0f777b Fix branch extraction, fixes #565 13 years ago
Jordi Boggiano 9da7fbbf37 Fix project aliases being redownloaded since they had no version 13 years ago
Jordi Boggiano fc29487a2a Add home config key and use it to create the cache instance 13 years ago
Jordi Boggiano 68a1bc645b Skip some packages in pear requirements 13 years ago
Nils Adermann fc1a7a3e23 Merge pull request #536 from Seldaek/new_composer_format
Add support for new composer repo format + cache for composer repos
13 years ago
Jordi Boggiano 0d97ec4783 Add cache to the composer repositories 13 years ago
Tiago Ribeiro 61beea3c8b Updated output when a branch is imported to show the pretty version name 13 years ago
Jordi Boggiano a476d1f97d Add support for the new composer repository format 13 years ago
Jordi Boggiano a67f62990c Prepare for upcoming format break 13 years ago
Jordi Boggiano 6f8031ac90 Fix error reporting for missing git process 13 years ago
Nami-Doc 1dba604ba1 Update src/Composer/Repository/Vcs/GitDriver.php 13 years ago
Nami-Doc 2c58dbf3a1 better message if git isn't found 13 years ago
Holger Rüprich 9e2c523faa Function proc_open doesn't accept a scheme for the current working directory, therefore stripped 'file://' for local repositories. 13 years ago
Jordi Boggiano 1cdae66f8f Fix up git downloader and git driver commands 13 years ago
Jordi Boggiano 219c31ed0c Fix git driver updating 13 years ago
Jordi Boggiano 9828472b9e Improve reliability of GitDriver, refs #485 13 years ago
Jordi Boggiano 2844a5673d Use refs API since it is more stable than the branches API with force-pushes, fixes #514 13 years ago
Nils Adermann 85caa65088 Merge pull request #520 from Seldaek/pear_composer
Detect PEAR repos that support composer via Pirum
13 years ago
Jordi Boggiano ecb82e1784 Detect PEAR repos that support composer via Pirum 13 years ago
Jordi Boggiano d53ac36636 Add debug info and remove autoload parsing that was too slow 13 years ago
Jordi Boggiano 4b2283e41c Add autoload info to PEAR packages 13 years ago
Jordi Boggiano 1fe24a3837 Add support for github URLs in git driver 13 years ago
Jordi Boggiano 6d5b4d606c Add warning in verbose mode if drivers can not be used because of missing openssl 13 years ago
Tiago Ribeiro 67885d8585 Added isDebug to IOInterface and improved debug messages for VcsRepositories 13 years ago
Jordi Boggiano 7a28a2d83a Add support for new GitHub API 13 years ago
Jordi Boggiano 7285536737 Fix exception handling 13 years ago
Jordi Boggiano 5a7abfd84f Remove code duplication in Svn classes 13 years ago
Jordi Boggiano cd2e5bf2e0 Make SvnDriver::supports less greedy and more realistic 13 years ago
Jordi Boggiano 30d4080014 Support windows local paths 13 years ago
Jordi Boggiano 8fb9c4bf3b Svn related coding style/consistency fixes and minor improvements 13 years ago
Jordi Boggiano ab9fc59d30 Add missing license headers 13 years ago
Jordi Boggiano 6c2b78a669 Merge remote-tracking branch 'till/svn-auth-reloaded' 13 years ago
Jordi Boggiano 7dfb2724cb Fix PEAR dependencies 13 years ago
till 434f10f2d7 * more cs fixes 13 years ago
till c6653f0711 * fix up CS suggestions from stof/seldaek 13 years ago
Till Klampaeckel af8d4212bb Merge pull request #3 from toastedghost/svn-auth-reloaded-imp
Improve 'getTags()' and 'getBranches()'
13 years ago
Flo 80bb040468 Improve 'getTags()' and 'getBranches()' 13 years ago
Beau Simensen a6366be5a6 Handle auth challenge in SvnDriver supports. 13 years ago
till 059bde1adb * refactored with Composer\Util\Svn::doAuthDance() 13 years ago
till c6566825ad Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded 13 years ago
till 17f90f56eb * move helper functions to util class 13 years ago
Mateusz Heleniak 2a9e8350b0 fixed GitDriver - set correct working directory for cli commands 13 years ago
Nils Adermann 366e98288e Merge pull request #473 from Seldaek/gzip
Automatic gzip encoding support
13 years ago
Jordi Boggiano bcbdb97cc6 Fix message when no composer file is found in a tag 13 years ago
Jordi Boggiano 72b7b169e7 Fix warning 13 years ago
Jordi Boggiano e4cce193cf Fix PEAR repository 13 years ago
Jordi Boggiano 7f65dd7409 Use RemoteFilesystem everywhere we do http requests 13 years ago
till 8f96786693 Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded 13 years ago
till 6f364a85b3 * do not use getSvnCommand (since we are not in object context)
* run non interacive instead of piping output to /dev/null
13 years ago
till c0ec8f16f9 * fixSvnUrl()
* extend regex to match more possible svn hosts
13 years ago
till 6d1cdb3e45 * fixSvnUrl(): to prefix absolute paths with file:// 13 years ago
Jordi Boggiano 659775a607 Merge remote-tracking branch 'simensen/GitHub404FixPartTwo' 13 years ago
Beau Simensen 38680998ed Remove the RemoteFilesystem factory and document GitHubDriver->GitDriver fallback. 13 years ago
till 5fdd09104f resolve conflict 13 years ago
till a1e1a8c7d7 * use askConfirmation() instead 13 years ago
till 244cc2a8c2 hide password input 13 years ago
till 96298a33dc catch all failures 13 years ago
Jordi Boggiano 5dba49af54 Show package descriptions in show/search commands, merge similar packages in show, fixes #366 13 years ago
Beau Simensen 1e9cb6bac8 Use factory name instead of generator. 13 years ago
Beau Simensen 340ac49d87 Change `callback` to `callable` 13 years ago
Beau Simensen 6efbc7d531 Enhanced GitHub API/Private Repository support 13 years ago
Jordi Boggiano 950003bfc3 Reflow the VcsRepo and prevent exception leakage from breaking the parsing 13 years ago
Jordi Boggiano 1d544630b6 Allow requesting a particular vcs driver to bypass github/bitbucket ones 13 years ago
till 8d80969f26 trim input 13 years ago
till 4c2da57140 make static 13 years ago
till c78d9ffece more inline documentation 13 years ago
till 4da56ea617 explain non-interactive 13 years ago
till f8d8ccfedc * in interactive mode: display error message to the user when authorization fails 13 years ago
till a3363a8560 * SvnDriver::$useCache: false by default
* setting is adjust in 'interactive' mode when auth fails
13 years ago
till 061d91b4a8 whitespace 13 years ago
till 1f03d37a89 * only 'ask' the user if the session is interactive 13 years ago
till a8287118ed * work on no-auth-cache 'creation' 13 years ago
Jordi Boggiano 6c9f1f6f5b Merge pull request #416 from DonMartio/master
Missing slash permits version evaluation.
13 years ago
DonMartio b74773053b Missing slash prevents version evaluation. 13 years ago
Jordi Boggiano 3e22084ea4 Overhaul VcsDrivers, introduce TransportException for remote filesystem errors 13 years ago
till 978d4c145d * more output 13 years ago
till 59c1a7ff15 * when an auth failure is detected and 'auth' is not present, we ask for credentials
* ... and repeat
13 years ago
till 44470da804 * do svnCommand() in execute() to be able to restart the dance in case it failed 13 years ago
till a3e0a0805c * always run non-interactive 13 years ago
till 907db48bb5 * wrap execution of commands into local method 13 years ago
till 99eb18d0ff * rename var from $composer to $output (for consistency) 13 years ago
till 3f665e8bbb * method to gather if this session is 'interactive' or 'non interactive' 13 years ago
till d1482bfa3c * refactor svn command 'creation' into a single method: getSvnCommand() 13 years ago
till 6417a86651 * fix docblocks 13 years ago
Jordi Boggiano ae6de4be60 Merge pull request #377 from till/svn-auth
Svn auth
13 years ago
Jordi Boggiano f546025bae Move some code around 13 years ago
Jordi Boggiano 774e9d0da6 Remove dependency on filter_var 13 years ago
till adfac9e34b escape arguments 13 years ago
till 9ecbc5176e remove isset() 13 years ago
till 0ecb710282 * add my credentials into every svn command 13 years ago
till b30f8078e4 * avoid notice 13 years ago
till 4db4d6720b correct my typo 13 years ago
till ba8ccb1955 trailing space 13 years ago
till 275d1c9969 * added a method to return the credential string for the svn command 13 years ago
till e18a4f7d31 detect if credentials are in the url 13 years ago
Jordi Boggiano d03fb4804c Fix local repo detection 13 years ago
Nils Adermann a04f44a4f1 Merge pull request #359 from Seldaek/branch-alias
[WIP] Branch aliases support
13 years ago
Jordi Boggiano 0b7ee194c6 Remove persistence of alias data, make abstract branch aliasing and keep it in composer only 13 years ago
Jordi Boggiano 773338a688 Fixes for SVN support, fixes #172 13 years ago
Jordi Boggiano 1bdab5c4c8 Add markers for leftover problems 13 years ago
Jordi Boggiano 1228c04984 Add support for extra.branch-alias config to remap master on 2.1.x for example 13 years ago
Jordi Boggiano c0b18bddb9 Bugfixes in the local git repos handling 13 years ago
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".
13 years ago
Jordi Boggiano 5eb333680b Rename findPackagesByName to findPackages and allow version arg 13 years ago
Igor Wiedler d9b535e230 [pear-prefix] fix installing pear packages 13 years ago
Igor Wiedler 06f1ecf83a [pear-prefix] add a pear-{channel}/ prefix to PearRepository packages 13 years ago
Nils Adermann 03a9e0dfee Merge pull request #330 from Seldaek/repositories
[BC Break] Refactor repositories configuration
13 years ago
Jordi Boggiano d0d5329f6f Fix package repositories 13 years ago
Jordi Boggiano c12dccd3d4 Restore quality of debug output 13 years ago
Jordi Boggiano f73c08043f Refactor VcsRepo to follow new dev model 13 years ago
Jordi Boggiano 32157a3904 Fix local git repo handling in GitDriver 13 years ago
Jordi Boggiano e2199b2b03 Fixed automatic date parsing of versions 13 years ago
Jordi Boggiano a28fa790be Fix regex 13 years ago
Jordi Boggiano fa8cb14073 Simplify check 13 years ago
Jordi Boggiano f152fe723d Allow local file system git repos & do not restrict to valid http* urls 13 years ago
Jordi Boggiano d0f6b679bc Merge remote-tracking branch 'francoispluchino/master' 13 years ago
Logan Aube ea05f678fd Exception mentioned PEAR repository when should be VCS, was misleading 13 years ago
François Pluchino 2e3eed081a Merge remote branch 'composer/master'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
13 years ago
François Pluchino 953f0992f7 Merge callback method of FileDownloader and VcsDriver
Required corrections added
13 years ago
Jordi Boggiano 256bfedea1 Merge remote-tracking branch 'jalliot/proxy2'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/PearRepository.php
13 years ago
Jordi Boggiano e92e3ba355 Simplify code 13 years ago
Henrique Moody b030a36bf5 Some PEAR repositories does not works because of a wrong link parse. 13 years ago
Jordi Boggiano 416ae21a5a Robustness fixes for new PEAR2 compat code 13 years ago
François Pluchino f5d90e1340 Download Dist Package when the info is defined in root composer file 13 years ago
Henrique Moody 230f43d009 Chaged the key "recommend" for "suggest" in the parse of the PEAR2 dependences. 13 years ago
Henrique Moody 61c66b98a8 Correction of wrong variable name. 13 years ago
Henrique Moody b3d91cab02 Update dependence resolution for PEAR2 packages. 13 years ago
Henrique Moody 9ca157913a Remotion of a debug code. 13 years ago
Henrique Moody 234a6710a1 Correction at method parseVersion() of Composer\Repository\PearRepository. 13 years ago
Henrique Moody be448e09b4 Update src/Composer/Repository/PearRepository.php 13 years ago
Henrique Moody dd2174885b Correction of variable overwrite used during an iteration and now the versions of PHP extensions are parsed like packages. 13 years ago
Henrique Moody 4e6a9806b6 Correction of wrong type suggestion. 13 years ago
Henrique Moody 6c47d6efe2 Renamed methods of Composer\Repository\PearRepository: fetchPearRepositories() to fetchPearPackages() and fetchPear2Repositories() to fetchPea2Packages(). 13 years ago
Henrique Moody b62a90a981 Removed hard code - suggestion of a PHP version. 13 years ago
Henrique Moody 0c6d806791 Correction of typo. 13 years ago
Henrique Moody 1e11aff456 Create method parseVersion for parsing of package versions. Now includes "max" version of the package. 13 years ago
Henrique Moody c7e0fb7e58 Correction of typo error. 13 years ago
Henrique Moody 60831ac3fc Update src/Composer/Repository/PearRepository.php 13 years ago
Henrique Moody 14adc0213e Added suport for PEAR2 repositories. 13 years ago