From d20f84a86432bee553abdc2c485d953dc9ec6b3f Mon Sep 17 00:00:00 2001 From: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Wed, 20 May 2009 21:46:23 +0200 Subject: [PATCH] Introduce -D, --database
The request of FS#12950 is implemented.
On the backend side, I introduced a new function, alpm_db_set_pkgreason(), to modify the install reason of a package in the local database. On the front-end side, I introduced a new main operation, -D/--database, which has two options, --asdeps and --asexplicit. I documented this in pacman manual. I've created two pactests to test -D: database001.py and database002.py.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> ---
As usual, I modified this slightly in my git repo: -call _alpm_db_write() iff the reason flag indeed changes -I modified some strings in database.c. However, I am still not satisfied, so if this patch will be accepted, I encourage Dan to rephrase my messages. Bye