[aur-dev] [PATCH] Add timestamp when a package is flagged out-of-date (FS#20848).

Dan McGee dpmcgee at gmail.com
Fri Oct 1 22:41:42 EDT 2010

On Fri, Oct 1, 2010 at 9:39 PM, Loui Chang <louipc.ist at gmail.com> wrote:
> On Thu 30 Sep 2010 18:19 +0200, Lukas Fleischer wrote:
> I was thinking - could we just change things so that OutOfDateTS is the
> sole indicator of whether a package has been flagged or not?
> If it's set, then it's out of date.
> If it's zero or null, then it's up to date.
> This might also apply to deletion, or orphan requests.
> Really all these types of flagging could share the same structure and
> code as far as I can envision it.

I made this exact change to the archweb code a while back; this is a
great usage of a nullable column.

Skip over the new migrations code (main/migrations/*.py); and look at
the other changes if you are curious.


More information about the aur-dev mailing list