1
0
Fork 0
Commit Graph

3025 Commits (0d81ab7f46bc9d9b4d2501224eec9abb49a30f37)

Author SHA1 Message Date
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
Fabien Potencier 9e7ebd9280 Fix autoload.php generator 2011-10-29 07:24:30 +02:00
Jordi Boggiano d16b928baf Add DebugPackagesCommand 2011-10-28 01:19:46 +02:00
Jordi Boggiano 220ab7f4ee Comments 2011-10-28 01:05:56 +02:00
Jordi Boggiano 23c1c40b3d Fix missing reference in local repository 2011-10-28 00:36:02 +02:00
Jordi Boggiano dcfe310cff Fix PEAR repository 2011-10-28 00:35:35 +02:00
Jordi Boggiano a263a3cb7d Dont enforce optional fields 2011-10-28 00:34:59 +02:00
Jordi Boggiano 89caa9b117 Rewrite autoloader to use only PSR-0, remove splitting of PEAR path 2011-10-27 22:09:01 +02:00
Jordi Boggiano c03a739548 Use psr-0 instead of psr0 2011-10-24 12:03:11 +02:00
Igor Wiedler 611639d26d define types for autoload and repositories 2011-10-23 21:23:54 +02:00
Jordi Boggiano be47991b36 Build a standalone autoload file 2011-10-23 21:23:37 +02:00
Jordi Boggiano 8b0fee3f35 Fix platform packages not being added to the pool 2011-10-23 21:10:45 +02:00
Jordi Boggiano 5e52d5c1ad Fix tests 2011-10-23 19:55:43 +02:00
Jordi Boggiano d7b77b9e87 Add note about Contributing to README 2011-10-23 19:40:44 +02:00
Jordi Boggiano b667cf98c2 Clone added packages in update 2011-10-23 19:40:42 +02:00
Jordi Boggiano 2b15c4321b Typo fix 2011-10-23 19:40:40 +02:00
Jordi Boggiano 35849ca227 Allow disabling of the default packagist repository in the main composer.json
Example:

{
    "repositories": {
        "packagist": false
    }
}
2011-10-23 19:40:38 +02:00
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"
            }
        }
    }
}
2011-10-23 19:40:36 +02:00
Jordi Boggiano 9b24734c9d Add parsing and on-the-fly loading of repositories defined in packages 2011-10-23 19:40:34 +02:00
Jordi Boggiano 17286e993c Add exception when json files can not be read 2011-10-23 19:40:32 +02:00
Jordi Boggiano 450095e61d Adjust RepositoryManager to handle multiple repositories of one type 2011-10-23 19:40:30 +02:00
Jordi Boggiano 33e7001d7e Fix typo 2011-10-23 19:40:26 +02:00
Jordi Boggiano c33fc80d23 Add supports() to the InstallerInterface 2011-10-23 19:40:24 +02:00
Jordi Boggiano 8a571c05db Fix issues in new autoloader code 2011-10-23 19:40:22 +02:00
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 2011-10-23 19:40:20 +02:00
Jordi Boggiano 28369ea623 Add missing docblock 2011-10-23 19:40:18 +02:00
Igor Wiedler 808a2c9448 [composer] wrap UniversalClassLoader require in if class_exists 2011-10-23 19:40:16 +02:00
Igor Wiedler aa7c4b8ef7 [autoload] refactor getFullPackage into populateAutoloadInformation 2011-10-23 19:40:14 +02:00
Igor Wiedler 9d238330b3 [autoload] refactor autoload generation code into a AutoloadGenerator 2011-10-23 19:40:12 +02:00
Igor Wiedler 72a1f66b7a rename installAs to target-dir 2011-10-23 19:40:10 +02:00
Igor Wiedler 409b2e47ae return early (this is very important) 2011-10-23 19:40:08 +02:00
Igor Wiedler ea31039556 [autoload] autoloading prototype 2011-10-23 19:40:06 +02:00
Nils Adermann 72f69e6109 Merge pull request #60 from naderman/master
Implementation of the DefaultPolicy specs regarding prefered packages
2011-10-22 08:35:33 -07:00
Nils Adermann e16c3f0626 Remove useless test, packages providing different versions aren't alternatives 2011-10-22 17:26:42 +02:00
Nils Adermann 0801d8ed31 Enable solver test regarding replaced packages after policy fix 2011-10-22 17:23:23 +02:00
Nils Adermann 571c14adf9 Prefer original packages over replaced packages of same repository priority 2011-10-22 17:20:45 +02:00
Nils Adermann 44369472be Define the calculation of package priorities in a single method 2011-10-22 16:48:23 +02:00
Nils Adermann 1b6f57e651 Correctly implement priorities and version numbers in the default policy 2011-10-22 16:44:10 +02:00
Nils Adermann b52d6d881a Pool repository index represents priority, highest index = highest priority 2011-10-22 16:39:49 +02:00
Nils Adermann 7558731830 Fix documentation layout 2011-10-22 13:03:50 +02:00
Nils Adermann 4d5655a604 Add basic specification of the default solver policy behaviour 2011-10-22 12:48:53 +02:00
Nils Adermann 55d5e55195 DefaultPolicy test: pick package providing newest virtual package version 2011-10-21 15:22:47 +02:00
Nils Adermann 0c30610fdc Complete the policy tests with provider and replacement tests 2011-10-21 14:58:31 +02:00
Nils Adermann e4c94dd415 Adding tests for the default policy specifying its desired behaviour 2011-10-21 14:44:24 +02:00
Jordi Boggiano 40cc5fea1d Add a few solver tests regarding "replace" 2011-10-15 20:04:29 +02:00
Jordi Boggiano de7cbe60fe Merge pull request #48 from nrk/fix-symfony-bundle
Fix missing support for the symfony-bundle package type.
2011-10-15 06:03:06 -07:00
Daniele Alessandri 74d7fdfcef Fix missing support for the symfony-bundle package type.
Using Composer\Installer\LibraryInstaller to handle the installation of
packages that specify the "symfony-bundle" type is just a temporary solution
while waiting to better define how packages shipping Symfony bundles should
be treated.
2011-10-15 14:34:16 +02:00
Jordi Boggiano e09f6900da Fix up version parsing 2011-10-11 11:49:32 +02:00
Jordi Boggiano 19f89069a4 Add some more version normalization and support for branch names 2011-10-11 09:30:10 +02:00
Jordi Boggiano 536c1e0f88 Update README 2011-10-03 10:50:09 +02:00