255 Commits (aeab3c16fde91cb556f0b7d2b832cffce3ca416f)
 

Author SHA1 Message Date
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 17286e993c Add exception when json files can not be read 13 years ago
Jordi Boggiano 450095e61d Adjust RepositoryManager to handle multiple repositories of one type 13 years ago
Jordi Boggiano 33e7001d7e Fix typo 13 years ago
Jordi Boggiano c33fc80d23 Add supports() to the InstallerInterface 13 years ago
Jordi Boggiano 8a571c05db Fix issues in new autoloader code 13 years ago
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 13 years ago
Jordi Boggiano 28369ea623 Add missing docblock 13 years ago
Igor Wiedler 808a2c9448 [composer] wrap UniversalClassLoader require in if class_exists 13 years ago
Igor Wiedler aa7c4b8ef7 [autoload] refactor getFullPackage into populateAutoloadInformation 13 years ago
Igor Wiedler 9d238330b3 [autoload] refactor autoload generation code into a AutoloadGenerator 13 years ago
Igor Wiedler 72a1f66b7a rename installAs to target-dir 13 years ago
Igor Wiedler 409b2e47ae return early (this is very important) 13 years ago
Igor Wiedler ea31039556 [autoload] autoloading prototype 13 years ago
Nils Adermann 72f69e6109 Merge pull request #60 from naderman/master
Implementation of the DefaultPolicy specs regarding prefered packages
13 years ago
Nils Adermann e16c3f0626 Remove useless test, packages providing different versions aren't alternatives 13 years ago
Nils Adermann 0801d8ed31 Enable solver test regarding replaced packages after policy fix 13 years ago
Nils Adermann 571c14adf9 Prefer original packages over replaced packages of same repository priority 13 years ago
Nils Adermann 44369472be Define the calculation of package priorities in a single method 13 years ago
Nils Adermann 1b6f57e651 Correctly implement priorities and version numbers in the default policy 13 years ago
Nils Adermann b52d6d881a Pool repository index represents priority, highest index = highest priority 13 years ago
Nils Adermann 7558731830 Fix documentation layout 13 years ago
Nils Adermann 4d5655a604 Add basic specification of the default solver policy behaviour 13 years ago
Nils Adermann 55d5e55195 DefaultPolicy test: pick package providing newest virtual package version 13 years ago
Nils Adermann 0c30610fdc Complete the policy tests with provider and replacement tests 13 years ago
Nils Adermann e4c94dd415 Adding tests for the default policy specifying its desired behaviour 13 years ago
Jordi Boggiano 40cc5fea1d Add a few solver tests regarding "replace" 13 years ago
Jordi Boggiano de7cbe60fe Merge pull request #48 from nrk/fix-symfony-bundle
Fix missing support for the symfony-bundle package type.
13 years ago
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.
13 years ago
Jordi Boggiano e09f6900da Fix up version parsing 13 years ago
Jordi Boggiano 19f89069a4 Add some more version normalization and support for branch names 13 years ago
Jordi Boggiano 536c1e0f88 Update README 13 years ago
Jordi Boggiano b3fe30200b Remove validation for now since it's doing more harm than good 13 years ago
Jordi Boggiano 7d4e67b335 Fix phar compiler 13 years ago
Jordi Boggiano 7c7bbb18c8 Updated README, refs #24 13 years ago
Jordi Boggiano be769ea1ac Add user-agent header to json fetches, fixes #39 13 years ago
Jordi Boggiano 2ebc795754 Error out when a package can not be found, refs #30 13 years ago
Jordi Boggiano 1a9de17a88 Detect and report common mistakes in json syntax, refs #36 13 years ago
Jordi Boggiano cad0967788 json_decode returns null on error, not false 13 years ago
Jordi Boggiano 9210500714 Handle false and empty decoded json values as valid 13 years ago
Jordi Boggiano 18e28a2a9f Make sure .composer dir is created before writing in it 13 years ago
Jordi Boggiano 61dc13647c Fix tests 13 years ago
Jordi Boggiano 806c5f200a Fix var name 13 years ago
Jordi Boggiano e109213dfa Merge remote-tracking branch 'everzet/json-abstraction' 13 years ago
Jordi Boggiano 9e3c2a7e22 Skip platform packages from the lock file
This should maybe be done in a better way, but it'll do for now.
13 years ago
Jordi Boggiano cc769af923 Reuse normal installer logic for locked installs 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 96122aada8 refactored install command to use new Locker 13 years ago