97 Commits (6cf8d3888c5d421176d0ce9f8715a95b1c0035c7)
 

Author SHA1 Message Date
Nils Adermann 6cf8d3888c Use version contraints in the default policy rather than hardcoded version_compare 13 years ago
Nils Adermann ac61c3973b Add a test for two equivalent installable packages and fix the functional test 13 years ago
Nils Adermann 03642a40b4 Handle the = comparison operator for versions the same as == 13 years ago
Nils Adermann 6118c00086 Implement minimization of branches 13 years ago
Nils Adermann 0f6fb9b692 Separate transaction generation from solving and properly identify updates 13 years ago
Nils Adermann f46aa495da Turn obsolete relationships and replaced packages into conflict rules 13 years ago
Nils Adermann 52565a5935 Implement handling of conflicts with learned rules 13 years ago
Nils Adermann b0c685176b Correct branch handling and implement reverting of decisions at a particular level 13 years ago
Nils Adermann 37e676cedd Implement analysis of conflicting rules 13 years ago
Nils Adermann 6d157b325d Package ids are always positive, so use absolute literal value for package id 13 years ago
Jordi Boggiano 6c2e4ed357 Add json-schema spec file for composer.json validation 13 years ago
Nils Adermann ad25618bdd Add install job and update rule conflict handling and reenable installation 13 years ago
Nils Adermann 1125de6bf2 Added disablePolicyRules to solve conflicts between remove jobs & update rules
This temporarily breaks installation of packages
13 years ago
Nils Adermann 01945c20f9 Simplify testSolverWithComposerRepo reusing utility methods from other tests 13 years ago
Nils Adermann 0d30bc469b In the default policy compare object ids to avoid recursion. 13 years ago
Nils Adermann 61ad71b624 Reverse the transaction instruction order.
Early decisions cause later ones through dependencies. So in order to
perform the earlier decisions the later ones must be fulfilled first.
13 years ago
Nils Adermann 172c8b908e Split the large solver test up into individual units testing smaller parts 13 years ago
Jordi Boggiano af392f90c9 Set exec bit on compile script 13 years ago
Jordi Boggiano 6fc243cbd6 Remove useless file 13 years ago
Jordi Boggiano 965e687f1a Fix submodule URLs 13 years ago
xaav 1607ac2404 Added phar compiler 13 years ago
Jordi Boggiano 256955f0f7 Minor code cleanup 13 years ago
Jordi Boggiano b277b8e73c Add failing test with composer repo 13 years ago
Jordi Boggiano 2d1f8fbe70 LiteralTest is incomplete 13 years ago
Nils Adermann 825deff09f Completed analysis of unsolvable situations and main decision process 13 years ago
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 13 years ago
Jordi Boggiano 64978d40ba Add dist properties to the Packages 13 years ago
Jordi Boggiano d6ae5ddf35 Add 'dev' flag to version parser 13 years ago
Jordi Boggiano 8cc320a2cb Restore +x mode 13 years ago
Jordi Boggiano 39e35ed50b Merge pull request #5 from xaav/patch-5
Edited bin/composer via GitHub
13 years ago
xaav ed139f050a Edited bin/composer via GitHub 13 years ago
Jordi Boggiano 10486d8505 Better error reporting for incorrect repo specs 13 years ago
Jordi Boggiano f272f66324 Fixes and improvements to the PEAR implementation 13 years ago
Jordi Boggiano 75428d9ad1 Slightly improve reporting when json config files can't be parsed 13 years ago
Jordi Boggiano 75410d13b7 Bugfix 13 years ago
Jordi Boggiano 5b061b8ddb Remove TODO 13 years ago
xaav 74332da349 Using copy function. 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
Jordi Boggiano f68daef60c Merge pull request #4 from xaav/patch-4
Edited README.md via GitHub
13 years ago
xaav 77934f3062 Edited README.md via GitHub 13 years ago
Nils Adermann c225b4c689 Correctly match platform specific PHP version numbers 13 years ago
Nils Adermann bc672deb32 Moving rule iteration logic to a separate RuleSet and RuleSetIterator class 13 years ago
Jordi Boggiano 26d62640a7 Merge pull request #2 from xaav/patch-3
Edited src/Composer/Downloader/ZipDownloader.php via GitHub
13 years ago
xaav e1e7bb03be Edited src/Composer/Downloader/ZipDownloader.php via GitHub 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 3524d0388a Fixed use statement 13 years ago
Nils Adermann 498125adbe Assertions are now properly decided before running the main solver.
Updating does not work yet. The test case works fine for installing/removing
the correct packages however. Weak (update/feature) rules are entirely ignored
so far.

Watches are on literal ids rather than literals to save on function calls
and memory usage. So a few methods for literals now have an id counter part.
This should probably be refactored to have the literal versions call the
id ones instead.
13 years ago
Jordi Boggiano bb52105c37 Add GitRepository class 13 years ago