Пример #1
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [], self.channel_pat)
            if not r:
                not_landed.add(bugid)
                return

            data[bugid]['land'] = {
                i['revision']: {'ok': False, 'bugid': bugid} for i in r
            }
Пример #2
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug["comments"], [], self.channel_pat)
            if not r:
                not_landed.add(bugid)
                return

            data[bugid]["land"] = {
                i["revision"]: {"ok": False, "bugid": bugid} for i in r
            }
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [], NIGHTLY_PAT)
            if not r:
                invalids.add(bugid)
                return

            data[bugid]['land'] = {
                i['revision']: {'date': None, 'backedout': False, 'bugid': bugid}
                for i in r
            }
Пример #4
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [], nightly_pats)
            landed = bool(r)
            if not landed:
                for comment in bug['comments']:
                    comment = comment['text'].lower()
                    if 'backed out' in comment or 'backout' in comment:
                        landed = True
                        break

            data[bugid]['landed'] = landed
Пример #5
0
        def comment_handler(bug, bugid, data):
            commenters = data[bugid]["commenters"]
            for comment in bug["comments"]:
                commenter = comment["author"]
                if commenter in commenters:
                    commenters[commenter] += 1
                else:
                    commenters[commenter] = 1

            r = Bugzilla.get_landing_comments(bug["comments"], [], nightly_pats)
            data[bugid]["revisions"] = [i["revision"] for i in r]
Пример #6
0
        def comment_handler(bug, bugid, data):
            commenters = data[bugid]['commenters']
            for comment in bug['comments']:
                commenter = comment['author']
                if commenter in commenters:
                    commenters[commenter] += 1
                else:
                    commenters[commenter] = 1

            r = Bugzilla.get_landing_comments(bug['comments'], [], nightly_pats)
            data[bugid]['revisions'] = [i['revision'] for i in r]
        def comment_handler(bug, bugid, data):
            commenters = data[bugid]['commenters']
            for comment in bug['comments']:
                commenter = comment['author']
                if commenter in commenters:
                    commenters[commenter] += 1
                else:
                    commenters[commenter] = 1

            r = Bugzilla.get_landing_comments(bug['comments'], [],
                                              nightly_pats)
            data[bugid]['revisions'] = [i['revision'] for i in r]
Пример #8
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [],
                                              nightly_pats)
            landed = bool(r)
            if not landed:
                for comment in bug['comments']:
                    comment = comment['text'].lower()
                    if 'backed out' in comment or 'backout' in comment:
                        landed = True
                        break

            data[bugid]['landed'] = landed
Пример #9
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug["comments"], [],
                                              nightly_pats)
            landed = bool(r)
            if not landed:
                for comment in bug["comments"]:
                    comment = comment["text"].lower()
                    if "backed out" in comment or "backout" in comment:
                        landed = True
                        break

            data[bugid]["landed"] = landed
Пример #10
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [], NIGHTLY_PAT)
            if not r:
                invalids.add(bugid)
                return

            data[bugid]['land'] = {
                i['revision']: {
                    'date': None,
                    'backedout': False,
                    'bugid': bugid
                }
                for i in r
            }
Пример #11
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug["comments"], [], NIGHTLY_PAT)
            if not r:
                invalids.add(bugid)
                return

            data[bugid]["land"] = {
                i["revision"]: {
                    "date": None,
                    "backedout": False,
                    "bugid": bugid
                }
                for i in r
            }
Пример #12
0
        def comment_handler(bug, bugid, data):
            r = Bugzilla.get_landing_comments(bug['comments'], [],
                                              self.channel_pat)
            if not r:
                not_landed.add(bugid)
                return

            data[bugid]['land'] = {
                i['revision']: {
                    'ok': False,
                    'bugid': bugid
                }
                for i in r
            }
Пример #13
0
 def comment_handler(bug, bugid, data):
     r = Bugzilla.get_landing_comments(bug['comments'], [], nightly_pats)
     data[bugid]['revs'] = [i['revision'] for i in r]