1
0
Fork 0
Commit Graph

41 Commits (00260a89ae89398285edb0738614c28ddea94e2a)

Author SHA1 Message Date
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
Jordi Boggiano 8ab98a8b5d Fix class name 2011-04-17 21:49:05 +02:00
Jordi Boggiano bb5e59e30f Add type/repositoryType and repositoryUrl package properties 2011-04-17 21:48:20 +02:00
Jordi Boggiano 1d5f5885bc Remove useless abstract methods, interface is enough 2011-04-17 21:47:46 +02:00
Jordi Boggiano 7ea2fd6c93 Fix author/copyright 2011-04-17 21:39:53 +02:00
Nils Adermann 3a851b4059 Define an interface for packages and move package code to separate namespace.
Ids are no longer needed, they are internal to the solver and not a part of
packages.
2011-04-17 21:36:05 +02:00
Nils Adermann 933cc6179b Import initial partial port of the libzypp satsolver. 2011-04-05 17:37:19 +02:00
Nils Adermann ea13ad7669 Add a LICENSE and Readme file. 2011-04-05 17:36:01 +02:00