Jordi Boggiano
ae922eaf4c
Use ReflectionExtension to read ext versions
14 years ago
Jordi Boggiano
3524d0388a
Fixed use statement
14 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.
14 years ago
Jordi Boggiano
bb52105c37
Add GitRepository class
14 years ago
Jordi Boggiano
1eb2a46308
Don't chdir() while cloning git repos
14 years ago
Jordi Boggiano
14fdd4384a
Better reporting during installation
14 years ago
Jordi Boggiano
04783d5c30
CI match on package names
14 years ago
Nils Adermann
2e41993822
Update solver to use PackageInterface and store pool package ids inside of packages
14 years ago
Nils Adermann
8cbf3f4d75
No need to unify rules, we already check for duplication on insertion
14 years ago
Jordi Boggiano
d181e32000
Fixed test expectation
14 years ago
Jordi Boggiano
00260a89ae
Make test fail
14 years ago
Jordi Boggiano
92d443d07e
Fix arg order
14 years ago
Jordi Boggiano
48774ee6ca
Fix Literal id generation
14 years ago
Jordi Boggiano
56da52d38f
PlatformRepository now adds packages for every loaded php extension as well
14 years ago
Jordi Boggiano
05d527446b
addPackage needs to trigger initialization too
14 years ago
Jordi Boggiano
575e520931
Fix MultiConstraint::__toString
14 years ago
Jordi Boggiano
1edb22034d
Fix CS
14 years ago
Jordi Boggiano
b620405ab0
Adjusted BasePackage::__toString()
14 years ago
Jordi Boggiano
27f02aba7d
Fix version check in BasePackage
14 years ago
Jordi Boggiano
a67a1637e1
Print more human-readable info
14 years ago
Jordi Boggiano
831f5219b6
Use spl_object_hash() instead of the package id which doesn't exist anymore
14 years ago
Jordi Boggiano
b85c1a2780
Fix interfaces use statements/use interfaces for type hints
14 years ago
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.
14 years ago
Nils Adermann
273e12e386
Rule unification
14 years ago
Nils Adermann
f3d9c8701a
Generate transaction from solver's final decision queue.
14 years ago
Jordi Boggiano
ea71abb3fd
Fixed line endings
14 years ago
Jordi Boggiano
e43060eb72
Added exceptions and fixed CS of the ZipDownloader
14 years ago
Geoff
99d55792f6
Added ZipDownloader.
14 years ago
Jordi Boggiano
14b3325347
Fix version parsing
14 years ago
Jordi Boggiano
d185194d1a
Create links/constraints between packages
14 years ago
Jordi Boggiano
b53a3086b6
Minor refactorings and changes
14 years ago
Nils Adermann
ec94b76c7c
Tests for MultiConstraints on versions
14 years ago
Nils Adermann
f0af6b7d57
It's called a repository, not a registry
14 years ago
Nils Adermann
9b8ab7d710
Fix SpecificConstraint which only handles matching of instances of same constraint
14 years ago
Nils Adermann
d5dd86cd75
Correct version contraint matching and add tests for various cases
14 years ago
Nils Adermann
1870291949
Rename PackageTest to MemoryPackageTest
14 years ago
Nils Adermann
9183ce18d9
Use /usr/bin/env instead of /bin/env.
14 years ago
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.
14 years ago
Jordi Boggiano
e03983697a
Add base installer/downloader and ComposerRepository
14 years ago
Jordi Boggiano
2475ce47e4
Make ArrayRepository more extensible
14 years ago
Jordi Boggiano
c6321e7277
Fix tests and invalid use statements
14 years ago
Jordi Boggiano
3da43e751d
Update naming of repositories
14 years ago
Jordi Boggiano
6dbec8718d
Remove contains() from RepositoryInterface
14 years ago
Jordi Boggiano
f0e709ad09
Minor cleanups, add license property to the PackageInterface
14 years ago
Jordi Boggiano
8ab98a8b5d
Fix class name
14 years ago
Jordi Boggiano
bb5e59e30f
Add type/repositoryType and repositoryUrl package properties
14 years ago
Jordi Boggiano
1d5f5885bc
Remove useless abstract methods, interface is enough
14 years ago
Jordi Boggiano
7ea2fd6c93
Fix author/copyright
14 years ago
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.
14 years ago
Nils Adermann
933cc6179b
Import initial partial port of the libzypp satsolver.
14 years ago