Lines Matching refs:field
364 field = 'Bug'
365 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,)
369 raise ValueError('commit msg %s check takes no options' % (field,))
378 'following case-sensitive regex:\n\n %s') % (field, regex)
382 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
388 field = 'Change-Id'
389 regex = r'^%s: I[a-f0-9]+$' % (field,)
393 raise ValueError('commit msg %s check takes no options' % (field,))
402 'following case-sensitive regex:\n\n %s') % (field, regex)
405 'one.') % (field,)
409 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
501 field = 'Test'
502 regex = r'^%s: .*$' % (field,)
506 raise ValueError('commit msg %s check takes no options' % (field,))
518 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),
563 field = 'Relnote'
564 regex_relnote = r'^%s:.*$' % (field,)
568 raise ValueError('commit msg %s check takes no options' % (field,))
588 'tag spelling error') % (field,),
613 'tag missing quotes') % (field,),
645 'tag missing closing quote') % (field,),
676 field = 'Relnote'
677 regex = r'^%s: .+$' % (field,)
681 raise ValueError('commit msg %s check takes no options' % (field,))
702 return [rh.results.HookResult('commit msg: "%s:" check' % (field,),