282 Commits (23ef8a419a8f65fee30a1acc036929ef1ee52ed5)

Author SHA1 Message Date
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 8ab60b7030 Still did not get it right 13 years ago
Matthias Pigulla f24164dc16 forgot this when testing 13 years ago
Matthias Pigulla 7cdb8b6b3b Some changes as suggested in the pr 13 years ago
Matthias Pigulla 4e1cb32f8c Allow for file://-URLs here as well 13 years ago
Matthias Pigulla 2fc8e06d81 hg repos must not be hosted somewhere in particular, but detection may become expensive.
Additionally, suppress warnings and support file://-local repos
13 years ago
Jordi Boggiano 381fcb248a Allow parsing of branches with invalid names but explicit versions in composer.json 13 years ago
Jordi Boggiano 139de0f79d Fix handling of git repos with no tag, fixes #146 13 years ago
Jordi Boggiano 2e8762744f Fix ComposerRepository ctor 13 years ago
Jordi Boggiano 1277277ec6 Fix CS 13 years ago
Jordi Boggiano 8df7eb0475 Add SvnDriver for the VcsRepository 13 years ago
Jordi Boggiano 9f55335011 Expose the Driver of the VcsRepository 13 years ago
Jordi Boggiano 8a127ed131 Fix URL handling for PEAR repositories 13 years ago
Jordi Boggiano 4fdc602037 Make VcsRepository drivers configurable 13 years ago
Jordi Boggiano 63d52b3e1b Minor fixes to allow branch -dev versions 13 years ago
Jordi Boggiano 3b8ee5dd54 Use pretty name/version in lock file and debug:packages, fixes #98 13 years ago
Jordi Boggiano 8e6f8ae57e Add prettyVersion to packages, fixes #76 13 years ago
Jordi Boggiano e6710e311c Merge remote-tracking branch 'webfactory/mercurial-support' 13 years ago
Jordi Boggiano 8a2afee55f Rethrow on unexpected failures 13 years ago
Jordi Boggiano 22a93e7273 Check we have a driver before using it 13 years ago
Jordi Boggiano 1fd9174c0d Fix auto-date parsing in GitDriver 13 years ago
Jordi Boggiano b350dda0fe Skip GitHub driver if openssl is disabled 13 years ago
Per Bernhardt b969309440 Register new drivers... 13 years ago
Per Bernhardt bf21dfeb31 Added drivers for bitbucket (hg and git) 13 years ago
Per Bernhardt 38198a5f36 Fixed blank lines. 13 years ago
Per Bernhardt b0d2897af3 Fixed unused variables. 13 years ago
Per Bernhardt 3e5fd85768 Fixed CS and unused variables 13 years ago
Per Bernhardt ee4d4ee3fa Added HgDriver for the VcsRepository 13 years ago
Jordi Boggiano 4b5abaf44f Fixes in PEAR support 13 years ago
Jordi Boggiano f2ab4d08e5 Fetch default HEAD branch from remote 13 years ago
Jordi Boggiano b6537324ef Change to GitHub API v3 and fetch default branch 13 years ago
Jordi Boggiano 4c2e8596aa Add VCS Repository and Git + GitHub drivers 13 years ago
Fabien Potencier 1450ebd837 Fix bug in an exception, added unit tests 13 years ago
Jordi Boggiano 305856f2f5 Merge pull request #68 from fabpot/small-opt
Move loader creation to avoid creating it more than once, unified the way
13 years ago
Fabien Potencier 5ffc349642 Add an exception when a Filesystem repository is corrupted 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 23c1c40b3d Fix missing reference in local repository 13 years ago
Jordi Boggiano dcfe310cff Fix PEAR repository 13 years ago
Jordi Boggiano 5e52d5c1ad Fix tests 13 years ago
Jordi Boggiano aeab3c16fd Add PackageRepository to define inline packages
Example:

{
    "repositories": {
        "Monolog": {
            "package": {
                "source": {
                    "url": "git://github.com/Seldaek/monolog.git",
                    "type": "git",
                    "reference": "1.0.1"
                },
                "version": "1.0.1",
                "name": "monolog/monolog"
            }
        }
    }
}
13 years ago
Jordi Boggiano 9b24734c9d Add parsing and on-the-fly loading of repositories defined in packages 13 years ago
Jordi Boggiano 450095e61d Adjust RepositoryManager to handle multiple repositories of one type 13 years ago
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 13 years ago
Igor Wiedler 72a1f66b7a rename installAs to target-dir 13 years ago
Igor Wiedler ea31039556 [autoload] autoloading prototype 13 years ago
everzet d5ba884f8b fixed potential error 13 years ago
everzet 1cca62dc97 move json parsing instructions into single class object 13 years ago
everzet cc2f2b79ca added findPackage() method to the RepositoryManager and RepositoryInterface 13 years ago
Jordi Boggiano c863c31881 Rename platform packages so they avoid conflicts with any vendor 13 years ago
Jordi Boggiano 2e10b5c17e Expand normalization feature and adjust tests 13 years ago
Jordi Boggiano 46a67733f8 Adjust codebase to the new VersionParser 13 years ago
Jordi Boggiano e5907a3431 Remove WrapperRepository in favor of PlatformRepository wrapping the local repo 13 years ago
Jordi Boggiano 4fe80d7abb Add WrapperRepository class 13 years ago
everzet 0694f5217a Implemented RepositoryManager 13 years ago
everzet 20318f77a0 Refactored FilesystemRegistry to FilesystemRepository 13 years ago
everzet 5c841187fd Fixed RepositoryInterface 13 years ago
everzet 28d9df7da6 Added hasPackage and removePackage methods to the ArrayRepository 13 years ago
everzet 9f98ee25ea Enhanced repository interface 13 years ago
Jordi Boggiano 8533a65061 Remove unused methods from RepositoryInterface 13 years ago
Jordi Boggiano e700e6fcd9 Use new version parser in PlatformRepository 13 years ago
Jordi Boggiano d27691a67f Fix namespace/use/typo issues 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 f272f66324 Fixes and improvements to the PEAR implementation 13 years ago
Jordi Boggiano 5b061b8ddb Remove TODO 13 years ago
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. 13 years ago
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. 13 years ago
Nils Adermann c225b4c689 Correctly match platform specific PHP version numbers 13 years ago
Jordi Boggiano 52888f193d Fix version parsing of PHP on some linux distros 13 years ago
Jordi Boggiano ae922eaf4c Use ReflectionExtension to read ext versions 13 years ago
Jordi Boggiano bb52105c37 Add GitRepository class 13 years ago
Jordi Boggiano 56da52d38f PlatformRepository now adds packages for every loaded php extension as well 13 years ago
Jordi Boggiano 05d527446b addPackage needs to trigger initialization too 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
Jordi Boggiano 2475ce47e4 Make ArrayRepository more extensible 13 years ago
Jordi Boggiano 3da43e751d Update naming of repositories 13 years ago