Feature #5320

Automatically check PO files

Added by Tails 2013-07-18 07:39:03 . Updated 2019-03-08 15:54:49 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Continuous Integration
Target version:
Start date:
2014-12-02
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Run i18nspector during the automated test suite to catch errors in the PO files for our custom scripts and website.
This can be done with our check_po.sh wrapper for i18nspector. It should be done:

  1. against the master branch, whenever it changes: that’s a dedicated Jenkins job;
  2. when testing a branch in our automated test suite;
  3. against the PO files that live in our other Git repositories (imported there by source:import-translations): when?

Subtasks

Feature #8356: Move the check_PO_master Jenkins job to another slave Rejected

0

Feature #8357: Turn the check_PO Jenkins job into a template Rejected

0

Feature #8358: Automatically check PO files in all our repositories Rejected

0

Feature #8359: Run check_po.sh in our automated test suite Resolved

100

Feature #8360: Have the check_PO_master Jenkins job report to -l10n@ Resolved intrigeri

100

Bug #10592: Upgrade i18nspector to 0.20+ on the Jenkins slave that runs check_PO_master Resolved

100

Feature #10747: Re-enable the check_PO_master Jenkins job Resolved

100


History

#1 Updated by intrigeri 2013-09-10 00:19:11

  • Category set to Continuous Integration
  • Starter set to No

#2 Updated by intrigeri 2013-09-11 13:19:15

  • Category changed from Continuous Integration to Test suite

#3 Updated by BitingBird 2014-06-09 10:22:24

  • Subject changed from test suite: i18nspector to Test suite: i18nspector

#4 Updated by intrigeri 2014-07-19 20:02:51

  • Description updated

#5 Updated by intrigeri 2014-07-19 20:03:26

  • Subject changed from Test suite: i18nspector to Automatically check PO files

#6 Updated by intrigeri 2014-12-01 19:58:05

  • Description updated

#7 Updated by intrigeri 2014-12-01 20:44:27

Optimized check_po.sh => on my system, it now takes 3.8 seconds to run, instead of the 73 seconds needed by the previous version.

#8 Updated by intrigeri 2014-12-01 20:59:33

  • Description updated

#9 Updated by intrigeri 2014-12-01 21:02:31

  • Description updated

#10 Updated by intrigeri 2014-12-01 21:44:24

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri

Added a draft Jenkins job for checking POs in the master branch. Might even work. Should now use something else than the builder slave. Time to give the Docker plugin a try? (See pointers on the evaluate Docker blueprint.) But actually a mere pbuilder chroot, or systemd nspawn, would do the job just fine.

#11 Updated by intrigeri 2014-12-02 06:46:49

  • Category changed from Test suite to Continuous Integration

#12 Updated by intrigeri 2014-12-02 07:23:41

intrigeri wrote:
> Added a draft Jenkins job for checking POs in the master branch.

It now works :) See subtasks for the next steps.

#13 Updated by intrigeri 2017-06-05 14:26:40

  • Assignee deleted (intrigeri)

#14 Updated by Anonymous 2017-06-28 08:10:17

  • Assignee set to bertagaz

Tentatively assigning to bertagaz. Please unassign yourself if you think you can’t work on this.
This might be a ticket for new team mates otherwise.

#15 Updated by intrigeri 2017-06-28 08:49:53

  • Assignee deleted (bertagaz)

I think bertagaz should focus on stuff we have explicitly put on our plate for this year.

#16 Updated by intrigeri 2019-03-08 15:54:49

  • Status changed from In Progress to Resolved