1
0
Fork 0
Commit Graph

970 Commits (672e7d85a1cb2c2c9eaf5f89f33f886ac8b183f8)

Author SHA1 Message Date
Jordi Boggiano a8f4c2d7c5 Merge pull request #16 from pborreli/fixed-typo
[Composer] Fixed typos
2011-09-15 00:33:32 -07:00
pborreli f7735c396f [Composer] Fixed typos 2011-09-15 01:22:33 +00:00
Ryan Weaver cf11b48306 Making several tweaks per @stof 2011-09-14 10:34:53 -05:00
Nils Adermann b6ec172997 Merge pull request #13 from igorw/case-insensitive-package
Make package names and downloader/installer/repository types case insensitive
2011-09-14 07:06:57 -07:00
Igor Wiedler 9e8fc71870 Make package names and downloader/installer/repository types case insensitive 2011-09-14 16:01:54 +02:00
Nils Adermann e1773bea55 Merge pull request #11 from weaverryan/tiny_tweaks
Tiny tweaks
2011-09-14 06:56:52 -07:00
Ryan Weaver 80d606fb36 Removing uneeded use statement 2011-09-14 08:06:18 -05:00
Ryan Weaver f5b054985a Integrating the command system with Symfony's command system
Parts are still a WIP, as there are some embedded echo statements that should eventually be run through some sort of output interface.
2011-09-14 07:57:40 -05:00
Ryan Weaver 61917cb7f7 Adding Symfony's Console component as a submodule 2011-09-14 07:55:06 -05:00
Ryan Weaver 96b51c59d8 Adding some basic PHPDoc 2011-09-14 06:52:21 -05:00
Ryan Weaver d13a2e928e Removing reference to Silex, replacing with Composer 2011-09-13 19:34:48 -05:00
Jordi Boggiano 900bed1c32 Normalize package names 2011-09-13 02:24:44 +02:00
Jordi Boggiano d875f0964e Merge pull request #10 from igorw/json-force-object
Force empty lock files to contain a JSON object
2011-09-12 17:07:56 -07:00
Igor Wiedler 1e5aaefaf5 Force empty lock files to contain a JSON object
By default it will make it an array, since PHP does not distinguish between
arrays and hash(map)s.
2011-09-12 16:59:05 +02:00
Jordi Boggiano 525993cb00 Merge pull request #9 from igorw/unix-linefeeds
change bin/compile to use unix linefeeds
2011-09-05 01:23:22 -07:00
Igor Wiedler 15b43c2445 change bin/compile to use unix linefeeds 2011-09-05 10:18:32 +02:00
Jordi Boggiano 2b77710515 RC versions don't need a number 2011-08-21 13:33:42 +02:00
Jordi Boggiano 071fa7a4d7 Merge Solver logic into the install command 2011-08-21 13:33:39 +02:00
Jordi Boggiano ba9f12a517 Add extra and type info to packages 2011-08-21 13:33:37 +02:00
Nils Adermann 4dbb73daba Use an SplFixedArray for the solver's decision map 2011-08-21 07:30:10 -04:00
Nils Adermann b1d16a88b7 Test a replace link with a null constraint between packages 2011-08-21 07:08:34 -04:00
Nils Adermann 69ebbf0eac Correct handling of rules with more than 2 literals. 2011-08-21 06:30:06 -04:00
Nils Adermann db18e1b560 Add a few proper tests for literals, all tests passing now 2011-08-20 23:15:12 -04:00
Nils Adermann 6cf8d3888c Use version contraints in the default policy rather than hardcoded version_compare 2011-08-20 23:05:39 -04:00
Nils Adermann ac61c3973b Add a test for two equivalent installable packages and fix the functional test 2011-08-20 23:05:11 -04:00
Nils Adermann 03642a40b4 Handle the = comparison operator for versions the same as == 2011-08-20 23:04:16 -04:00
Nils Adermann 6118c00086 Implement minimization of branches 2011-08-20 23:03:52 -04:00
Nils Adermann 0f6fb9b692 Separate transaction generation from solving and properly identify updates 2011-08-20 18:38:31 -04:00
Nils Adermann f46aa495da Turn obsolete relationships and replaced packages into conflict rules 2011-08-20 18:19:47 -04:00
Nils Adermann 52565a5935 Implement handling of conflicts with learned rules 2011-08-20 13:45:20 -04:00
Nils Adermann b0c685176b Correct branch handling and implement reverting of decisions at a particular level 2011-08-20 13:36:18 -04:00
Nils Adermann 37e676cedd Implement analysis of conflicting rules 2011-08-20 13:21:24 -04:00
Nils Adermann 6d157b325d Package ids are always positive, so use absolute literal value for package id 2011-08-20 13:21:24 -04:00
Jordi Boggiano 6c2e4ed357 Add json-schema spec file for composer.json validation 2011-08-20 14:55:01 +02:00
Nils Adermann ad25618bdd Add install job and update rule conflict handling and reenable installation 2011-08-19 06:15:51 -04:00
Nils Adermann 1125de6bf2 Added disablePolicyRules to solve conflicts between remove jobs & update rules
This temporarily breaks installation of packages
2011-08-19 06:06:00 -04:00
Nils Adermann 01945c20f9 Simplify testSolverWithComposerRepo reusing utility methods from other tests 2011-08-05 04:17:07 -04:00
Nils Adermann 0d30bc469b In the default policy compare object ids to avoid recursion. 2011-08-05 04:14:11 -04:00
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.
2011-08-05 04:14:11 -04:00
Nils Adermann 172c8b908e Split the large solver test up into individual units testing smaller parts 2011-08-05 04:14:11 -04:00
Jordi Boggiano af392f90c9 Set exec bit on compile script 2011-08-04 00:06:17 +02:00
Jordi Boggiano 6fc243cbd6 Remove useless file 2011-08-03 23:59:36 +02:00
Jordi Boggiano 965e687f1a Fix submodule URLs 2011-08-03 23:59:13 +02:00
xaav 1607ac2404 Added phar compiler 2011-08-03 23:57:27 +02:00
Jordi Boggiano 256955f0f7 Minor code cleanup 2011-07-21 13:53:39 +02:00
Jordi Boggiano b277b8e73c Add failing test with composer repo 2011-07-21 13:42:47 +02:00
Jordi Boggiano 2d1f8fbe70 LiteralTest is incomplete 2011-07-21 12:16:24 +02:00
Nils Adermann 825deff09f Completed analysis of unsolvable situations and main decision process 2011-07-08 07:11:04 -04:00
Jordi Boggiano 49c3446ac1 Make use of new dist properties, refactored ZipDownloader 2011-07-06 21:06:52 +02:00
Jordi Boggiano 64978d40ba Add dist properties to the Packages 2011-07-06 21:05:05 +02:00