Activity log for bug #651092

Date Who What changed Old value New value Message
2010-09-29 12:51:53 Julian Edwards bug added bug
2010-09-29 12:52:12 Julian Edwards tags soyuz-core
2010-09-29 13:39:33 Julian Edwards description This is currently done with some SQL, like this below, but we'd much rather do it in code. update libraryfilealias set expires = now() - '30 days'::interval from archive, binarypackagefile, binarypackagepublishinghistory, distroseries, distroarchseries where archive.purpose = 1 AND binarypackagepublishinghistory.archive = archive.id AND binarypackagepublishinghistory.status NOT IN (1,2) AND binarypackagefile.binarypackagerelease = binarypackagepublishinghistory.binarypackagerelease AND binarypackagefile.libraryfile = libraryfilealias.id AND libraryfilealias.expires is NULL AND distroseries.id = distroarchseries.distroseries AND distroarchseries.id = binarypackagepublishinghistory.distroarchseries AND distroseries.name = 'intrepid' ; This is currently done with some SQL, but we'd much rather do it in code.
2010-09-29 13:40:20 Jonathan Lange bug added subscriber Jonathan Lange