pacman/src/pacman
Chantry Xavier 52e7e6d747 needs_transaction adjustments
I just moved the root path check out of needs_transaction, and put it directly
in pacman.c . I think this part is alright.

For the other problems, I thought about doing the transaction first, in a new
sync trans function, which will init and release a transaction.  And then doing
the commands like -Ss / -Sl / -Sg / -Si.

The problem is that for commands like -Sys / -Syl / etc, only the refresh part
of the transaction should be done.  So I had to introduce an ugly sync_only
hack.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-03 21:02:36 -05:00
..
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
Makefile.am Add a default cachedir if one wasn't specified 2007-08-21 21:53:38 -04:00
add.c make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
callback.c Update comments dealing with pkgext/dbext stripping 2007-09-28 00:16:43 -05:00
callback.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
conf.c Make some small changes recommended by splint 2007-09-11 20:41:42 -05:00
conf.h Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
deptest.c new pmdepend_t / pmdepmissing_t accessors. 2007-07-16 09:21:13 -04:00
package.c Support for localized times in metadata 2007-09-28 00:25:57 -05:00
package.h More pacman side cleanup 2007-04-26 14:34:41 -04:00
pacman.c needs_transaction adjustments 2007-10-03 21:02:36 -05:00
pacman.h Remove single-function upgrade.c 2007-04-25 11:07:48 -04:00
query.c Add 'full' parameter to alpm_pkg_load 2007-09-28 00:16:43 -05:00
remove.c make alpm_strerror binding friendly 2007-09-11 20:58:27 -05:00
sync.c needs_transaction adjustments 2007-10-03 21:02:36 -05:00
util.c needs_transaction adjustments 2007-10-03 21:02:36 -05:00
util.h Break out transaction test to a separate function 2007-09-28 00:25:57 -05:00