Roundup Tracker - Issues

Message7478

Author rouilj
Recipients marcus.priesch, rouilj, schlatterbeck
Date 2022-04-28.18:24:34
Message-id <20220428182431.952806A028A@pe15.cs.umb.edu>
In-reply-to <6bb34266-f3cf-96d2-60c7-09d2b4c50513@priesch.co.at>
Hi Marcus:

In message <6bb34266-f3cf-96d2-60c7-09d2b4c50513@priesch.co.at>,
Marcus Priesch writes:
>> Roundup-server is supposed to have its own debug mode that reloads
>> templates if they have changed. I thought there was a debug mode that
>> made the same thing happen in the other front end deployment
>> mechanisms. I rely on this extensvely for tracker development. Not
>> having hot reload can mean literally hundreds of server restarts as
>> template changes are done.
>
>i am not aware of this - how can i enable this to test if i18n breaks ?

I think it's 

   roundup-server -t debug

the comment in scripts/roundup_server.py is:

   # "debug" means "none" + no tracker/template cache

which I think makes it single threaded as well.

>but then, you would also like to have hot-reload when .mo files change,
>which is a different story then ...

Wouldn't .mo files be loaded on every call to determine_language() and
reset on every database open which happens on each request?
History
Date User Action Args
2022-04-28 18:24:34rouiljsetrecipients: + rouilj, schlatterbeck, marcus.priesch
2022-04-28 18:24:34rouiljlinkissue2551184 messages
2022-04-28 18:24:34rouiljcreate