RKWard | Count completeness of translations while importing them. (a67c37d9)

Pino Toscano noreply at kde.org
Sun Jun 21 13:12:20 BST 2020




Pino Toscano commented:


polib has been available in distributions for a very long time, and it is very small (~100K); see: \
https://repology.org/project/polib/versions \
https://repology.org/project/python:polib/versions

Looking at Ubuntu, it is available as Python 3 for a long time already:
```shell
$ rmadison -u ubuntu python3-polib
 python3-polib | 0.7.0-2 | precise/universe | all
 python3-polib | 1.0.4-1 | trusty           | all
 python3-polib | 1.0.7-1 | xenial           | all
 python3-polib | 1.1.0-3 | bionic           | all
 python3-polib | 1.1.0-3 | disco            | all
 python3-polib | 1.1.0-3 | eoan             | all
 python3-polib | 1.1.0-7 | focal            | all
 python3-polib | 1.1.0-7 | groovy           | all
```

Hence I do not see a problem using it unconditionally; unless there is a strong need for *not* using it, I do not think it is a good idea to micromanage and split scripts that are mostly useful for (few) developers.

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.

-- 
Reply to this email directly or view it on GitLab: https://invent.kde.org/education/rkward/-/commit/a67c37d9bd23edc96793c5404987bd12be60b441#note_63708
You're receiving this email because of your account on invent.kde.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-tracker/attachments/20200621/1b3f6cc2/attachment.htm>


More information about the rkward-tracker mailing list