[pacman-dev] [PATCH 00/13] Files database operations
Allan McRae
allan at archlinux.org
Sat Jun 20 07:42:13 UTC 2015
This patchset adds support for reading the .files database and performing
the following:
- downloading/updating the .files database
- checking which package contains a file
- searching for a file (including regex support)
- listing all files from a package
Allan McRae (13):
Simplify sync_cleandb
Fix formatting in parsearg_upgrade
Add files option to handle
libalpm: handle both .db and .files extensions
Read file lists from files database
Add pacman support for .files databases
pacman: move database syncing to util.c
Prototype pacman files database operations
Implement locating file owner in sync files database
Implement listing files from sync packages
Implement searching for a file in the sync databases
Add regex search option to sync database file searching
Handle repo/pkg style arguments to sync repo file listing
lib/libalpm/alpm.h | 3 +
lib/libalpm/be_sync.c | 61 +++++++++--
lib/libalpm/db.c | 10 +-
lib/libalpm/handle.c | 13 +++
lib/libalpm/handle.h | 1 +
src/pacman/Makefile.am | 1 +
src/pacman/callback.c | 2 +-
src/pacman/conf.c | 4 +
src/pacman/conf.h | 6 +-
src/pacman/files.c | 271 +++++++++++++++++++++++++++++++++++++++++++++++++
src/pacman/pacman.c | 88 +++++++++++++++-
src/pacman/pacman.h | 2 +
src/pacman/sync.c | 84 ++++-----------
src/pacman/util.c | 33 ++++++
src/pacman/util.h | 1 +
15 files changed, 498 insertions(+), 82 deletions(-)
create mode 100644 src/pacman/files.c
--
2.4.4
More information about the pacman-dev
mailing list