# HG changeset patch # User Bernhard Herzog # Date 1240595729 0 # Node ID 27824d3add9226dec02acf1d702cc48883440fb2 # Parent bb98e728f25b80c0264f82e0cf7f8a096580fab1 Add a tags field to the revision status to keep track of which tags apply to that build diff -r bb98e728f25b -r 27824d3add92 test/test_status.py --- a/test/test_status.py Fri Apr 17 18:48:58 2009 +0000 +++ b/test/test_status.py Fri Apr 24 17:55:29 2009 +0000 @@ -55,6 +55,7 @@ self.assertEquals(status.status.name, "unknown") self.assertEquals(status.start, None) self.assertEquals(status.stop, None) + self.assertEquals(status.tags, "") def test_date(self): timestamp = datetime(2007, 3, 9, 17, 32, 55) diff -r bb98e728f25b -r 27824d3add92 treepkg/status.py --- a/treepkg/status.py Fri Apr 17 18:48:58 2009 +0000 +++ b/treepkg/status.py Fri Apr 24 17:55:29 2009 +0000 @@ -199,6 +199,8 @@ start = DateFieldDesc(default=None) stop = DateFieldDesc(default=None) + tags = StringFieldDesc(default="") + notification_mail = EnumFieldDesc() notification_mail.add("notification_sent", "notification mail has been sent", default=True)