Пример #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