Pre-proposal: adopt dj-database-url as a DEP 7 official project

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Pre-proposal: adopt dj-database-url as a DEP 7 official project

Jacob Kaplan-Moss-2
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Tobias McNulty
I think it's a great idea.

On Thu, Jul 18, 2019, 12:46 PM Jacob Kaplan-Moss <[hidden email]> wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMGFDKRakWoQYehp_ccnhTvbQWY3a2CN2k_iob2fsL7bwv%2BRcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Adam Johnson-2
+1 from me too.

On Thu, 18 Jul 2019 at 17:55, Tobias McNulty <[hidden email]> wrote:
I think it's a great idea.

On Thu, Jul 18, 2019, 12:46 PM Jacob Kaplan-Moss <[hidden email]> wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMGFDKRakWoQYehp_ccnhTvbQWY3a2CN2k_iob2fsL7bwv%2BRcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM3jWBjZVyFw-KmLRvuYaFO3p6KmYnF%3DoQNjTPR2NN%3D8Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Jani Tiainen
I'm definitely +1 too.


to 18. heinäk. 2019 klo 20.41 Adam Johnson <[hidden email]> kirjoitti:
+1 from me too.

On Thu, 18 Jul 2019 at 17:55, Tobias McNulty <[hidden email]> wrote:
I think it's a great idea.

On Thu, Jul 18, 2019, 12:46 PM Jacob Kaplan-Moss <[hidden email]> wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMGFDKRakWoQYehp_ccnhTvbQWY3a2CN2k_iob2fsL7bwv%2BRcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM3jWBjZVyFw-KmLRvuYaFO3p6KmYnF%3DoQNjTPR2NN%3D8Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAHn91ofUn-wQrurR2jM772jvGVxizXzAkZjzqr6PUutvM6xrLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Kevin Grinberg
In reply to this post by Jacob Kaplan-Moss-2
I've more commonly found myself using https://pypi.org/project/dsnparse/ more often than dj-database-url, due to support for DSNs in setting CACHES (with Heroku Redis for example, you get a REDIS_URL exposed the same way).

I don't think the maintainer is offering to do take dsnparse under DEP 7, so "blessed dj-database-url" may be better than the status quo, but I worry if blessing a partial solution is liable to send some folks down a less-than-ideal path (I'm imagining a new user finding dj-database-url as then "official" solution, and then getting stuck trying to wrestle with it to do "almost the same thing" with configuring CACHES).

That's not to say that dj-database-url couldn't grow into a more generic DSN parser, and maybe that's the plan - in which case, enthuastically +1! But AFAICT the diffs are not altogether trivial, and I'm not presently able to volunteer to do it, so I'm working on the assumption that dj-database-url retains more or less its present scope.

Kevin


