Disable best pkg matching code; see NEWS for more information.

This commit is contained in:
Juan RP 2014-09-11 12:19:52 +02:00
parent ed6b3c00f5
commit 2207517e13
2 changed files with 7 additions and 5 deletions

9
NEWS
View File

@ -1,11 +1,16 @@
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 zsh completion for xbps-* and xbps-src. Contributed by Christian Neukirchen.
* xbps-query(8): added -s/--search local mode, the previous repository mode must
be specified with -R/--repository mode explicitly.
* xbps-query(8): added -s/--search local mode; local pkg queries are now possible.
* 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)

View File

@ -275,9 +275,6 @@ xbps_rpool_get_virtualpkg(struct xbps_handle *xhp, const char *pkg)
xbps_dictionary_t
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);
}