Summary: | gulp po tasks do not clean temporary files | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | translate.koha-community.org | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | major | ||
Priority: | P5 - low | CC: | fridolin.somers, julian.maurice, kyle, lucas |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
24.05.00,23.11.02,23.05.08
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 36730 | ||
Attachments: |
Bug 35428: Remove temporary files for gulp po tasks
Bug 35428: Remove temporary files for gulp po tasks Bug 35428: Remove temporary files for gulp po tasks |
Description
Jonathan Druart
2023-11-29 09:01:35 UTC
To give an idea, on the translator server, for one month: % du -hc /tmp/koha-* 1.6G total Created attachment 159317 [details] [review] Bug 35428: Remove temporary files for gulp po tasks gulp po:update will generate 1 /tmp/koha-* directory per task. We need to remove them when the script does not longer need them. Test plan: 0. Do not apply this patch 1. ls -ltr /tmp 2. gulp po:update --lang es-ES 3. ls -ltr /tmp => Notice new koha-* directories Repeat 2, 3 4. Apply this patch and try again => No new directories when the job is done Created attachment 159318 [details] [review] Bug 35428: Remove temporary files for gulp po tasks gulp po:update will generate 1 /tmp/koha-* directory per task. We need to remove them when the script does not longer need them. Test plan: 0. Do not apply this patch 1. ls -ltr /tmp 2. gulp po:update --lang es-ES 3. ls -ltr /tmp => Notice new koha-* directories Repeat 2, 3 4. Apply this patch and try again => No new directories when the job is done Signed-off-by: David Nind <david@davidnind.com> Created attachment 159470 [details] [review] Bug 35428: Remove temporary files for gulp po tasks gulp po:update will generate 1 /tmp/koha-* directory per task. We need to remove them when the script does not longer need them. Test plan: 0. Do not apply this patch 1. ls -ltr /tmp 2. gulp po:update --lang es-ES 3. ls -ltr /tmp => Notice new koha-* directories Repeat 2, 3 4. Apply this patch and try again => No new directories when the job is done Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed for 24.05! Well done everyone, thank you! Pushed to 23.11.x for 23.11.02 Backported to 23.05.x for upcoming 23.05.08 |