Closed
Bug 619690
Opened 14 years ago
Closed 13 years ago
[compare-locales] add option to clobber mergedir
Categories
(Mozilla Localizations :: Infrastructure, defect)
Mozilla Localizations
Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
Details
Attachments
(1 file)
2.58 KB,
patch
|
coop
:
review+
armenzg
:
feedback+
|
Details | Diff | Splinter Review |
When adding l10n-merge, I intentionally didn't add an option to clear the mergedir, because I wouldn't want to prune a complete directory with a command that people could mistype and kill their OS or something.
It might make sense to add a scary option, and I guess we should be able to not prune the whole mergedir, but just the subdirs that are picked up as compare-locales runs. That way, it'd be less scary, as your OS is unlikely to be in browser or toolkit.
Should make automation easier, in particular.
Assignee | ||
Comment 1•14 years ago
|
||
Any preference on releng's side on what to do on errors during the removal?
I'm leaning towards an exit(2) to distinguish from the exit(1) for the non-merging missing strings case?
Assignee | ||
Comment 2•14 years ago
|
||
I've got a patch now. It's doing an exit(2) for all OS and IOErrors, which is probably the right thing to do. It doesn't catch other exceptions, though.
It's based on the current RELEASE_AUTOMATION tag, which I'll then merge to head. That way, we can take this change without needing to think about the l10n-merge changes yet.
Assignee: nobody → l10n
Summary: [compare-locales] add option to prune mergedir → [compare-locales] add option to clobber mergedir
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #500036 -
Flags: review?(coop)
Comment 4•14 years ago
|
||
Comment on attachment 500036 [details] [diff] [review]
clobber merge dirs per module, exit(2) on failure.
The patch looks good to me.
We can file later a bug when we want to actually use it.
Attachment #500036 -
Flags: feedback+
Updated•14 years ago
|
Attachment #500036 -
Flags: review?(coop) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•