Disable best pkg matching code; see NEWS for more information.
This commit is contained in:
parent
ed6b3c00f5
commit
2207517e13
9
NEWS
9
NEWS
@ -1,11 +1,16 @@
|
|||||||
xbps-0.38 (???):
|
xbps-0.38 (???):
|
||||||
|
|
||||||
|
* Disabled best pkg matching code for performance reasons. When installing
|
||||||
|
or updating a package without any version component, the first repo containing
|
||||||
|
it wins. Previously the repository with the greatest version won. Use a specific
|
||||||
|
package expression to match packages in multiple repos, or switch the order
|
||||||
|
of the repos instead.
|
||||||
|
|
||||||
* Added bash completion for xbps-*. Contributed by Eivind Uggedal.
|
* Added bash completion for xbps-*. Contributed by Eivind Uggedal.
|
||||||
|
|
||||||
* Added zsh completion for xbps-* and xbps-src. Contributed by Christian Neukirchen.
|
* Added zsh completion for xbps-* and xbps-src. Contributed by Christian Neukirchen.
|
||||||
|
|
||||||
* xbps-query(8): added -s/--search local mode, the previous repository mode must
|
* xbps-query(8): added -s/--search local mode; local pkg queries are now possible.
|
||||||
be specified with -R/--repository mode explicitly.
|
|
||||||
|
|
||||||
* pkgdb-0.38 format: the pkgdb plist file now contains all pkg metadata objects
|
* pkgdb-0.38 format: the pkgdb plist file now contains all pkg metadata objects
|
||||||
plus the pkgdb specific ones (automatic-install, install-date, metafile-sha256)
|
plus the pkgdb specific ones (automatic-install, install-date, metafile-sha256)
|
||||||
|
@ -275,9 +275,6 @@ xbps_rpool_get_virtualpkg(struct xbps_handle *xhp, const char *pkg)
|
|||||||
xbps_dictionary_t
|
xbps_dictionary_t
|
||||||
xbps_rpool_get_pkg(struct xbps_handle *xhp, const char *pkg)
|
xbps_rpool_get_pkg(struct xbps_handle *xhp, const char *pkg)
|
||||||
{
|
{
|
||||||
if (!xbps_pkgpattern_version(pkg) && !xbps_pkg_version(pkg))
|
|
||||||
return repo_find_pkg(xhp, pkg, BEST_PKG);
|
|
||||||
|
|
||||||
return repo_find_pkg(xhp, pkg, REAL_PKG);
|
return repo_find_pkg(xhp, pkg, REAL_PKG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user