#29973: compilemessages misses ignore option, compiles more than needed
-------------------------------------+-------------------------------------
Reporter: stitch | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core | Version: 2.1
(Management commands) | Keywords: compilemessages,
Severity: Normal | ignore, translation,
Triage Stage: | internationalization
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
The makemessages command contain an ignore flag, this allows you to skip
directories like 'vendor'.
In our project we have a directory called .tox, this directory is ignored
during makemessages. Yet, when compilemessages is run, the .tox directory
(which contains a lot of sources) is included with compiling translations.
Now we might have things wrong, but it seems strange to me that
makemessages has ignore options, while compilemessages doesn't. Even if
it's wrong, we might still want to ignore this folder because we're clumsy
and it works just 'good enough'.
The command we'd like to use looks like:
{{{
django compilemessages --ignore vendor --ignore .tox -l EN
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29973>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.056545d5c3e1db9e706ac11257caba28%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.