예제 #1
0
    def handle_bug(self, bug, data):
        # check if the product::component is in the list
        if not utils.check_product_component(self.components, bug):
            return None

        bugid = str(bug["id"])
        data[bugid] = {"type": bug["type"]}
        return bug
예제 #2
0
    def set_people_to_nag(self, bug, buginfo):
        priority = "default"
        if not self.filter_bug(priority):
            return None

        # check if the product::component is in the list
        if not utils.check_product_component(self.components, bug):
            return None

        owner = bug["triage_owner"]
        self.add_triage_owner(owner, utils.get_config("workflow", "components"))
        if not self.add(owner, buginfo, priority=priority):
            self.add_no_manager(buginfo["id"])
        return bug
예제 #3
0
    def set_people_to_nag(self, bug, buginfo):
        priority = 'default'
        if not self.filter_bug(priority):
            return None

        # check if the product::component is in the list
        if not utils.check_product_component(self.components, bug):
            return None

        owner = bug['triage_owner']
        self.add_triage_owner(owner, utils.get_config('workflow', 'components'))
        if not self.add(owner, buginfo, priority=priority):
            self.add_no_manager(buginfo['id'])
        return bug
    def set_people_to_nag(self, bug, buginfo):
        priority = 'default'
        if not self.filter_bug(priority):
            return None

        # check if the product::component is in the list
        if not utils.check_product_component(self.components, bug):
            return None

        owner = bug['triage_owner']
        self.add_triage_owner(owner, utils.get_config('workflow',
                                                      'components'))
        if not self.add(owner, buginfo, priority=priority):
            self.add_no_manager(buginfo['id'])
        return bug
예제 #5
0
    def set_people_to_nag(self, bug, buginfo):
        priority = 'high'
        if not self.filter_bug(priority):
            return None

        # check if the product::component is in the list
        if not utils.check_product_component(self.components, bug):
            return None

        owner = bug['triage_owner']
        assignee = bug['assigned_to']
        if not self.add(assignee, buginfo, priority=priority, triage_owner=owner):
            self.add_no_manager(buginfo['id'])

        return bug
예제 #6
0
 def handle_bug(self, bug, data):
     # check if the product::component is in the list
     if not utils.check_product_component(self.components, bug):
         return None
     return bug
예제 #7
0
 def handle_bug(self, bug, data):
     # check if the product::component is in the list
     if utils.check_product_component(self.components_skiplist, bug):
         return None
     return bug