[pacman-dev] [PATCH 0/7] Always create the files database
Allan McRae
allan at archlinux.org
Sun Mar 15 10:42:56 UTC 2015
This patch series makes repo-add always build both the "db" and "files"
databases. Most of the patches are clean-ups I saw needed done on my
way to implementing this.
Further clean-ups can be made if:
1) We assume that the "db" and "files" databases are consistent.
2) the "files" db only contains the additional "files" information
For 1), I guess we could wait until 5.1. I'm keen to do 2) now, but
I'd like to hear from people who currently use the combined file. I
know of Dan (archweb) and and Dave (pkgfile).
Allan McRae (7):
repo-add: move database rotation into its own function
repo-add: move database creation into its own function
repo-add: only update database if entire command succeeded
repo-add: check early for xdelta if it is needed
repo-add: remove duplication finding old package details
Always create files database
update repo-add documentation for removal of -f flag
doc/repo-add.8.txt | 22 ++--
scripts/repo-add.sh.in | 318 ++++++++++++++++++++++++++++++-------------------
2 files changed, 204 insertions(+), 136 deletions(-)
--
2.3.3
More information about the pacman-dev
mailing list