<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p style="color: #777777;">
<a href="https://invent.kde.org/pino">Pino Toscano</a>
commented:
</p>
<div style="">
<p dir="auto">polib has been available in distributions for a very long time, and it is very small (~100K); see: <br>
<a href="https://repology.org/project/polib/versions" rel="nofollow noreferrer noopener" target="_blank">https://repology.org/project/polib/versions</a> <br>
<a href="https://repology.org/project/python:polib/versions" rel="nofollow noreferrer noopener" target="_blank">https://repology.org/project/python:polib/versions</a></p>
<p dir="auto">Looking at Ubuntu, it is available as Python 3 for a long time already:</p>
<pre class="code highlight js-syntax-highlight shell" lang="shell" v-pre="true"><code><span id="LC1" class="line" lang="shell"><span class="nv">$ </span>rmadison <span class="nt">-u</span> ubuntu python3-polib</span>
<span id="LC2" class="line" lang="shell"> python3-polib | 0.7.0-2 | precise/universe | all</span>
<span id="LC3" class="line" lang="shell"> python3-polib | 1.0.4-1 | trusty           | all</span>
<span id="LC4" class="line" lang="shell"> python3-polib | 1.0.7-1 | xenial           | all</span>
<span id="LC5" class="line" lang="shell"> python3-polib | 1.1.0-3 | bionic           | all</span>
<span id="LC6" class="line" lang="shell"> python3-polib | 1.1.0-3 | disco            | all</span>
<span id="LC7" class="line" lang="shell"> python3-polib | 1.1.0-3 | eoan             | all</span>
<span id="LC8" class="line" lang="shell"> python3-polib | 1.1.0-7 | focal            | all</span>
<span id="LC9" class="line" lang="shell"> python3-polib | 1.1.0-7 | groovy           | all</span></code></pre>
<p dir="auto">Hence I do not see a problem using it unconditionally; unless there is a strong need for <em>not</em> using it, I do not think it is a good idea to micromanage and split scripts that are mostly useful for (few) developers.</p>
<p dir="auto">Also, the previous parsing code was incorrect: it considered the header as valid message... This is exactly why I rather prefer to use an existing library, in this case widely available, small and stable, rather than reinventing the wheel in the wrong way.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
Reply to this email directly or <a href="https://invent.kde.org/education/rkward/-/commit/a67c37d9bd23edc96793c5404987bd12be60b441#note_63708">view it on GitLab</a>.
<br>
You're receiving this email because of your account on invent.kde.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://invent.kde.org/education/rkward/-/commit/a67c37d9bd23edc96793c5404987bd12be60b441#note_63708"}}</script>


</p>
</div>
</body>
</html>