summaryrefslogtreecommitdiff
path: root/test/provides.repo
AgeCommit message (Collapse)AuthorFilesLines
2022-12-20commit: correctly analyze virtual provides induced errorsTimo Teräs1-0/+15
The package list cannot be used to determine name state, as packages are not selected through all of their names, and that effects the status of unversioned provides. Thus the name state must be calculated in separate step via the dependency graphs. ref #10847
2021-05-20solver: don't consider requirer count for preferenceTimo Teräs1-0/+22
The original intent was to choose packages to which there is most dependencies. However, since the code has evolved this is has been mostly obsolete. And in fact now interferes with the provides and provides priority mechanism. Remove this as obsolete. Fixes #10742
2018-02-21solver: allow names with only one provider to be autoselected regardless of ↵William Pitcock1-1/+8
priority
2018-01-02commit: properly analyze packages with provides="$pkgname"Timo Teräs1-0/+7
2018-01-02test: add testcases to ensure provider collisions generate an errorWilliam Pitcock1-0/+14
2017-11-02solver: only select a default if there is at least one provider with a ↵William Pitcock1-1/+16
declared provider_priority
2017-11-02solver: implement support for choosing default virtualsWilliam Pitcock1-0/+1
By introducing a new package metadata field, `provider_priority` (index letter `k`), we can specify default packages to satisfy a virtual. If a user wishes to select an alternative provider for the virtual, a changeset swapping the default provider for the selected provider will be generated by the dependency resolver.
2013-06-18errors: improve analysis for virtual packagesTimo Teräs1-0/+6
if all packages named N provide the virtual package, list only the name N instead of all packages providing it.
2013-06-13errors: rewrite the logic how errors are reportedTimo Teräs1-0/+21
Instead of the dependency oriented logic, switch to print them for each package or name needed. Might give a bit more readable errors now. There's still few corner cases that proper error is not output, which are cought by the test cases.
2012-02-28solver: allow multiple packages with same virtual providesTimo Teräs1-4/+2
ref #574
2012-02-27solver, test: implements more provides things, add testsTimo Teräs1-0/+44
ref #574