1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-17 06:45:05 -05:00
pacman/lib/libalpm
Travis Willard b6f89f03af separate local from sync dbs on filesystem
Introduce two new methods into the API - alpm_db_register_sync and
alpm_db_register_local, which replace the functionality of
alpm_db_register. db_register_local always returns the local DB, and
db_register_sync will always try to register a sync DB. This conceptually
separates the local DB from sync DBs in the code. Also updated the pacman
frontend to use the new functions. In addition, this changes the location
of all sync DBs in the filesystem from $DBPATH/$REPO to $DBPATH/sync/$REPO,
This removes the silly limitation that a sync DB couldn't be named 'local',
along with structurally separating sync DBs and the local DB in the
filesystem.

Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-08-26 23:44:32 -04:00
..
po Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c libalpm/add.c : fix backup handling. 2007-08-26 13:34:16 -04:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm_list.c libalpm/alpm_list.c : add SYMEXPORT to all alpm_list_ functions. 2007-07-20 10:28:07 -04:00
alpm_list.h Const correctness! 2007-06-05 17:34:33 -04:00
alpm.c libalpm/db.c : add alpm_db_unregister_all. 2007-08-16 11:08:17 -04:00
alpm.h separate local from sync dbs on filesystem 2007-08-26 23:44:32 -04:00
backup.c Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
backup.h Const correctness! 2007-06-05 17:34:33 -04:00
be_files.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
cache.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
conflict.h This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
db.c separate local from sync dbs on filesystem 2007-08-26 23:44:32 -04:00
db.h separate local from sync dbs on filesystem 2007-08-26 23:44:32 -04:00
deps.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
deps.h libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
error.c Post trial install changes, round one 2007-08-21 21:28:05 -04:00
error.h Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
group.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
handle.h Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.c Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
Makefile.am Clean up MD5 code. 2007-08-16 13:17:33 -04:00
md5.c Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
md5.h Add const qualifier to md5_file and alpm_get_md5sum 2007-08-20 12:58:17 -04:00
package.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
package.h Remove support for SHA1 from pacman. 2007-08-16 11:30:38 -04:00
provide.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
provide.h * Enforce const char* params when using strings 2007-02-26 08:38:48 +00:00
remove.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
server.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00
sync.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
trans.h Fix some errors spit out by -Wextra 2007-08-16 16:19:06 -04:00
util.c libalpm: add newlines to all strings passed to log callback 2007-08-23 22:26:55 -04:00
util.h Fix for FS 6404 and functionalize some cachedir handling stuff 2007-08-20 15:23:46 -04:00