-
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
Updated not_landed to get user nicks in 1 call and removed the duplicate - Closes #1101 #2365
base: master
Are you sure you want to change the base?
Conversation
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.
Thank you, @Jubintgh! Please see my comments.
Thanks @suhaibmujahid, I applied your suggestions to improve readability. please let me know your thoughts |
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.
Thank you! Could you please do another dry-run test?
Also, please link the PR to the issue that will be resolved.1
Footnotes
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.
Could you please link to the issue in the PR description instead of the title?
|
||
if not assignee: | ||
continue | ||
|
||
self.add_auto_ni(bugid, {"mail": assignee, "nickname": nickname}) | ||
|
||
common = all_reviewers & data["reviewers_phid"] |
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.
Isn't all_reviewers
a set?
for bugid, data in bugs_patch.items(): | ||
reviewers_phid |= data["reviewers_phid"] | ||
assignee = bugs[bugid]["assigned_to"] | ||
if not assignee: | ||
assignee = max(data["author"], key=data["author"].get) | ||
nicknames[bugid] = assignee | ||
bug_assignee_map[bugid] = assignee |
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.
The bug_assignee_map
dict does not seem to be used anywhere. Do we need it after the changes in this PR?
Checklist
to-be-announced
tag added if this is worth announcing