Bug 35103

Summary: Add option to gulp tasks to pass a list of tasks
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: julian.maurice
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35332
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00,23.05.6,22.11.12,22.05.17,21.11.26
Circulation function:
Bug Depends on: 35079    
Bug Blocks:    
Attachments: Bug 35103: Add option to gulp tasks to pass a list of tasks

Description Jonathan Druart 2023-10-19 08:56:46 UTC
Instead of running all the tasks we could ask only one or some of them
Comment 1 Jonathan Druart 2023-10-19 08:58:44 UTC
Created attachment 157400 [details] [review]
Bug 35103: Add option to gulp tasks to pass a list of tasks

You can now generate the messages.po for all languages with:
  gulp po:update --task messages

or for only es-ES
  gulp po:update --task messages --lang es-ES

It may be helpful for the "update po" script that will be used on
weblate.
Comment 2 Jonathan Druart 2023-10-19 08:59:19 UTC
(In reply to Jonathan Druart from comment #1)
> It may be helpful for the "update po" script that will be used on
> weblate.

Not decided yet if I will use this, but it can still be useful for testing purpose anyway.
Comment 3 Jonathan Druart 2023-11-14 12:47:00 UTC
I need this, because of bug 35332.
Comment 4 Jonathan Druart 2023-11-14 12:48:51 UTC
Pushed to master for 23.11.00