[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830308: marked as done (d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations)



Your message dated Fri, 1 Nov 2019 22:36:32 +0100
with message-id <[🔎] 20191101223632.41728fe9215d40d2d9ddfec5@mailbox.org>
and subject line Bug#830308: d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations
has caused the Debian Bug report #830308,
regarding d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
830308: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830308
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: d-i.debian.org
Severity: normal
Tags: l10n

It turns out that, as things are right now, the l10n-sync scripts
appears to break PO files headers in Danish and Belarusian
translations of many packages, if not all of them.

That can be seen for instance in arcboot-installer. See the following
"git log" output:

commit 6e8d75e50bc237758c3c112a23c83f02d949c019
Author: D-I role <debian-boot@lists.debian.org>
Date:   Thu Jul 7 22:24:03 2016 +0000

    [l10n]  Commit changed/added files

commit cf342c5cbdbb395903bcbcf52a5b5603cd48b5a2
Author: Christian Perrier <bubulle@debian.org>
Date:   Thu Jul 7 06:52:04 2016 +0200

    Revert "[l10n]  Commit changed/added files"

    This reverts commit d723909ca66e3438f92c478d2097d1caf5b28673.

commit ce0fc132232d436288438e778ef051fddff9478d
Author: Christian Perrier <bubulle@debian.org>
Date:   Thu Jul 7 06:51:41 2016 +0200

    Revert "[l10n]  Commit changed/added files"

    This reverts commit 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9.

commit 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9
Author: D-I role <debian-boot@lists.debian.org>
Date:   Mon Jul 4 22:24:33 2016 +0000

    [l10n]  Commit changed/added files

commit d723909ca66e3438f92c478d2097d1caf5b28673
Author: D-I role <debian-boot@lists.debian.org>
Date:   Sun Jul 3 22:25:20 2016 +0000

    [l10n]  Commit changed/added files

Before d723909ca66e3438f92c478d2097d1caf5b28673, the da.po headers are like this:
"PO-Revision-Date: 2010-08-05 10:48+0200\n"
"Last-Translator: Jacob Sparre Andersen <jacob@jacob-sparre.dk>\n"
"Language-Team: Danish <debian-l10n-danish@lists.debian.org>\n"
"Language: da\n"

After d723909ca66e3438f92c478d2097d1caf5b28673, headers vanish:
# THIS FILE IS GENERATED AUTOMATICALLY FROM THE D-I PO MASTER FILES
# The master files can be found under packages/po/
#
# DO NOT MODIFY THIS FILE DIRECTLY: SUCH CHANGES WILL BE LOST
#
#. Type: text
#. Description
#. :sl4:
#: ../arcboot-installer.templates:1001
msgid "Install the Arcboot boot loader on a hard disk"
msgstr ""

After 2fd6349f7ea98ac1885b3b2263b85352e9e93ce9, headers re-appear, but
with:
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: <dansk@dansk-gruppen.dk>\n"
"Language: da\n"


If thos two commits are reverted, which I did in
cf342c5cbdbb395903bcbcf52a5b5603cd48b5a2, they are sadly re-broken in
the next l10n-sync run.

I have not yet investigated whether changes to
packages/po/sublevel*/da.po (and be.po) triggerred this in some way.

As suggested by KiBi, I first report this as an attempt to make l10n
scripts more resilient.




-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
I have tested the script: committed a broken german de.po file, to see what
happens. The result was: the script correctly detected the syntax error and
stopped processing, giving a proper error message.


So this bug has just been forgotten to close, apparently.

Closing it now.

Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: