Skip to content
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

survey_sec_bugs: Do not set needinfo towards unassigned bugs #1241

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mozfreddyb
Copy link
Contributor

I was unable to test this and might need some help either with my setup or from someone who can give this a quick smoketest directly. Pinging @calixteman

@@ -14,6 +14,9 @@ def description(self):
return "Submit survey to assignee of a security bug"

def get_bz_params(self, date):
assignee_skiplist = self.get_config("assignee_skiplist", default=[])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to define a skiplist (it'd be assignee_skiplist) in configs/tools.json:
https://github.com/mozilla/relman-auto-nag/blob/28392fb0b835d9806b764c131b54998aba56d861/auto_nag/scripts/configs/tools.json#L633

But here I guess you want to use:
https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/utils.py#L101
with negation = True, in passing the params you already created.
This way your params will contain your stuff and something like (not ( assigned_to=="[email protected]" OR assigned_to="..." ... ))
Normally the function get_empty_assignees helps to filter out all the kind of "empty" assignees.

@calixteman
Copy link
Contributor

I was unable to test this and might need some help either with my setup or from someone who can give this a quick smoketest directly. Pinging @calixteman

Is the mentioned bug in the email I sent having an assignee now ?

@marco-c
Copy link
Contributor

marco-c commented Mar 16, 2022

@mozfreddyb is this something you still want to do?

@mozfreddyb
Copy link
Contributor Author

Yes, but I'm also very short on time. I think it's worth doing but not urgent. Is it OK for you to leave this in the queue? Also, I'd greatly appreciate if you assign this to me then, it'll show up in my list :-)

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.

3 participants