#30764: Ignore node_modules by default for makemessages
------------------------------------------------+------------------------
               Reporter:  Anthony Ricaud        |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Uncategorized         |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 I think most projects never want to translate content found in
 `node_modules`. This directory usually has a lot of files so it would be a
 performance improvement to ignore them by default.

 {{{#!shell
 ➜ time ./manage.py makemessages -v3|wc -l
         1.49 real         1.20 user         0.27 sys
    15285
 ➜ time ./manage.py makemessages -v3 --ignore=node_modules|wc -l
         1.00 real         0.86 user         0.14 sys
      378
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30764>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.55b49d3fa969a8a09c71fd4cd092171e%40djangoproject.com.

Reply via email to