1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-09 19:15:01 -05:00
pacman/lib/libalpm
Dan McGee 72883e3bcb Fully implement database lazy loading
Commit 34e1413d75 attempted to implement lazy loading of package databases.
Although it took care of my main complaint (creating the database directory
if it didn't exist), it didn't allow sync repos to be registered before
alpm_option_set_dbpath() had been called.

With this patch, we no longer compute the individual repository DB paths
until necessary, allowing full lazy loading to work as intended, and
allowing us to drop the extra setlibpath() calls from the frontend. This
allows the changes introduced in a2cd48960 (but later reverted) to be added
back in again.

Signed-off-by: Dan McGee <dan@archlinux.org>
2009-09-20 12:19:57 -05:00
..
po Update Italian translation 2009-09-18 22:01:07 +02:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Fully implement database lazy loading 2009-09-20 12:19:57 -05:00
add.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
alpm_list.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
alpm_list.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
alpm.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
alpm.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
backup.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
backup.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
be_files.c Fully implement database lazy loading 2009-09-20 12:19:57 -05:00
be_package.c Add makepkgopt to be_package.c 2009-09-14 22:09:05 -05:00
cache.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
cache.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
conflict.c Remove transaction type 2009-09-08 22:17:41 -05:00
conflict.h Add a new reason field to pmconflict_t struct 2009-09-08 21:58:52 -05:00
db.c Fully implement database lazy loading 2009-09-20 12:19:57 -05:00
db.h Fully implement database lazy loading 2009-09-20 12:19:57 -05:00
delta.c delta : simple code refactoring 2009-09-20 11:57:12 -05:00
delta.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
deps.c Use sync.c for upgrade transaction prepare and commit 2009-09-08 22:04:14 -05:00
deps.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
dload.c Merge branch 'maint' 2009-08-18 20:49:25 -05:00
dload.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
error.c sync.c : duplicate the target before modifying it 2009-09-20 11:56:46 -05:00
graph.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
group.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
group.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
handle.c Add Architecture and --arch option 2009-09-06 15:50:42 -05:00
handle.h Add Architecture and --arch option 2009-09-06 15:50:42 -05:00
log.c Update copyright headers and messages 2009-07-01 02:08:33 -05:00
log.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
Makefile.am Refactor pkg_load/parse_descfile into a new backend file 2008-05-11 20:07:55 -05:00
md5.c Fix compile warning fail on older versions of GCC 2009-06-30 23:14:18 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Remove transaction type 2009-09-08 22:17:41 -05:00
package.h Update copyright headers and messages 2009-07-01 02:08:33 -05:00
remove.c Fully implement database lazy loading 2009-09-20 12:19:57 -05:00
remove.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
sync.c sync.c : duplicate the target before modifying it 2009-09-20 11:56:46 -05:00
sync.h Change the interface for target loading 2009-09-12 13:06:43 +02:00
trans.c Change the interface for target loading 2009-09-12 13:06:43 +02:00
trans.h Remove transaction type 2009-09-08 22:17:41 -05:00
util.c libalpm/util.c : remove _alpm_strreplace 2009-09-06 19:09:45 -05:00
util.h libalpm/util.c : remove _alpm_strreplace 2009-09-06 19:09:45 -05:00