44 Commits (8f1251622272bac99907e06c6c09afa29f8564b3)

Author SHA1 Message Date
Sander Marechal 6cf860669f Add repository stream context options
Add support for passing stream context options to the
StreamContextFactory. This allows support for SSH keyfiles, SSL
certificates and much more. Example:

{
    "repositories": [
        {
            "type": "composer",
            "url": "ssh2.sftp://host:22/path/to/packages.json",
            "options": {
                "ssh2": {
                    "username": "composer",
                    "pubkey_file": "/path/to/composer.key.pub",
                    "privkey_file": "/path/to/composer.key"
                }
            }
        }
    ]
}
12 years ago
Sander Marechal 4799053ca9 Allow dot in URL scheme
This makes it possible to support SSH2 urls, like ssh2.scp://
See: http://www.php.net/manual/en/wrappers.ssh2.php
12 years ago
Jordi Boggiano c14826dd1e Fix exception handling when loading repos 12 years ago
Jordi Boggiano fe4516aff8 Clarify exception messages when a package can not be loaded from a composer repository, fixes #1070 12 years ago
Povilas Balzaravicius Pawka 57d1b5a37d Issue #1056. Fixed callback call error on search command. 12 years ago
Jordi Boggiano 803178d28f CS fixes for #1038 12 years ago
Christoph Hochstrasser 560d6daccf Using separate variable for URL parts 12 years ago
Christoph Hochstrasser 841efc98a6 Appending 'packages.json' only if not present in URL 12 years ago
Jordi Boggiano c14bc368b0 Fix memory usage of the update command 12 years ago
Jordi Boggiano e3b6bd781c Add RepositoryInterface::filterPackages to stream ops on lists
This cuts down on memory usage and also speeds up the search command to a third of its previous time
12 years ago
Jordi Boggiano d6de4a0036 Rename Package interfaces to reduce BC issues 12 years ago
Jordi Boggiano e46d26cb9b Add loadAliasPackage to the StreamableRepositoryInterface and clear up responsibilities between Pool and Repositories 12 years ago
Jordi Boggiano 26e8217db7 Remove duplication of branch alias parsing code 12 years ago
Jordi Boggiano 2d4076e9b2 Add support for aliases in streamed repos 12 years ago
Jordi Boggiano c8a685be6b Reduce memory usage by only loading packages that are actually needed, fixes #456 12 years ago
Jordi Boggiano a54bf6269e Improve error messages when network failures occur 12 years ago
Jordi Boggiano 2d41774bcc Add warning when loading an https repo if openssl is disabled, refs #930 12 years ago
Jordi Boggiano d80180c2b9 Allow notifyUrl to be a complete URL 12 years ago
Jordi Boggiano a06ebdd8ef Add caching to svn metadata 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 8ff497ac6f Skip filter_var on 5.3.2 since it is buggy 12 years ago
Jordi Boggiano 70ad8274cd Work around poorly configured php 12 years ago
Jordi Boggiano b094ef7155 Add repository notification API support 12 years ago
Jordi Boggiano fc29487a2a Add home config key and use it to create the cache instance 12 years ago
Jordi Boggiano 0d97ec4783 Add cache to the composer repositories 12 years ago
Jordi Boggiano a476d1f97d Add support for the new composer repository format 12 years ago
Jordi Boggiano a67f62990c Prepare for upcoming format break 12 years ago
Jordi Boggiano 7f65dd7409 Use RemoteFilesystem everywhere we do http requests 12 years ago
Jordi Boggiano 774e9d0da6 Remove dependency on filter_var 13 years ago
Jordi Boggiano f6b9488bf0 Move root package handling to a dedicated loader and make ArrayLoader more strict 13 years ago
Matthias Pigulla ebbc807de0 Fix whitespaces and add strict return code checking 13 years ago
Matthias Pigulla 4e1cb32f8c Allow for file://-URLs here as well 13 years ago
Jordi Boggiano 2e8762744f Fix ComposerRepository ctor 13 years ago
Fabien Potencier 527c711149 Move loader creation to avoid creating it more than once, unified the way packages are loading across repository classes 13 years ago
Jordi Boggiano 9b24734c9d Add parsing and on-the-fly loading of repositories defined in packages 13 years ago
everzet 1cca62dc97 move json parsing instructions into single class object 13 years ago
everzet 9deb10361f second batch of refactoring 13 years ago
everzet 5f4d46f7ae repository factoring refactoring 13 years ago
Jordi Boggiano ba9f12a517 Add extra and type info to packages 13 years ago
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 13 years ago
Jordi Boggiano d185194d1a Create links/constraints between packages 13 years ago
Jordi Boggiano b53a3086b6 Minor refactorings and changes 13 years ago
Nils Adermann f0af6b7d57 It's called a repository, not a registry 13 years ago
Jordi Boggiano e03983697a Add base installer/downloader and ComposerRepository 13 years ago