Lines Matching refs:field
330 field = 'Bug'
331 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,)
335 raise ValueError('commit msg %s check takes no options' % (field,))
344 '%s') % (field, regex)
348 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
354 field = 'Change-Id'
355 regex = r'^%s: I[a-f0-9]+$' % (field,)
359 raise ValueError('commit msg %s check takes no options' % (field,))
368 '%s') % (field, regex)
371 'one.') % (field,)
375 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
408 field = 'Test'
409 regex = r'^%s: .*$' % (field,)
413 raise ValueError('commit msg %s check takes no options' % (field,))
425 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),