[Bug 35428] New: gulp po tasks do not clean temporary files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Bug ID: 35428 Summary: gulp po tasks do not clean temporary files Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: major Priority: P5 - low Component: translate.koha-community.org Assignee: jonathan.druart+koha@gmail.com Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org gulp po:update will generate 1 /tmp/koha-* directory per task. We need to remove them when the script does not longer need them. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- To give an idea, on the translator server, for one month: % du -hc /tmp/koha-* 1.6G total -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 159317 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159317&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159317|0 |1 is obsolete| | --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 159318 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159318&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #159318|0 |1 is obsolete| | --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 159470 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159470&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |24.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Version(s)|24.05.00 |24.05.00,23.11.02 released in| | Status|Pushed to master |Pushed to stable --- Comment #6 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to 23.11.x for 23.11.02 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Pushed to oldstable Version(s)|24.05.00,23.11.02 |24.05.00,23.11.02,23.05.08 released in| | CC| |lucas@bywatersolutions.com --- Comment #7 from Lucas Gass <lucas@bywatersolutions.com> --- Backported to 23.05.x for upcoming 23.05.08 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35428 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |36730 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36730 [Bug 36730] (Bug 35428 follow-up) po files (sometimes) fail to update -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org