Issue Task Closed

#85533LanguagePackCommand: Add option to not output the progress of the command

Josef Glatz 07/11/18, 10:51 updated 08/12/20, 14:23

Description

Problem/Description

It’s annoying if the TYPO3 scheduler is running the update task language:update and does always output the progress like:

Updating language packs of all activated extensions for locales "bg, cs, fr, de, hu, it, pl, ru, sl" 
0/612 [>---------------------------] 0% 
1/612 [>---------------------------] 0% 
2/612 [>---------------------------] 0% 
3/612 [>---------------------------] 0% 
4/612 [>---------------------------] 0% 
5/612 [>---------------------------] 0% 
6/612 [>---------------------------] 0% 
7/612 [>---------------------------] 1% 
8/612 [>---------------------------] 1% 
9/612 [>---------------------------] 1% 
10/612 [>---------------------------] 1% 
11/612 [>---------------------------] 1% 
12/612 [>---------------------------] 1% 
13/612 [>---------------------------] 2% 
14/612 [>---------------------------] 2% 
15/612 [>---------------------------] 2% 
16/612 [>---------------------------] 2% 
17/612 [>---------------------------] 2% 
18/612 [>---------------------------] 2% 
19/612 [>---------------------------] 3% 
20/612 [>---------------------------] 3% 
21/612 [>---------------------------] 3% 
22/612 [=>--------------------------] 3% 
23/612 [=>--------------------------] 3% 
24/612 [=>--------------------------] 3% 
25/612 [=>--------------------------] 4% 
26/612 [=>--------------------------] 4% 
27/612 [=>--------------------------] 4% 
28/612 [=>--------------------------] 4% 
29/612 [=>--------------------------] 4% 
30/612 [=>--------------------------] 4% 
31/612 [=>--------------------------] 5% 
32/612 [=>--------------------------] 5% 
33/612 [=>--------------------------] 5% 
34/612 [=>--------------------------] 5% 
35/612 [=>--------------------------] 5% 
36/612 [=>--------------------------] 5% 
37/612 [=>--------------------------] 6% 
38/612 [=>--------------------------] 6% 
39/612 [=>--------------------------] 6% 
40/612 [=>--------------------------] 6% 
41/612 [=>--------------------------] 6% 
42/612 [=>--------------------------] 6% 
43/612 [=>--------------------------] 7% 
44/612 [==>-------------------------] 7% 
45/612 [==>-------------------------] 7% 
46/612 [==>-------------------------] 7% 
47/612 [==>-------------------------] 7% 
48/612 [==>-------------------------] 7% 
49/612 [==>-------------------------] 8% 
50/612 [==>-------------------------] 8% 
51/612 [==>-------------------------] 8% 
52/612 [==>-------------------------] 8% 
53/612 [==>-------------------------] 8% 
54/612 [==>-------------------------] 8% 
55/612 [==>-------------------------] 8% 
56/612 [==>-------------------------] 9% 
57/612 [==>-------------------------] 9% 
58/612 [==>-------------------------] 9% 
59/612 [==>-------------------------] 9% 
60/612 [==>-------------------------] 9% 
61/612 [==>-------------------------] 9% 
62/612 [==>-------------------------] 10% 
63/612 [==>-------------------------] 10% 
64/612 [==>-------------------------] 10% 
65/612 [==>-------------------------] 10% 
66/612 [===>------------------------] 10% 
67/612 [===>------------------------] 10% 
68/612 [===>------------------------] 11% 
69/612 [===>------------------------] 11% 
70/612 [===>------------------------] 11% 
71/612 [===>------------------------] 11% 
72/612 [===>------------------------] 11% 
73/612 [===>------------------------] 11% 
74/612 [===>------------------------] 12% 
75/612 [===>------------------------] 12% 
76/612 [===>------------------------] 12% 
77/612 [===>------------------------] 12% 
78/612 [===>------------------------] 12% 
79/612 [===>------------------------] 12% 
80/612 [===>------------------------] 13% 
...
...
...
...
...

This could lead to cronjob e-mails which doesn’t contain errors and only the successfully completed language pack update.

ToDo(s)

  • add option to silent the progress
  • make it possible to set the option when the command is executed via scheduler
    • I would personally tend to disable the output by default and only show it if an option --show-progress.

Reviews 1