-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[no_severity_nag] Exclude security bugs when nagging triage owner #2536
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -8,6 +8,7 @@ | |||
|
||||
from bugbot import utils | ||||
from bugbot.bzcleaner import BzCleaner | ||||
from bugbot.constants import SECURITY_KEYWORDS | ||||
from bugbot.escalation import Escalation | ||||
from bugbot.nag_me import Nag | ||||
from bugbot.round_robin import RoundRobin | ||||
|
@@ -73,6 +74,8 @@ def handle_bug(self, bug, data): | |||
# check if the product::component is in the list | ||||
utils.check_product_component(self.components_skiplist, bug) | ||||
or utils.get_last_no_bot_comment_date(bug) > self.activity_date | ||||
or any(keyword in SECURITY_KEYWORDS for keyword in bug["keywords"]) | ||||
or bug["groups"] | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we could have this in the query directly There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How does this look? 55a1b1f There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could instead add it as a configuration, and it will be added to the query: Line 452 in a8b33be
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you elaborate on this, I'm a little confused on what you mean. Do you mean adding a new |
||||
): | ||||
return None | ||||
return bug | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do
any("security" in group for group in bug["groups"])
so we only exclude security bugs and not bugs that are confidential