Repository navigation
Handling PRs for new ESPs #501
medmunds
announced in
Announcements
Replies: 1 comment
|
Hi @medmunds I'd like to list mailkube-django on the "Anymail compatible" list. I've went the "release your own package" way: it's on pypi (Apache-2.0) and we maintain it. Tell us if there's anything you'd want changed first, happy to assist getting it into the list. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm adopting a new policy for PRs that add ESPs to django-anymail:
The goal is to help focus my (limited) time and energy on supporting the ESPs that are most in demand for use with Django.
AI has made it easy to open PRs—some in better shape than others. But even with a well-written PR there's still a substantial amount of work on my side to fully qualify an ESP integration (set up a test account, verify API behavior, report bugs and/or find workarounds, etc.). And each ESP integration adds to the package's ongoing maintenance burden.
AI has also made it easy to start an ESP. And as the number of ESPs grows, putting some limitations in place is important for Anymail's long term health. (And my own!)
I'm happy to answer any questions. Here are a few that I asked myself…
What is "significant, authentic interest"?
I'll be looking at 👍 reactions on the request—not just the count but also who is voting:
Authentic means practicing developers who genuinely want to use that ESP in their Django projects. (Inauthentic 👍's from sock puppets, voting brigades, or other attempts to game the process will not help an ESP's cause.)
Significant is a judgment call, at least for now. There's not an exact threshold, and other factors may weigh in (an ESP's maturity, reputation, maintainer availability, etc.).
I expect the details to evolve over time.
What happens to existing requests and PRs?
There are several open ESP requests in the GitHub discussions. I'll be migrating these into issues. I've made note of the current discussion upvote counts and will factor them into any decisions. (Unfortunately, GitHub discussion upvotes are anonymous so there's no way to evaluate their authenticity. I think it's fair to assume most voting prior to this announcement was genuine.)
For open ESP PRs without an open issue, I'll encourage the submitter to create one using the "new ESP request" issue type. And I'll temporarily close new ESP PRs while the requests are gathering support.
What if I can't wait?
If you want to use an ESP that isn't yet integrated into django-anymail, you can:
Use SMTP: Any ESP that offers SMTP service already works with Django's existing SMTP EmailBackend.
Install from the PR branch: Python package managers like
pipanduvsupport installing directly from forks on GitHub. This is a great way to provide real-world testing and feedback to the PR's author.(These forks have not been reviewed by Anymail maintainers. You should install from them only if you trust the source, and you should review the code yourself before using it.)
Release your own package: If you're an ESP, another option is releasing your own package with django-anymail as a dependency. Your AI will be equally good at coding this: it can make use of Anymail's internals, and the resulting EmailBackend and webhook implementations should be exactly the ones needed for an eventual django-anymail PR.
If this catches on (and results in high quality, supported packages), I'm open to adding a list of "Anymail compatible" ESP packages somewhere in Anymail's readme or docs.
All reactions