On Thursday, July 18, 2019 at 12:46:13 PM UTC-4, Jacob Kaplan-Moss wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(<a href="http://github.com/jacobian/dj-database-url" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2Fjacobian%2Fdj-database-url\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHCUyRFG7iVFUBxFb1QyfeM-BHDsw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgithub.com%2Fjacobian%2Fdj-database-url\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHCUyRFG7iVFUBxFb1QyfeM-BHDsw&#39;;return true;">http://github.com/jacobian/dj-database-url) as an official project
(<a href="https://github.com/django/deps/blob/master/final/0007-official-projects.rst" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdeps%2Fblob%2Fmaster%2Ffinal%2F0007-official-projects.rst\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFE8-LsTgn2GHgkGRkSbZS3R-zxvw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdeps%2Fblob%2Fmaster%2Ffinal%2F0007-official-projects.rst\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFE8-LsTgn2GHgkGRkSbZS3R-zxvw&#39;;return true;">https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened <a href="https://github.com/jacobian/dj-database-url/issues/120" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjacobian%2Fdj-database-url%2Fissues%2F120\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzZQbqx5HqVWyDfHyMO7oXJSWLJQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjacobian%2Fdj-database-url%2Fissues%2F120\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHzZQbqx5HqVWyDfHyMO7oXJSWLJQ&#39;;return true;">https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/2d00b471-5408-460a-8b20-9520d2a04f07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Mariusz Felisiak
In reply to this post by Jacob Kaplan-Moss-2
See a ticket [1] and previous discussion [2] for reference.

[1] - https://code.djangoproject.com/ticket/28236
[2] - https://groups.google.com/forum/#!topic/django-developers/G0TtlhH2RUE/discussion

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/b65b8875-aed0-4eb0-89dc-ceea3bccb155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Raffaele Salmaso-2
In reply to this post by Jacob Kaplan-Moss-2
Hi
I'm working[¹] on https://github.com/django/django/pull/10786 which is an "evolution" of dj-database-url which handle more settings types (by default even the email settings, but it is possible to handle any other type).
I'll happy to finish it.

[¹] well, in my really little free time

On Thu, Jul 18, 2019 at 6:45 PM Jacob Kaplan-Moss <[hidden email]> wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.


--

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CABgH4JvLhqgd7VPPAdaCoJ3VidZ-JaPZVbU2gMiK3_Rycxnekw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Jani Tiainen
Apparently there has been few attempts to integrate dj-database-url or some other url parser.

But what happened to them since so far none of them were completed?


to 18. heinäk. 2019 klo 22.32 Raffaele Salmaso <[hidden email]> kirjoitti:
Hi
I'm working[¹] on https://github.com/django/django/pull/10786 which is an "evolution" of dj-database-url which handle more settings types (by default even the email settings, but it is possible to handle any other type).
I'll happy to finish it.

[¹] well, in my really little free time

On Thu, Jul 18, 2019 at 6:45 PM Jacob Kaplan-Moss <[hidden email]> wrote:
Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.


--

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CABgH4JvLhqgd7VPPAdaCoJ3VidZ-JaPZVbU2gMiK3_Rycxnekw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAHn91ocT86%2Bkz9dL0Rr6zKNOMXq9Ge%3Djj-%2B-bC4-jDyffbo9Sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Raffaele Salmaso-2
On Thu, Jul 18, 2019 at 9:49 PM Jani Tiainen <[hidden email]> wrote:
But what happened to them since so far none of them were completed?
For my case: life :D
Anyway, I'll be happy to finish it.

--

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CABgH4Ju%2BRBcGx%2BadqnH%2BdRKSMf%2BRD7G96Xi7F_52Pq7yA-fJ_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Jacob Kaplan-Moss-2
Puling together a few things:

On Jul 18, 2019, 3:13 PM -0400, Kevin Grinberg <[hidden email]>, wrote:
> I've more commonly found myself using pypi.org/project/dsnparse/ more often
> than dj-database-url, due to support for DSNs in setting CACHES (with Heroku Redis
> for example, you get a REDIS_URL exposed the same way).

On Jul 18, 2019, 3:32 PM -0400, Raffaele Salmaso <[hidden email]>, wrote:
> I'm working on https://github.com/django/django/pull/10786 which is an
> "evolution" of dj-database-url which handle more settings types (by default
> even the email settings, but it is possible to handle any other type).
> I'll happy to finish it.

On Jul 18, 2019, 3:49 PM -0400, Jani Tiainen <[hidden email]>, wrote:
> Apparently there has been few attempts to integrate dj-database-url or
> some other url parser.
> But what happened to them since so far none of them were completed?

I suspect this is a "good enough is good enough" situation. Something like what
Raffaele is talking about, or dsnparse, or whatever would probably be ideal. And
for something to be merged into core, I think it'd need to be a more full
solution than just dj-database-url.

But, because dj-database-url is Good Enough, it's pretty popular, and that sucks
away some of the impetus to work on something better.

That said: were 10786 (or similar) to be merged into core, I'd think the best
thing to do wth dj-database-url would be to put it into maintenance mode, and
just fix serious issues until all of the supported version of Django have the
new thing.

I think that's somewhat unrelated to whether it becomes an official project --
just as easy to deprecate django/dj-database-url as it is to deprecate
jacobian/dj-database-url. But happy to make that an explicit caveat for
official-dom: if something better lands in core, I'd look to deprecate
and migrate.

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/7f9457fa-9589-4cc0-a664-0b35d758927b%40Spark.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

Aymeric Augustin
In reply to this post by Jacob Kaplan-Moss-2
Hello,

In the short term, I'm in favor of moving dj-database-url to the Django organization.

I have only one concern. dj-database-url supports a few third-party database backends: https://github.com/jacobian/dj-database-url/blob/004150c17e1519be408f87e0a2d16a8633cad89f/dj_database_url.py#L34-L45 I wouldn't want this to be interpreted as an official recommendation about which backend is best for MSSQL. This isn't enough to make dj-database-url unsuitable as an official project but it's worth keeping in mind. Perhaps "mssql" should be deprecated in favor of "mssql-X", "mssql-Y" and "mssql-Z" to put every alternative on an equal footing?

In the long term, I agree that dj-database-url could be deprecated if Django gets equivalent functionality built-in. This will require a bit of creativity to avoid hardcoding mappings for third-party database backends. Probably users of third-party backends will have to add a line to register a URL scheme with a third-party backend.

Best regards,

-- 
Aymeric.



On 18 Jul 2019, at 18:45, Jacob Kaplan-Moss <[hidden email]> wrote:

Hi folks -

I’d like to gauge interest in adopting dj-database-url
(http://github.com/jacobian/dj-database-url) as an official project
(https://github.com/django/deps/blob/master/final/0007-official-projects.rst).
This is my pre-proposal. I think dj-database-url is very widely-used, and
scratches a specific but annoying itch. Maintenance burden is minimal, but
important.

What do other folks think? DEP 7 asks us to

> solicit feedback from the community and work out if there is rough agreement
> that the project is a good thing for Django to adopt, particularly focusing on
> any alternative approaches to the same problem and the relative merits of them,
> including code design, scalability, alignment with existing Django design and
> philosophy, and having an available development and maintenance team.

So - thoughts?

I'm volunteering to be the shepherd, but do intend to form a larger team.

I've also opened https://github.com/jacobian/dj-database-url/issues/120
as another place for this discussion. Please feel free to comment either
place.

[Backstory, and why this is living on my github right now. @kennethreitz was
looking for a new maintainer, and reached out to me to see if Django might be
interested. I thought perhaps so, and offered to take over maintainership in the
meantime while we work through the DEP 7 process. If it turns out that an
Official Project is the wrong home for this, I'll either maintain it long-term
or transfer it again.]

Jacob

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/1879FD6A-D91B-4759-8E32-E4E719BC2928%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.