Bug 35103 - Add option to gulp tasks to pass a list of tasks
Summary: Add option to gulp tasks to pass a list of tasks
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 35079
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-19 08:56 UTC by Jonathan Druart
Modified: 2024-07-04 20:38 UTC (History)
1 user (show)

See Also:
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:


Attachments
Bug 35103: Add option to gulp tasks to pass a list of tasks (1.97 KB, patch)
2023-10-19 08:58 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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