1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/lib/libalpm
Dan McGee 79e98316ea Add a 'valid' flag to the database object
Start by converting all of our flags to a 'status' bitmask (pkgcache
status, grpcache status). Add a new 'valid' flag as well. This will let
us keep track if the database itself has been marked valid in whatever
fashion.

For local databases at the moment we ensure there are no depends files;
for sync databases we ensure the PGP signature is valid if
required/requested. The loading of the pkgcache is prohibited if the
database is invalid.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24 03:46:12 -05:00
..
po po/: split into scripts/po/ and src/pacman/po/ 2011-06-23 22:50:01 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
add.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
alpm_list.c Merge branch 'maint' 2011-06-01 12:13:49 -05:00
alpm_list.h Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
alpm.c Move database 'version' check to registration time 2011-06-24 03:31:32 -05:00
alpm.h Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
backup.c Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
backup.h Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
base64.c Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
base64.h Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
be_local.c Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
be_package.c Remove three unnecessary usages of alpm_list_count() 2011-06-24 01:36:47 -05:00
be_sync.c Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
conflict.c Make struct pmconflict_t public 2011-06-16 11:57:30 -05:00
conflict.h Make struct pmconflict_t public 2011-06-16 11:57:30 -05:00
db.c Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
db.h Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
delta.c Correctly duplicate delta objects 2011-06-20 00:10:11 -05:00
delta.h Correctly duplicate delta objects 2011-06-20 00:10:11 -05:00
deps.c Make pmdepend_t and pmdepmissing_t public 2011-06-16 11:57:33 -05:00
deps.h Make pmdepend_t and pmdepmissing_t public 2011-06-16 11:57:33 -05:00
diskspace.c Switch all logging to use handle directly 2011-06-13 19:41:16 -05:00
diskspace.h Remove global handle from diskspace.c 2011-06-03 12:36:13 -05:00
dload.c Documented _alpm_download() 2011-06-20 00:18:03 -05:00
dload.h Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
error.c Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
graph.c Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
graph.h Include "config.h" in header files using off_t 2011-04-15 18:40:32 -05:00
group.c Make pmgrp_t public 2011-06-16 11:58:04 -05:00
group.h Make pmgrp_t public 2011-06-16 11:58:04 -05:00
handle.c Improve cachedir removal and error handling 2011-06-20 00:18:29 -05:00
handle.h API: change 'signaturedir' to 'gpgdir' 2011-06-15 12:02:29 -05:00
log.c Don't call public API in _alpm_log() 2011-06-20 00:03:53 -05:00
log.h Switch all logging to use handle directly 2011-06-13 19:41:16 -05:00
Makefile.am Allow conditional compilation with GPGME 2011-04-27 16:58:58 -05:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
package.h Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
pkghash.c Switch all logging to use handle directly 2011-06-13 19:41:16 -05:00
pkghash.h alpm: remove public visibility of pmpkghash_t 2011-02-25 09:45:13 -06:00
remove.c Convert backup list to new pmbackup_t type 2011-06-22 12:31:12 -05:00
remove.h Remove global handle from remove.c 2011-06-03 12:53:53 -05:00
signing.c API: change 'signaturedir' to 'gpgdir' 2011-06-15 12:02:29 -05:00
signing.h Require handle argument to all alpm_option_(get|set)_*() methods 2011-06-09 14:24:45 -05:00
sync.c Make pmgrp_t public 2011-06-16 11:58:04 -05:00
sync.h Remove global handle dependencies from sync/upgrade paths 2011-06-03 13:18:36 -05:00
trans.c Add a 'valid' flag to the database object 2011-06-24 03:46:12 -05:00
trans.h Move pm_errno onto the handle 2011-06-13 19:38:38 -05:00
util.c Clean up util md5sum method 2011-06-20 00:08:15 -05:00
util.h lib/util: call _alpm_log before setting handle->pm_errno 2011-06-20 10:43:54 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00