#8536 closed (fixed)
Some fixes for the makemessages management command
Reported by: | Ramiro Morales | Owned by: | Ramiro Morales |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | makemessages pot templatize | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The command doesn't correctly clean up after itself if an error condition is found when forking external GNU gettext utilities (xgettext
, msgmerge
, msgfmt
), potentially leaving spurious temporary files (.pot
, .js.py
, .html.py
) in the tree.
Also, some optimizations were made.
Attachments (2)
Change History (9)
by , 16 years ago
Attachment: | t8536-r8534.diff added |
---|
comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
comment:2 by , 16 years ago
As far as I know it's not encouraged to combine patches for different tickets
follow-up: 4 comment:3 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
I've deleted the patch that combines the two tickets so that it doesn't distract us. #7084 is a genuine bug fix. This ticket is about a clean up that, whilst useful to have, isn't critical. Leaving a couple of in-progress files around in the odd failure case is survivable. So we'll apply this, but it's lower priority than the other one.
comment:4 by , 16 years ago
Replying to mtredinnick:
I've deleted the patch that combines the two tickets so that it doesn't distract us.
Sorry, I was in a rush to leave for work and posted that extra 'noisy' patch without too much thought. Because the same reason, the patch isn't what I meant to post: it is a cumulative one and I wanted to add an interdiff.
I agree this is low priority, just wanted to have it noted in a place more robust than my Hg repos so I don't forget this issue.
comment:5 by , 16 years ago
Owner: | changed from | to
---|
Patch, applies to trunk as of r8534