Jordi Boggiano
d6620195e5
Prioritize repository over package versions in the default policy, fixes #3509
10 years ago
Jordi Boggiano
05e08889ed
Add BC method for old usage, refs #3857
10 years ago
isoroku
e0657b60a2
Fix misspellings
10 years ago
Nicolas Grekas
4a0feb0189
add --prefer-lowest-stable to update command
10 years ago
Nils Adermann
c6af09b1da
Make project id public
...
Reduction of rougly 1.3 million function calls on packagist update
10 years ago
Nils Adermann
5333017aea
Remove unused selectNewestPackages method in DefaultPolicy
...
Unused as of 1b6f57e651
10 years ago
Nils Adermann
3148ffd355
Whitelist packages with names matching those specified before generating rules
...
Addresses #2690 doesn't do any performance optimisations yet which we
could do now
11 years ago
Jordi Boggiano
e848c76cbc
Only compare branches as versions in the policy to sort packages, but not in the solver, fixes #1817
11 years ago
Jordi Boggiano
0700cd9186
Adjust according to feedback
12 years ago
Jordi Boggiano
db4055b778
Put a higher prio on replacers of the same vendor as the required package
12 years ago
Jordi Boggiano
b0297ef67a
Add prefer-stable flag to pick stable package over unstable ones when possible
12 years ago
Jordi Boggiano
ef637c8f1a
CS fixes
12 years ago
Nils Adermann
84dd1fc1bf
Merge pull request #898 from Seldaek/providefix
...
Fix hijacking possibility via provide bug
12 years ago
Jordi Boggiano
2f7130200a
Prevent seeing dev versions as equal when they are not, fixes #848
12 years ago
Jordi Boggiano
2d19cf2a00
Fix hijacking possibility via provide bug
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
13 years ago
Nils Adermann
451bab1c2c
Get rid of Literal object / literal id mix, use literals only to save memory
13 years ago
Nils Adermann
bd66c27ff6
We mark packages as uninstallable by removing them from the repo
...
As it is faster to remove packages from the repos and keep them out of the
package pool to begin with, we don't need an installable() method on the
policy.
13 years ago
Nils Adermann
8fc09afbae
Move transaction generation to a separate class
13 years ago
Jordi Boggiano
ebf78135c9
Rename method
13 years ago
Jordi Boggiano
06fb1b8083
Fix priority of aliases when mixing root package aliases with branch-alias ones, fixes #576
13 years ago
Jordi Boggiano
c425b8b6cb
Prevent a package from having duplicate names
13 years ago
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
13 years ago
Volker Dusch
ec61297122
Remove the allowUninstall policy option and clean up the only usage
13 years ago
Volker Dusch
5fdca19880
Removed the option to disallowed downgrades and simplifed some places where it was used
13 years ago
Nils Adermann
46e1001b4b
Replaced packages have higher priority, even if wrong version is replaced
13 years ago
Nils Adermann
4140f08d9c
Use a map of installed package ids in the solver
...
The assumption package.repo == installed no longer holds for installed
packages because there are multiple wrapped installed repositories.
13 years ago
Nils Adermann
2056c4c732
Allow downgrades and uninstalls in the default policy
13 years ago
Nils Adermann
571c14adf9
Prefer original packages over replaced packages of same repository priority
13 years ago
Nils Adermann
44369472be
Define the calculation of package priorities in a single method
13 years ago
Nils Adermann
1b6f57e651
Correctly implement priorities and version numbers in the default policy
13 years ago
Nils Adermann
e4c94dd415
Adding tests for the default policy specifying its desired behaviour
13 years ago
Nils Adermann
6cf8d3888c
Use version contraints in the default policy rather than hardcoded version_compare
13 years ago
Nils Adermann
0d30bc469b
In the default policy compare object ids to avoid recursion.
13 years ago
Nils Adermann
825deff09f
Completed analysis of unsolvable situations and main decision process
13 years ago
Jordi Boggiano
b85c1a2780
Fix interfaces use statements/use interfaces for type hints
14 years ago
Jordi Boggiano
7ea2fd6c93
Fix author/copyright
14 years ago
Nils Adermann
933cc6179b
Import initial partial port of the libzypp satsolver.
14 years ago