Project idea for GSoC page - Support for expressions in indexes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Project idea for GSoC page - Support for expressions in indexes

akki
Hi

This is in regards of this thread that was posted a few days back - https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o

I think "extending support for expressions into indexes" would make a good candidate for the ideas page. This post by Josh mentions steps to be followed to accomplish this task in a nutshell (1st point had been completed in last year's GSoC). The ticket for the same is https://code.djangoproject.com/ticket/26167.
For the complexity of this task I would suggest that it's between medium-hard as it requires good knowledge about how both expressions and class based indexes work in Django.
As far as mentoring the project is concerned I am currently not in a situation to state if I'll be free for the task after a couple of months so can't commit on that right now. I'll definitely help out the student with any queries if anyone does pick up this project this year.

--
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/5eb993a9-1929-4f58-b286-2482ab357f46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

Josh Smeaton
I think Markus is currently working on this idea, along with Ian Foote, who has contributed some precursor work to make the idea possible (deconstructed expressions). The current PR is https://github.com/django/django/pull/8056

On Saturday, 4 March 2017 05:39:11 UTC+11, akki wrote:
Hi

This is in regards of this thread that was posted a few days back - <a href="https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;">https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o

I think "extending support for expressions into indexes" would make a good candidate for the ideas page. <a href="https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;">This post by Josh mentions steps to be followed to accomplish this task in a nutshell (1st point had been completed in last year's GSoC). The ticket for the same is <a href="https://code.djangoproject.com/ticket/26167" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;">https://code.djangoproject.com/ticket/26167.
For the complexity of this task I would suggest that it's between medium-hard as it requires good knowledge about how both expressions and class based indexes work in Django.
As far as mentoring the project is concerned I am currently not in a situation to state if I'll be free for the task after a couple of months so can't commit on that right now. I'll definitely help out the student with any queries if anyone does pick up this project this year.

--
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/7a88ea98-b642-49c6-b348-15429058b754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

akki
@Josh Absolutely correct. I meant since this involves a lot of things (a couple of them are listed by Markus on the ticket itself) to do, they can use a helping hand from a student developing full-time.
It's just a suggestion of mine, they are doing an incredible job and it's totally their call (they can mentor the project as well since they have already come so far with the ticket). :)

Other than that there are many more things related to indexes that are remaining like implementing a RenameIndex migration operation, making db_index use class based indexes under the hood (2nd point of the post mentioned in my last mail), deprecating index_together, bring indexes under inspectdb, etc. which the students can involve in there project. There are even more things to do related to db-indexes than these, checkout the tickets having "db-indexes" in their keywords for them.

This project can be thought more of getting "Django indexes into Spartan mode" than just "extending expressions into indexes" as I had called it earlier, as it would power Django to do much more with indexes via class based indexes. So if it looks good to the community this can be included in the ideas page of Django's GSoC page.

On Saturday, 4 March 2017 07:33:57 UTC+5:30, Josh Smeaton wrote:
I think Markus is currently working on this idea, along with Ian Foote, who has contributed some precursor work to make the idea possible (deconstructed expressions). The current PR is <a href="https://github.com/django/django/pull/8056" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fpull%2F8056\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIwuRW4LNYFzscLPRU3_QAMdM2sg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fpull%2F8056\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIwuRW4LNYFzscLPRU3_QAMdM2sg&#39;;return true;">https://github.com/django/django/pull/8056

On Saturday, 4 March 2017 05:39:11 UTC+11, akki wrote:
Hi

This is in regards of this thread that was posted a few days back - <a href="https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;">https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o

I think "extending support for expressions into indexes" would make a good candidate for the ideas page. <a href="https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;">This post by Josh mentions steps to be followed to accomplish this task in a nutshell (1st point had been completed in last year's GSoC). The ticket for the same is <a href="https://code.djangoproject.com/ticket/26167" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;">https://code.djangoproject.com/ticket/26167.
For the complexity of this task I would suggest that it's between medium-hard as it requires good knowledge about how both expressions and class based indexes work in Django.
As far as mentoring the project is concerned I am currently not in a situation to state if I'll be free for the task after a couple of months so can't commit on that right now. I'll definitely help out the student with any queries if anyone does pick up this project this year.

--
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/089d838b-4bd1-42bd-bd28-e1d18ac0cfa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

Florian Apolloner
On Saturday, March 4, 2017 at 6:52:01 AM UTC+1, akki wrote:
@Josh Absolutely correct. I meant since this involves a lot of things (a couple of them are listed by Markus on the ticket itself) to do, they can use a helping hand from a student developing full-time.

The GSoC program does not allow for something like that. If that would happen Markus and Ian would be required to put their hands down and do nothing basically.

--
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/b8478fef-b0d8-4dd1-adf4-95eb110f6b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

Tim Graham-2
In reply to this post by akki
There is probably a summer's worth of work to do outside of the work that's already happening, so if you want to add something to the ideas page, that sounds good to me.

On Saturday, March 4, 2017 at 12:52:01 AM UTC-5, akki wrote:
@Josh Absolutely correct. I meant since this involves a lot of things (a couple of them are listed by Markus on the ticket itself) to do, they can use a helping hand from a student developing full-time.
It's just a suggestion of mine, they are doing an incredible job and it's totally their call (they can mentor the project as well since they have already come so far with the ticket). :)

Other than that there are many more things related to indexes that are remaining like <a href="https://code.djangoproject.com/ticket/27064" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27064\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHkJZYroPj6YGIKM6iZp7-ghNp0uA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27064\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHkJZYroPj6YGIKM6iZp7-ghNp0uA&#39;;return true;">implementing a RenameIndex migration operation, making db_index use class based indexes under the hood (2nd point of the post mentioned in my last mail), <a href="https://code.djangoproject.com/ticket/27236" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27236\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEbYUDXF_B7XQ189p5aeLq49hVcKg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27236\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEbYUDXF_B7XQ189p5aeLq49hVcKg&#39;;return true;">deprecating index_together, <a href="https://code.djangoproject.com/ticket/27060" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27060\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbh7oFk78wzyHkOiWTWicMipFJpg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F27060\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFbh7oFk78wzyHkOiWTWicMipFJpg&#39;;return true;">bring indexes under inspectdb, etc. which the students can involve in there project. There are even more things to do related to db-indexes than these, checkout the <a href="https://code.djangoproject.com/query?status=assigned&amp;status=new&amp;keywords=~db-index&amp;col=id&amp;col=summary&amp;col=status&amp;col=owner&amp;col=type&amp;col=component&amp;col=version&amp;desc=1&amp;order=id" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fquery%3Fstatus%3Dassigned%26status%3Dnew%26keywords%3D~db-index%26col%3Did%26col%3Dsummary%26col%3Dstatus%26col%3Downer%26col%3Dtype%26col%3Dcomponent%26col%3Dversion%26desc%3D1%26order%3Did\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFDJySPVG2Q-aJ465QJlHLcFLVCQA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fquery%3Fstatus%3Dassigned%26status%3Dnew%26keywords%3D~db-index%26col%3Did%26col%3Dsummary%26col%3Dstatus%26col%3Downer%26col%3Dtype%26col%3Dcomponent%26col%3Dversion%26desc%3D1%26order%3Did\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFDJySPVG2Q-aJ465QJlHLcFLVCQA&#39;;return true;">tickets having "db-indexes" in their keywords for them.

This project can be thought more of getting "Django indexes into Spartan mode" than just "extending expressions into indexes" as I had called it earlier, as it would power Django to do much more with indexes via class based indexes. So if it looks good to the community this can be included in the ideas page of Django's GSoC page.

On Saturday, 4 March 2017 07:33:57 UTC+5:30, Josh Smeaton wrote:
I think Markus is currently working on this idea, along with Ian Foote, who has contributed some precursor work to make the idea possible (deconstructed expressions). The current PR is <a href="https://github.com/django/django/pull/8056" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fpull%2F8056\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIwuRW4LNYFzscLPRU3_QAMdM2sg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fpull%2F8056\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIwuRW4LNYFzscLPRU3_QAMdM2sg&#39;;return true;">https://github.com/django/django/pull/8056

On Saturday, 4 March 2017 05:39:11 UTC+11, akki wrote:
Hi

This is in regards of this thread that was posted a few days back - <a href="https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o&#39;;return true;">https://groups.google.com/forum/#!topic/django-developers/8qvrKfZaP2o

I think "extending support for expressions into indexes" would make a good candidate for the ideas page. <a href="https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msg/django-developers/3c8AvB3X6mk/gbkbbwEuCAAJ&#39;;return true;">This post by Josh mentions steps to be followed to accomplish this task in a nutshell (1st point had been completed in last year's GSoC). The ticket for the same is <a href="https://code.djangoproject.com/ticket/26167" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F26167\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNELaCYxaSLaXUXlN3bnXukXp-Gf7w&#39;;return true;">https://code.djangoproject.com/ticket/26167.
For the complexity of this task I would suggest that it's between medium-hard as it requires good knowledge about how both expressions and class based indexes work in Django.
As far as mentoring the project is concerned I am currently not in a situation to state if I'll be free for the task after a couple of months so can't commit on that right now. I'll definitely help out the student with any queries if anyone does pick up this project this year.

--
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/a6dcdd5c-8fcc-4bbe-8023-707eccf51b1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

akki
In reply to this post by Florian Apolloner
On Saturday, 4 March 2017 17:42:26 UTC+5:30, Florian Apolloner wrote:
On Saturday, March 4, 2017 at 6:52:01 AM UTC+1, akki wrote:
@Josh Absolutely correct. I meant since this involves a lot of things (a couple of them are listed by Markus on the ticket itself) to do, they can use a helping hand from a student developing full-time.

The GSoC program does not allow for something like that. If that would happen Markus and Ian would be required to put their hands down and do nothing basically.

First of all let's not call the work done by the 1000s of GSoC mentors every year "putting down hands and doing nothing".
Second of all, since Markus and Ian are actively working on this task and there is not requirement of more help to complete it, I (undoubtedly) take back this suggestion of mine.
Lastly, if there is no work going on by anybody on the other tickets that I mentioned earlier (2nd paragraph of my last mail), I think they can be added to the ideas page with everyone's consent.

--
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/37eac965-5b8f-46ab-a4de-b31b446446d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

Florian Apolloner
On Saturday, March 4, 2017 at 7:10:57 PM UTC+1, akki wrote:
First of all let's not call the work done by the 1000s of GSoC mentors every year "putting down hands and doing nothing".

I am pretty sure I did not say that, please don't put words into my mouth. That said, the fact remains that we have to be careful with GSoC since students are required to more or less work alone in their area. This has been an issue in the past for us (iirc) because the mentors should really be like mentors and not "colleagues" with the same workload in the same area.

Cheers,
Florian

--
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/6991c37d-3826-4aec-b174-f8bddac4ef2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

akki


On Sunday, 5 March 2017 01:53:28 UTC+5:30, Florian Apolloner wrote:
On Saturday, March 4, 2017 at 7:10:57 PM UTC+1, akki wrote:
First of all let's not call the work done by the 1000s of GSoC mentors every year "putting down hands and doing nothing".

I am pretty sure I did not say that
Thanks!

What do you think about the other tasks? Is it all right to include them on the page?

--
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/6fac2990-8c55-4e66-bf81-38541df38f7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Project idea for GSoC page - Support for expressions in indexes

Florian Apolloner


On Monday, March 6, 2017 at 3:57:48 AM UTC+1, akki wrote:


On Sunday, 5 March 2017 01:53:28 UTC+5:30, Florian Apolloner wrote:
On Saturday, March 4, 2017 at 7:10:57 PM UTC+1, akki wrote:
First of all let's not call the work done by the 1000s of GSoC mentors every year "putting down hands and doing nothing".

I am pretty sure I did not say that
Thanks!

What do you think about the other tasks? Is it all right to include them on the page?

Sure, I think including them is fine. All I wanted to say is that we might (or might not) have to be careful about accepting a few. But either way, that is something to think about when it comes so far -- if there is a strong proposal we can certainly find a way to make it happen.

--
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/6b78f446-4a94-4460-8acc-6058e067ede5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.