1
0
Fork 0
Commit Graph

943 Commits (956b54e5167c6dd9244072c59406fb1d4ba23f62)

Author SHA1 Message Date
Jordi Boggiano 1ca3e5e5e2 Generate a map separated from the autoloader, fixes #74
Also the loader is now returned by the autoload.php
2011-10-30 20:29:06 +01:00
Jordi Boggiano b100df33d8 Make ArrayDumper and ArrayLoader reversible 2011-10-30 20:16:41 +01:00
Jordi Boggiano 4904e76185 Install every package in its own directory, fixes #73 2011-10-30 19:10:37 +01:00
Nils Adermann 56fab04c93 Merge pull request #71 from fabpot/filesystem-bug
Filesystem bug

Object of class Composer\Json\JsonFile could not be converted to string
2011-10-30 05:04:37 -07:00
Jordi Boggiano 7ebe67809a Merge pull request #72 from fabpot/master
Fix path for autoloaded libs as the .composer/ dir is now under the vendor/ one.
2011-10-30 05:01:47 -07:00
Fabien Potencier 03b06ebbca Fix path for autoloaded libs as the .composer/ dir is now under the vendor/ one. 2011-10-30 09:51:16 +01:00
Fabien Potencier 9c739e71c2 Add some unit tests 2011-10-30 09:10:49 +01:00
Fabien Potencier 1450ebd837 Fix bug in an exception, added unit tests 2011-10-30 09:09:46 +01:00
Nils Adermann e4f40272a3 Conflict handling: lastWeakWhy stores a rule, not a rule id 2011-10-29 20:05:06 +02:00
Nils Adermann 3e0e893f26 Correctly output decision map when debugging 2011-10-29 20:04:52 +02:00
Nils Adermann 85d38c653f Also detect updates resulting from feature rules rather than update rules 2011-10-29 19:39:18 +02:00
Nils Adermann 2056c4c732 Allow downgrades and uninstalls in the default policy 2011-10-29 19:23:52 +02:00
Jordi Boggiano d3aa8336dc Fix typo 2011-10-29 19:21:34 +02:00
Jordi Boggiano 1e0710b32f Move .composer into vendor (hardcoded for now) 2011-10-29 18:13:48 +02:00
Jordi Boggiano 305856f2f5 Merge pull request #68 from fabpot/small-opt
Move loader creation to avoid creating it more than once, unified the way
2011-10-29 07:12:14 -07:00
Nils Adermann 4827ea95e5 Merge pull request #69 from fabpot/added-exception
Add an exception when a Filesystem repository is corrupted
2011-10-29 03:36:03 -07:00
Nils Adermann 56f8758b12 Merge pull request #67 from fabpot/fix-autoloader
Fix autoload.php generator
2011-10-29 03:35:09 -07:00
Fabien Potencier 5ffc349642 Add an exception when a Filesystem repository is corrupted 2011-10-29 07:48:23 +02:00
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