mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Prefer exact match on package name over provides match
When searching for packages which might satisfy given dependency, aptly was first returning packages which `Provides` mentioned name. By default aptly is picking up only first match (unless follow all variants options is enabled), so `Provides:` takes precedence over exact package name match. Invert this logic by searching first for package name match.
This commit is contained in:
@@ -85,6 +85,7 @@ tar_1.26+dfsg-0.1_amd64
|
||||
tar_1.26+dfsg-0.1_i386
|
||||
ttf-bitstream-vera_1.10-8_all
|
||||
ttf-dejavu-core_2.33-3_all
|
||||
ttf-freefont_20120503-1_all
|
||||
ucf_3.0025+nmu3_all
|
||||
x11-common_1:7.7+3~deb7u1_all
|
||||
xfonts-encodings_1:1.0.4-1_all
|
||||
|
||||
@@ -85,6 +85,7 @@ tar_1.26+dfsg-0.1_amd64
|
||||
tar_1.26+dfsg-0.1_i386
|
||||
ttf-bitstream-vera_1.10-8_all
|
||||
ttf-dejavu-core_2.33-3_all
|
||||
ttf-freefont_20120503-1_all
|
||||
ucf_3.0025+nmu3_all
|
||||
x11-common_1:7.7+3~deb7u1_all
|
||||
xfonts-encodings_1:1.0.4-1_all
|
||||
|
||||
@@ -85,6 +85,7 @@ tar_1.26+dfsg-0.1_amd64
|
||||
tar_1.26+dfsg-0.1_i386
|
||||
ttf-bitstream-vera_1.10-8_all
|
||||
ttf-dejavu-core_2.33-3_all
|
||||
ttf-freefont_20120503-1_all
|
||||
ucf_3.0025+nmu3_all
|
||||
x11-common_1:7.7+3~deb7u1_all
|
||||
xfonts-encodings_1:1.0.4-1_all
|
||||
|
||||
Reference in New Issue
Block a user