Skip to content

Conversation

@Jubintgh
Copy link

@Jubintgh Jubintgh commented Mar 15, 2024

Checklist

  • Type annotations added to new functions
  • Docs added to functions touched in main classes
  • Dry-run produced the expected results
  • The to-be-announced tag added if this is worth announcing

Copy link
Member

@suhaibmujahid suhaibmujahid left a 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.

@Jubintgh
Copy link
Author

Thank you, @Jubintgh! Please see my comments.

Thanks @suhaibmujahid, I applied your suggestions to improve readability. please let me know your thoughts

Copy link
Member

@suhaibmujahid suhaibmujahid left a 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

  1. https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

@Jubintgh Jubintgh changed the title Updated not_landed to get user nicks in 1 call and removed the duplicate #1101 Updated not_landed to get user nicks in 1 call and removed the duplicate Closes #1101 Mar 23, 2024
@Jubintgh Jubintgh changed the title Updated not_landed to get user nicks in 1 call and removed the duplicate Closes #1101 Updated not_landed to get user nicks in 1 call and removed the duplicate - Closes #1101 Mar 23, 2024
@Jubintgh Jubintgh closed this Mar 23, 2024
@Jubintgh Jubintgh reopened this Mar 23, 2024
@Jubintgh Jubintgh requested a review from suhaibmujahid March 23, 2024 20:17
Copy link
Member

@suhaibmujahid suhaibmujahid left a 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?


self.add_auto_ni(bugid, {"mail": assignee, "nickname": nickname})

common = all_reviewers & data["reviewers_phid"]
Copy link
Member

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?

if not assignee:
assignee = max(data["author"], key=data["author"].get)
nicknames[bugid] = assignee
bug_assignee_map[bugid] = assignee
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants