[pacman-dev] Local database structure change
Everyone,
The commits Allan wrote and I just pushed change the local database
format. depends no longer exists; everything is now in desc. Provided
in the code is a 'pacman-db-upgrade' script to help you guys out if
you upgrade, so be sure to run it if running pacman-git.
-Dan
On Sun, Dec 12, 2010 at 10:03 PM, Dan McGee
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository".
commit d98bacd4ec4289750e740b2dff8c4adaaa7a028a Author: Allan McRae
Date: Wed Dec 8 22:16:37 2010 +1000 Add script to update pacman database format
The pacman-db-upgrade script was added to detect old pacman database formats and upgrade them.
Currently performs the merging of depends files into desc files in the local database.
Signed-off-by: Allan McRae
Signed-off-by: Dan McGee commit 21833d90e26635fdd2c6af247790a9bf374b4d80 Author: Allan McRae
Date: Sat Oct 30 15:35:43 2010 +1000 Merge desc and depends files in local db
Whenever depends is needed from the local db, so is desc. The only disadvantage to merging them is the additional time taken to read the depends entries when they are not needed. As depends is in general relatively small, the additional time taken to read it in will be negligable. Also, merging these files will speed up local database access due to less file seeks.
Signed-off-by: Allan McRae
Signed-off-by: Dan McGee
participants (1)
-
Dan McGee