Open di opened 1 year ago
Other ideas:
I added and deleted a few API tokens today and was surprised to not get any emails about it.
@aganders3, what's your PyPI username?
I am also @aganders3 there.
Edit: sorry I meant the comment above as a suggestion for another opportunity to send emails, not as a complaint!
@aganders3 Sorry, thought we already had that one! Great point, I've added it to the list.
@webknjaz proposed this addition which relates to OIDC/"Trusted Publishers":
Bonus points: it would be cool to send out a notification to the remaining maintainers with something like "Hey, X left the project but they've configured an OIDC trust with Y repo on GH earlier. Learn how this works and what can publish through this connection." ... I'd still want to see a list of trusted connections. Or maybe, even, a list of users plus trusted publishers. As in "here's users/$things that can still upload releases to this project".
I've added this to the checklist above.
Another email idea: we should periodically notify project owners about stale/unused API tokens, e.g. if a project has had releases in the past N
months that don't use a particular token.
As a conditional sequence:
N
months;N
months (e.g. with a different API token or trusted publishing);This will be particularly helpful/useful as more projects roll out trusted publishing, since they may forget to delete the old tokens that trusted publishing replaces.
https://github.com/pypi/warehouse/issues/11524 would be related to that as well.
Triaging: we're doing a couple of these as part of STF-funded work.
I've asked @xBalbinus to start with emails for yanking and unyanking of releases.
Emails whenever a release gets yanked or unyanked
Looks like this one was already done ~3 years ago: https://github.com/pypi/warehouse/blame/7c6c4cf16d9f46660f687123a44766fb775dcea7/warehouse/email/__init__.py#L901-L935
I've asked @xBalbinus to work on the "New email added" one for the time being.
New email added (sent to any other emails on the account)
Done in #13866, thanks @xBalbinus!
New primary email (sent to the old primary email)
This might be a good next one if you're looking for something else to work on!
Sounds great! Thank you so much!
On Thu, Jun 8, 2023 at 10:49 AM Dustin Ingram @.***> wrote:
New email added (sent to any other emails on the account)
Done in #13866 https://github.com/pypi/warehouse/pull/13866, thanks @xBalbinus https://github.com/xBalbinus!
New primary email (sent to the old primary email)
This might be a good next one if you're looking for something else to work on!
— Reply to this email directly, view it on GitHub https://github.com/pypi/warehouse/issues/13234#issuecomment-1582731155, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASH4FPS3QZQXPKMA2KUAY53XKHQ5ZANCNFSM6AAAAAAV7B6C6U . You are receiving this because you were mentioned.Message ID: @.***>
FTR, NPM sends emails for all new releases and this is very useful to get liveness feedback on CD.
For the record, about "New releases (sent to all maintainers)", here is the NPM email
A new version of the package crawler-user-agents (1.0.152) was published at 2024-10-19T06:39:58.891Z from GitHub Actions: https://github.com/monperrus/crawler-user-agents/actions/runs/11415392939/attempts/1 (triggered via a "workflow_run" event on git ref "refs/heads/master").
The shasum of this package is 3279ecc6499581f409f6aa4643d25847a6f5b5c0.
If you have questions or security concerns, you can contact us at https://www.npmjs.com/support.
Thanks,
The npm team
It contains lots of interesting information.
Hmm, how does NPM get that context? I don't think they support Trusted Publishing yet, although perhaps they get it directly from their --provenance
feature?
Regardless, agreed on that being useful/interesting information to include :slightly_smiling_face:
Yes this is from --provenance
PyPI sends a fairly low volume of event-based emails to users, which results in the occasional spam report causing an abnormally high overall % of complaints.
Some ideas of things we could send emails for, to increase our overall email send, that would be a net positive user benefit and not just considered noise: