1
0
Fork 0
Commit Graph

12157 Commits (2b18799c4451a8362c9b7e51916a45ecd83d3637)

Author SHA1 Message Date
xaav 77934f3062 Edited README.md via GitHub 2011-06-28 11:37:31 -07:00
Nils Adermann c225b4c689 Correctly match platform specific PHP version numbers 2011-06-27 00:12:51 +02:00
Nils Adermann bc672deb32 Moving rule iteration logic to a separate RuleSet and RuleSetIterator class 2011-06-27 00:11:57 +02:00
Jordi Boggiano 26d62640a7 Merge pull request #2 from xaav/patch-3
Edited src/Composer/Downloader/ZipDownloader.php via GitHub
2011-06-15 02:00:18 -07:00
xaav e1e7bb03be Edited src/Composer/Downloader/ZipDownloader.php via GitHub 2011-06-14 14:25:29 -07:00
Jordi Boggiano 52888f193d Fix version parsing of PHP on some linux distros 2011-06-08 17:47:34 +02:00
Jordi Boggiano ae922eaf4c Use ReflectionExtension to read ext versions 2011-06-08 11:41:52 +02:00
Jordi Boggiano 3524d0388a Fixed use statement 2011-06-08 11:32:41 +02:00
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.
2011-06-07 22:43:26 +02:00
Jordi Boggiano bb52105c37 Add GitRepository class 2011-06-06 11:07:12 +02:00
Jordi Boggiano 1eb2a46308 Don't chdir() while cloning git repos 2011-06-06 11:01:06 +02:00
Jordi Boggiano 14fdd4384a Better reporting during installation 2011-06-06 11:01:04 +02:00
Jordi Boggiano 04783d5c30 CI match on package names 2011-06-06 11:01:02 +02:00
Nils Adermann 2e41993822 Update solver to use PackageInterface and store pool package ids inside of packages 2011-06-03 18:27:44 +02:00
Nils Adermann 8cbf3f4d75 No need to unify rules, we already check for duplication on insertion 2011-06-03 18:03:12 +02:00
Jordi Boggiano d181e32000 Fixed test expectation 2011-05-23 02:23:21 +02:00
Jordi Boggiano 00260a89ae Make test fail 2011-05-23 02:18:11 +02:00
Jordi Boggiano 92d443d07e Fix arg order 2011-05-23 02:04:17 +02:00
Jordi Boggiano 48774ee6ca Fix Literal id generation 2011-05-23 02:00:21 +02:00
Jordi Boggiano 56da52d38f PlatformRepository now adds packages for every loaded php extension as well 2011-05-23 02:00:18 +02:00
Jordi Boggiano 05d527446b addPackage needs to trigger initialization too 2011-05-23 02:00:15 +02:00
Jordi Boggiano 575e520931 Fix MultiConstraint::__toString 2011-05-23 02:00:12 +02:00
Jordi Boggiano 1edb22034d Fix CS 2011-05-23 02:00:09 +02:00
Jordi Boggiano b620405ab0 Adjusted BasePackage::__toString() 2011-05-23 02:00:07 +02:00
Jordi Boggiano 27f02aba7d Fix version check in BasePackage 2011-05-23 02:00:05 +02:00
Jordi Boggiano a67a1637e1 Print more human-readable info 2011-05-23 02:00:03 +02:00
Jordi Boggiano 831f5219b6 Use spl_object_hash() instead of the package id which doesn't exist anymore 2011-05-23 02:00:00 +02:00
Jordi Boggiano b85c1a2780 Fix interfaces use statements/use interfaces for type hints 2011-05-23 01:59:57 +02:00
Nils Adermann 4dad9fa6ef Adding support for LinkConstraints to the solver requests.
Constraints are directly passed on to the pool's whatProvides method
which returns a set of packages that satisfy name and constraint conditions.
2011-05-22 23:54:48 +02:00
Nils Adermann 273e12e386 Rule unification 2011-05-22 19:40:52 +02:00
Nils Adermann f3d9c8701a Generate transaction from solver's final decision queue. 2011-05-22 19:40:41 +02:00
Jordi Boggiano ea71abb3fd Fixed line endings 2011-05-06 19:55:49 +02:00
Jordi Boggiano e43060eb72 Added exceptions and fixed CS of the ZipDownloader 2011-05-06 19:54:47 +02:00
Geoff 99d55792f6 Added ZipDownloader. 2011-05-01 21:31:06 -05:00
Jordi Boggiano 14b3325347 Fix version parsing 2011-04-23 22:25:10 +02:00
Jordi Boggiano d185194d1a Create links/constraints between packages 2011-04-23 20:52:37 +02:00
Jordi Boggiano b53a3086b6 Minor refactorings and changes 2011-04-21 21:13:14 +02:00
Nils Adermann ec94b76c7c Tests for MultiConstraints on versions 2011-04-18 22:54:08 +02:00
Nils Adermann f0af6b7d57 It's called a repository, not a registry 2011-04-18 22:48:51 +02:00
Nils Adermann 9b8ab7d710 Fix SpecificConstraint which only handles matching of instances of same constraint 2011-04-18 22:47:33 +02:00
Nils Adermann d5dd86cd75 Correct version contraint matching and add tests for various cases 2011-04-18 22:45:11 +02:00
Nils Adermann 1870291949 Rename PackageTest to MemoryPackageTest 2011-04-18 22:44:14 +02:00
Nils Adermann 9183ce18d9 Use /usr/bin/env instead of /bin/env. 2011-04-18 00:39:28 +02:00
Nils Adermann 8c9f8fb86f Rename RelationConstraints to Links in the Package namespace.
Constraints have been generalised to allow matching requiring and providing
constraints against each other.
2011-04-18 00:27:31 +02:00
Jordi Boggiano e03983697a Add base installer/downloader and ComposerRepository 2011-04-18 00:15:05 +02:00
Jordi Boggiano 2475ce47e4 Make ArrayRepository more extensible 2011-04-18 00:12:40 +02:00
Jordi Boggiano c6321e7277 Fix tests and invalid use statements 2011-04-17 23:45:37 +02:00
Jordi Boggiano 3da43e751d Update naming of repositories 2011-04-17 23:32:53 +02:00
Jordi Boggiano 6dbec8718d Remove contains() from RepositoryInterface 2011-04-17 22:59:23 +02:00
Jordi Boggiano f0e709ad09 Minor cleanups, add license property to the PackageInterface 2011-04-17 22:13:08 +02:00