Source: debian-reference
Version: 2.76
Severity: important

Dear Maintainer,

While looking at #942942, I needed to be able to build the debian-reference
package to check that my changes made sense. Unfortunately, the git 'master'
branch is not currently buildable as many po syntax errors have been
committed to git.

The repo currently contains committed git conflict markers which are not
valid .po syntax:

#. type: Content of: <book><preface><section><section><screen>
#, no-wrap
msgid ""
"$ zcat \"/usr/share/doc/base-passwd/users-and-groups.txt.gz\" | 
sensible-pager\n"
"$ sensible-browser \"/usr/share/doc/base-passwd/users-and-groups.html\"\n"
"$ sensible-browser \"https://www.debian.org\"";
msgstr ""
<<<<<<< HEAD
"$ zcat \"/usr/share/doc/base-passwd/users-and-groups.txt.gz\" | 
sensible-pager\n"
=======
"$ zcat \"/usr/share/doc/base-passwd/users-and-groups.txt.gz\" | sensible-"
"pager\n"
>>>>>>> weblate
"$ sensible-browser \"/usr/share/doc/base-passwd/users-and-groups.html\"\n"
"$ sensible-browser \"https://www.debian.org\"";


At present:

$ grep -c -e '<<< HEAD' po/{es,ja}.po
po/es.po:6
po/ja.po:13

Of course there are other sorts of syntax errors beyond git conflict markers
that could be added to git. The gitlab repo on salsa.debian.org could perform
CI builds of the debian-reference package (or even just run a checker over the
.po files) to ensure that the repo is in good shape, and to flag when
mistakes have crept in.

regards
Stuart

Reply via email to