tamarin-hook: remove additional argo restricted bugs, add new security bugs for upcoming releases
authorChris Peyer <cpeyer@adobe.com>
Wed, 11 Aug 2010 12:15:43 -0700
changeset 43 ebbc8a608193715b6ba86815aa042753acbf9d47
parent 42 b59ea0a20e8a9ac9d4a948daab6884bc5a7e7eea
child 44 410f2be039f7793d0e5697076731084039479f20
push id10
push usercpeyer@adobe.com
push dateWed, 11 Aug 2010 19:15:48 +0000
tamarin-hook: remove additional argo restricted bugs, add new security bugs for upcoming releases
tamarin-hook.py
--- a/tamarin-hook.py
+++ b/tamarin-hook.py
@@ -72,30 +72,32 @@ def security_check(ui, repo, **kwargs):
     error = False
     
     ui.pushbuffer()
     _quiet(ui, lambda: commands.log(ui, repo, rev=['%s:tip' % kwargs['node']],
                                     template='{node}\n', date=None, user=None,
                                     logfile=None))
     nodes = ui.popbuffer().split('\n')
     
-    
+    # reenable this code if we need to blacklist a node
+    '''
     for node in nodes:
-        if node.startswith('126c6ef95f51') or node.startswith('66eb823ce125'):
+        if node.startswith('126c6ef95f51'):
             ui.warn('blacklisted changeid found: node %s is blacklisted\n' % node)
             error = True   # fail the push
+    '''
     
     # Look for blacklisted bugs
     blacklist = [
-        548077,548842,547258,441280,550269,535446,524263,517679,507624,
-        520912,525521,537979,542383,555540,558175,555446,556543,545652,
-        555052,551051,550269,555059,507624,520912,525521,535446,537979,542383,
-        521270,524263,555097,503358,548842,517679,547258,510070,491355,
-        555608,441280,548077,482278,551170,519269,477891,481162,481934,553648,
-        'Bug 555610: Add regression testcase'
+        # crush bugs
+        567930,
+        # salt bugs
+        548842,
+        # serrano bugs
+        554521,
         ]
     
     bugs = re.compile('(%s)' % '|'.join([str(bug) for bug in blacklist]))
     
     ui.pushbuffer()
     _quiet(ui, lambda: commands.log(ui, repo, rev=['%s:tip' % kwargs['node']],
                                     template='{desc}', date=None, user=None,
                                     logfile=None))