Re: GSOC Proposal (Bundler for Django)

116 views
Skip to first unread message
Message has been deleted

Kiran Capoor

unread,
Apr 6, 2019, 2:33:56 PM4/6/19
to django-d...@googlegroups.com
Hi,

This has already been implemented via multiple Third party Projects - 

1. Django Webpack Loader by owais- 

2. Cookie-cutter Django Webpack by myself(not production ready though) -
Many more are there.

Also, forcing users to use a bundler like webpack is not really preferred  by many. Some might want to use gulp, or maybe nothing at all. 



Regards,

Kiran Capoor


On Sat, 6 Apr 2019 at 18:33, Ashik Meerankutty <ashi...@gmail.com> wrote:
Please review and comment my draft proposal for GSOC 2019
Draft

--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
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/f843803b-3b14-4798-bd31-5948c0fe820a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from iPhone

Ashik Meerankutty

unread,
Apr 6, 2019, 10:40:48 PM4/6/19
to django-d...@googlegroups.com

Ashik Meerankutty

unread,
Apr 6, 2019, 10:40:56 PM4/6/19
to django-d...@googlegroups.com
Can we write our own bundler only for django. Is that good 

Scot Hacker

unread,
Apr 7, 2019, 1:41:41 AM4/7/19
to Django developers (Contributions to Django itself)


On Saturday, April 6, 2019 at 6:03:29 AM UTC-7, Ashik Meerankutty wrote:
Please review and comment my draft proposal for GSOC 2019
Draft

Ashik's proposal is more along the lines of a general asset pipeline, a la django-compressor or django-pipeline, rather than a webpack builder. Regardless, I count 30+ asset pipeline systems at https://djangopackages.org/grids/g/asset-managers/ . 

./s

Kiran Capoor

unread,
Apr 7, 2019, 5:21:24 AM4/7/19
to django-d...@googlegroups.com
Yes, as a personal project sure thing. If you need help ask on django users or respective forum. Contributing to Open Source doesn't really mean to start with GSoC. Start with a pet project and keep working on it.
Good luck!

Regards,
Kiran Capoor


For more options, visit https://groups.google.com/d/optout.


--
Regards,
Kiran Capoor

Ashik Meerankutty

unread,
Apr 7, 2019, 8:38:34 AM4/7/19
to django-d...@googlegroups.com
Scot, Thank you for your feedback. Do you have any suggestions?

--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.

Jamesie Pic

unread,
Apr 8, 2019, 5:15:03 AM4/8/19
to django-d...@googlegroups.com
Hi Ashik,
Thanks for your proposal that I find revelant because there needs to be a new version of staticfiles.

Supporting NPM, one way or another, is the main way to enjoy the same development workflow with frontend code as with pip. For me it would make sense to support it, one way or another. {% block extra_js %} overrides kind of works, but overriding frontend code delivered by an app is far from convenient when it involves copying a minified script from an app into an override static dir and patching that minified code. Also dealing with {{ form.media }} definitely doesn't cut it, ie. when if you load jquery in your base.html and a form media also contains a jquery, this means we load the same script twice, and that also causes issues ie. with plugin loading. So it doesn't look like anybody would deny that static file management in Django needs an upgrade.

However, the suggestion to contribute to other existing third party apps is valid. Before contributing to Django you need to study the current state of the art in the Django ecosystem, that lives in external projects. Contribute to those, see why you believe they don't cut it, and make a write up the existing django static file apps ecosystem, that would be a great start.

Have a great day

Jamesie Pic

unread,
Apr 8, 2019, 5:16:08 AM4/8/19
to django-d...@googlegroups.com
PS: also check how other python frameworks deal with static files, particularly the cubicweb framework.

Ashik Meerankutty

unread,
Apr 8, 2019, 8:47:21 AM4/8/19
to django-d...@googlegroups.com
Ok thank you for your feedback I will check it 😊

On Mon, 8 Apr 2019 at 2:46 PM, Jamesie Pic <jp...@yourlabs.org> wrote:
PS: also check how other python frameworks deal with static files, particularly the cubicweb framework.

--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
Reply all
Reply to author
Forward
0 new messages