Pierre/Aaron/Thomas, you guys have worked on these the most of anyone. Any thoughts, or can I just push these? -Dan On Sat, Feb 27, 2010 at 12:01 PM, Dan McGee <dan@archlinux.org> wrote:
This is a series of patches to make create-filelists a lot more efficient at what it does, and also make the files database a lot more useful. The end-user result is that the files database also includes the 'desc' and 'depends' entries found in a normal .db.tar.gz database.
As far as other changes, the package loop rework patch is the most important one. Rather than inefficiently unzip every package to get the .PKGINFO file and determine its name and version, we use the .db.tar.gz directly which saves us a ton of work in most cases.
Comments welcome, I'm not sure who is the head honcho that will pull these in, but it does help setup re-adding file support in archweb in addition to making this cron job suck a bit less. We might even think about running it more often than once a day now.
-Dan
Dan McGee (4): create-filelists: general cleanups create-filelists: s/REPO_DB_FILE/FILES_DB_FILE/g create-filelists: rework the package loop completely create-filelists: include desc/depends entries
cron-jobs/create-filelists | 78 ++++++++++++++++++++++++++++---------------- 1 files changed, 50 insertions(+), 28 deletions(-)