#29973: compilemessages misses ignore option, compiles more than needed
-------------------------------------+-------------------------------------
Reporter: Elger Jonker | Owner: Ryan
| Siemens
Type: New feature | Status: assigned
Component: Core (Management | Version: 2.1
commands) |
Severity: Normal | Resolution:
Keywords: compilemessages, | Triage Stage:
ignore, translation, | Unreviewed
internationalization |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ryan Siemens):
I had initially implemented this to just drop a directory, by name, but I
think thats actually incorrect.
Consider a directory structure like so
{{{
./
|- locale/
|- foo/
|- locale/
|- bar/
|- foo/
|- locale/
}}}
With my current patch doing `compilemessages --ignore=foo` would drop
`./foo` and `./bar/foo` from being searched, but I think it should only
drop dirs relative to the path. So in this case only `./foo` wouldn't be
searched. Also I think I it should support globbing similar to
`makemessages --ignore`. Thoughts or opinions?
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/29973#comment:10>
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/064.a71a1d6e34eee071887df7603171ce15%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.