Include package name in subject line on PyPI reports #41
Replies: 2 comments
-
Do we really need the subject to be customizable? - subject = discord.ui.TextInput(
- label="Subject",
- placeholder="Subject",
- default="Automated PyPi Malware Report",
- required=True,
- style=discord.TextStyle.short,
- ) - subject=self.subject.value,
+ subject=f"PyPi Malware Report: {self.package.title}", If we wanted to be able to customize the subject, we could also have the input be added as a suffix after the default name. |
Beta Was this translation helpful? Give feedback.
-
The last 100+ reports I've sent contain the title "Malicious Package Report". |
Beta Was this translation helpful? Give feedback.
-
Actually include the name of the package in the subject line of package reports so we're not sending multiple emails that just say "automated report".
Beta Was this translation helpful? Give feedback.
All reactions