works
* jennifer: Re-enable .deb ar format checking
* katie.py: Convert to +bX binNMU special casing
+ * rhona: Add some debug output when deleting binaries
2005-11-15 Anthony Towns <aj@erisian.com.au>
# rhona, cleans up unassociated binary and source packages
# Copyright (C) 2000, 2001, 2002, 2003 James Troup <james@nocrew.org>
-# $Id: rhona,v 1.27 2003-09-07 13:52:20 troup Exp $
+# $Id: rhona,v 1.28 2005-11-25 04:42:59 ajt Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
if not Options["No-Action"]:
before = time.time();
sys.stdout.write("[Deleting from binaries table... ");
+ sys.stderr.write("DELETE FROM binaries WHERE EXISTS (SELECT 1 FROM files WHERE binaries.file = files.id AND files.last_used <= '%s')\n" % (delete_date));
projectB.query("DELETE FROM binaries WHERE EXISTS (SELECT 1 FROM files WHERE binaries.file = files.id AND files.last_used <= '%s')" % (delete_date));
sys.stdout.write("done. (%d seconds)]\n" % (int(time.time()-before)));