Page MenuHomePhabricator

Add an option to ignore errors when compiling messages to the deployment script
Closed, ResolvedPublic

Description

Problem

As of now, compiling messages is broken due to T240081. When a system administrator deploys new version of Tracker using support/deploy script, it might be ueful to ignore errors in that phase of deployment. Errors in other parts of the deployment process are often fatal, but i18n can be safely skipped - its only effect is that i18n messages aren't updated.
 

Proposed solution

Add a switch to the support/deploy script that will ignore errors that happened when python manage.py compilemessages is run.
 
Student is expected to send a patch for wikimedia-cz/tracker repository, hosted at Wikimedia Gerrit. When claiming task on GCI website, student should claim a respective Phabricator task as well.
 

Materials

 

Event Timeline

Change 561295 had a related patch set uploaded (by Alcarazzam; owner: Alcarazzam):
[wikimedia-cz/tracker@master] Add an option to ignore errors when compiling messages in the deploy script

https://gerrit.wikimedia.org/r/561295

Change 561295 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Add an option to ignore errors when compiling messages in the deploy script

https://gerrit.wikimedia.org/r/561295