pacman/lib/libalpm
Allan McRae e9d91a688d libalpm/sync.c: change alpm_sync_newversion() to alpm_sync_get_new_version()
The behaviour of "pacman -Qu" was very strange...  It would only consider
packages from repos with Usage = Search (or All), and ignore those with
Usage = Sync, Install or Upgrade.

This is because the function alpm_sync_newversion() used ALPM_DB_USAGE_SEARCH
for its filtering. Given this function is documented (at least in the source)
to "Check for new version of pkg in sync repos", I would expect that to look at
all repos. However, just changing this parameter, would result in a fairly
silent change in behaviour of this function. Instead, rename the function
and remove this filtering altogether.  Users of this function can filter
the dbs passed to this function to achieve their desired output.

Signed-off-by: Allan McRae <allan@archlinux.org>
2019-01-10 14:14:04 +10:00
..
po Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
.gitignore libalpm: add pkg-config file 2012-04-25 20:02:36 -04:00
add.c libalpm/add.c: move assignment into conditional in alpm_add_pkg 2019-01-04 11:32:49 +10:00
add.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
alpm.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
alpm.h libalpm/sync.c: change alpm_sync_newversion() to alpm_sync_get_new_version() 2019-01-10 14:14:04 +10:00
alpm_list.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
alpm_list.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
backup.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
backup.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
base64.c base64.c: comment out unused variable 2014-01-15 15:54:56 +10:00
base64.h Do not #define _RESERVED_IDENTIFIERS 2016-09-25 18:04:57 +10:00
be_local.c be_local.c: remove aligment in local_pkg_ops 2019-01-10 14:10:55 +10:00
be_package.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
be_sync.c libalpm: parse {check, make}depends when reading database 2019-01-10 14:04:59 +10:00
conflict.c Remove the last traces of the pacman --force option 2018-08-10 12:38:03 +10:00
conflict.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
db.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
db.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
delta.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
delta.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
deps.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
deps.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
diskspace.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
diskspace.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
dload.c alpm: Fix SIGINT handling re: aborting download 2018-10-17 17:28:32 -07:00
dload.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
error.c add specific error for missing gpg support 2018-11-27 22:48:43 +10:00
filelist.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
filelist.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
graph.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
graph.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
group.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
group.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
handle.c silence warning when built without curl 2019-01-04 11:08:54 +10:00
handle.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
hook.c libalpm: ignore .hook suffix when sorting hooks 2018-08-10 12:37:19 +10:00
hook.h libalpm: ignore .hook suffix when sorting hooks 2018-08-10 12:37:19 +10:00
ini.c run hooks during trans_commit 2015-10-18 10:59:23 +10:00
ini.h run hooks during trans_commit 2015-10-18 10:59:23 +10:00
libalpm.pc.in libalpm.pc: migrate to Requires.private 2018-04-29 21:57:17 +10:00
libarchive-compat.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
log.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
log.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
Makefile.am Remove all modelines from the project 2018-05-14 09:59:15 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
package.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
package.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
pkghash.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
pkghash.h Update coyrights for 2018 2018-03-14 13:31:31 +10:00
rawstr.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
remove.c Move skipping of duplicate sync/remove targets into libalpm 2019-01-04 11:31:55 +10:00
remove.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
signing.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
signing.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
sync.c libalpm/sync.c: change alpm_sync_newversion() to alpm_sync_get_new_version() 2019-01-10 14:14:04 +10:00
sync.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
trans.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00
trans.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
util-common.c Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util-common.h Split common utility functions for libalpm and pacman 2013-01-04 21:49:37 +10:00
util.c handle EINTR while polling scripts/hooks 2018-10-21 19:19:48 +10:00
util.h Remove all modelines from the project 2018-05-14 09:59:15 +10:00
version.c Remove all modelines from the project 2018-05-14 09:59:15 +10:00