Impossible to exclude specific subdirectories with makemessages
As described in https://code.djangoproject.com/ticket/20422#comment:4, it is currently impossible to exclude subdirectories, or files in subdirectories, using the --ignore option of makemessages management command. This used to work in Django 1.5, but a regression was introduced by the fix for above mention ticket #20422.
The new patch should make sure to include unit tests which test for correct behavior of the --ignore option of makemessages, specifically in the case of subdirectories.
E.g:
makemessages --ignore dir/subdir/*
makemessages --ignore dir/*/file.py
etc.
Change History
(9)
Owner: |
changed from nobody to ANUBHAV JOSHI
|
Status: |
new → assigned
|
Owner: |
ANUBHAV JOSHI removed
|
Status: |
assigned → new
|
Owner: |
set to justhamade
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
There is some problem in running of makemessages in my django installation. So I am deassigning myself.