コード例 #1
0
 def get_bz_params(self, date):
     release_version, _, _, _ = getVersions()
     value = ','.join(['---', 'affected'])
     params = {
         'resolution': [
             '---',
             'FIXED',
             'INVALID',
             'WONTFIX',
             'DUPLICATE',
             'WORKSFORME',
             'INCOMPLETE',
             'SUPPORT',
             'EXPIRED',
             'MOVED',
         ],
         'priority': ['P3', 'P4', 'P5'],
         'f1': 'cf_tracking_firefox' + release_version,
         'o1': 'anyexact',
         'v1': ','.join(['+', 'blocking']),
         'f2': 'cf_status_firefox' + release_version,
         'o2': 'anyexact',
         'v2': value,
     }
     return params
    def get_bz_params(self, date):
        word_blacklist = self.get_config('word_blacklist', default=[])
        word_blacklist = '.*(' + '|'.join(word_blacklist) + ').*'
        release_version, beta_version, central_version, _ = getVersions()
        value = ','.join(['fixed', 'verified'])
        params = {
            'keywords': ['regression', 'feature'],
            'keywords_type': 'nowords',
            'short_desc_type': 'notregexp',
            'short_desc': word_blacklist,
            # not affecting release
            'f1': 'cf_status_firefox' + release_version,
            'o1': 'anyexact',
            'v1': 'unaffected',
            'f2': 'OP',
            'j2': 'OR',
            # affected in beta
            'f3': 'cf_status_firefox' + beta_version,
            'o3': 'anyexact',
            'v3': value,
            # affected in nightly
            'f4': 'cf_status_firefox' + central_version,
            'o4': 'anyexact',
            'v4': value,
            'f5': 'CP',
        }

        return params
 def get_bz_params(self, date):
     release_version, _, _, _ = getVersions()
     value = ','.join(['---', 'affected'])
     params = {
         'resolution': [
             '---',
             'FIXED',
             'INVALID',
             'WONTFIX',
             'DUPLICATE',
             'WORKSFORME',
             'INCOMPLETE',
             'SUPPORT',
             'EXPIRED',
             'MOVED',
         ],
         'priority': ['P3', 'P4', 'P5'],
         'f1':
         'cf_tracking_firefox' + release_version,
         'o1':
         'anyexact',
         'v1':
         ','.join(['+', 'blocking']),
         'f2':
         'cf_status_firefox' + release_version,
         'o2':
         'anyexact',
         'v2':
         value,
     }
     return params
コード例 #4
0
 def get_bz_params(self, date):
     _, _, _, esr_version = getVersions()
     value = ','.join(['---', 'affected'])
     params = {
         'resolution': [
             '---',
             'FIXED',
             'INVALID',
             'WONTFIX',
             'DUPLICATE',
             'WORKSFORME',
             'INCOMPLETE',
             'SUPPORT',
             'EXPIRED',
             'MOVED',
         ],
         'priority': ['P3', 'P4', 'P5'],
         'f1': utils.get_flag(esr_version, 'tracking', 'esr'),
         'o1': 'anyexact',
         'v1': ','.join(['+', 'blocking']),
         'f2': utils.get_flag(esr_version, 'status', 'esr'),
         'o2': 'anyexact',
         'v2': value,
     }
     return params
 def get_bz_params(self, date):
     _, _, _, esr_version = getVersions()
     value = ','.join(['---', 'affected'])
     params = {
         'resolution': [
             '---',
             'FIXED',
             'INVALID',
             'WONTFIX',
             'DUPLICATE',
             'WORKSFORME',
             'INCOMPLETE',
             'SUPPORT',
             'EXPIRED',
             'MOVED',
         ],
         'priority': ['P3', 'P4', 'P5'],
         'f1':
         utils.get_flag(esr_version, 'tracking', 'esr'),
         'o1':
         'anyexact',
         'v1':
         ','.join(['+', 'blocking']),
         'f2':
         utils.get_flag(esr_version, 'status', 'esr'),
         'o2':
         'anyexact',
         'v2':
         value,
     }
     return params
 def setUp(self):
     bug_number = 489656
     bmo = BMOAgent()
     self.bug = bmo.get_bug(bug_number)
     self.people = PhonebookDirectory(dryrun=True, isTest=True)
     hidden_dict = {
         'id': 123456,
         'summary': 'hide me',
         'assigned_to_detail': {
             'real_name': 'nobody'
         },
         'groups': [{
             'name': 'security group'
         }]
     }
     hidden_dict.update({
         'cf_status_firefox' + version: '---'
         for version in getVersions()
     })
     self.hidden_bug = Bug.from_dict(hidden_dict)
     assignee = '*****@*****.**'
     self.manager = {
         'mozillaMail': '*****@*****.**',
         'bugzillaEmail': '*****@*****.**'
     }
     self.person = {
         'mozillaMail': '*****@*****.**',
         'bugzillaEmail': '*****@*****.**'
     }
コード例 #7
0
 def setUp(self):
     bug_number = 489656
     bmo = BMOAgent()
     self.bug = bmo.get_bug(bug_number)
     self.people = PhonebookDirectory(dryrun=True, isTest=True)
     hidden_dict = {
             'id': 123456,
             'summary': 'hide me',
             'assigned_to_detail': {'real_name': 'nobody'},
             'groups': [{'name': 'security group'}]}
     hidden_dict.update({'cf_status_firefox' + version: '---'
                         for version in getVersions()})
     self.hidden_bug = Bug.from_dict(hidden_dict)
     assignee = '*****@*****.**'
     self.manager = {'mozillaMail': '*****@*****.**',
                     'bugzillaEmail': '*****@*****.**'}
     self.person = {'mozillaMail': '*****@*****.**',
                     'bugzillaEmail': '*****@*****.**'}
コード例 #8
0
 def __init__(self):
     super(VersionAffected, self).__init__()
     _, self.beta_version, _, _ = getVersions()