Feature #10037

Help Weblate maintainers to add the package to Debian

Added by sajolida 2015-08-14 10:57:13 . Updated 2020-04-22 18:34:43 .

Status:
Rejected
Priority:
Low
Assignee:
drebs
Category:
Infrastructure
Target version:
Start date:
2015-08-14
Due date:
% Done:

10%

Feature Branch:
Type of work:
Debian
Blueprint:

Starter:
Affected tool:
Translation Platform
Deliverable for:

Description

ask weblate dev to put weblate in debian and to package the one missing module which is not in debian


Subtasks


Related issues

Related to Tails - Feature #10038: List the dependencies of Weblate that are not in Debian Resolved 2015-08-14
Related to Tails - Bug #16974: Improve Weblate UX for first-time visitors Confirmed

History

#1 Updated by sajolida 2015-08-14 10:57:30

#2 Updated by Anonymous 2015-08-24 04:55:17

@emmapeel: Which one is the missing module?

#3 Updated by Anonymous 2015-08-24 04:55:34

  • Assignee set to emmapeel
  • QA Check set to Info Needed

#4 Updated by Anonymous 2015-08-24 05:02:14

  • Assignee deleted (emmapeel)
  • QA Check deleted (Info Needed)

Oh the dependency question is tracked by https://labs.riseup.net/code/issues/10038

#5 Updated by emmapeel 2015-08-24 05:09:16

The developer will welcome help on packaging weblate for Debian, as currently has no time to learn to package Django apps in Debian.

Some work has been done already at:

http://anonscm.debian.org/cgit/collab-maint/weblate.git

#6 Updated by Anonymous 2015-08-24 05:57:22

i filed a request for package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=+796777

#7 Updated by Anonymous 2015-08-24 07:01:45

  • Priority changed from Normal to Low

#8 Updated by Anonymous 2015-08-26 10:51:01

It was suggested to me that we email the person who created the git repo in debian originally and ask why he stopped working on it. Doing that now.

#9 Updated by Anonymous 2015-09-11 09:33:25

I’ve received a positive answer from Martin Borgert who is still interested in packaging but needs help.

Here are the issues he listed:

Incomplete list of current issues:

1. I did not test the package at all. It might even eat your
hamster!

2. There are a lot of lintian errors and warnings, see below.

a) At least the “privacy-breach-piwik” errors are unfounded,
because Piwik will only be used if the variables PIWIK_URL
and PIWIK_SITE_ID are set. And they are not, by default.
This is probably a tender spot for you :~)

b) The .ttf fonts should just be deleted from the package and
replaced with proper depends.

c) The same goes for jquery and bootstrap. Other JS files must
be replaced with the original source from whatever upstream
and minified in the build process.

d) Backup files can be deleted during build.

e) Same for the images under /usr/lib/python2.7/

f) extra license files must be checked, added to debian/copyright
if necessary and then removed during package build

3. We should use dbconfig-common for the database setup in
post-install.

4. We should autopkgtest the package.

Any help appreciated!

E: weblate source: source-is-missing weblate/media/js/chartist.min.js
E: weblate source: source-is-missing weblate/media/js/jquery-2.1.3.min.js
E: weblate source: source-is-missing weblate/media/js/jquery.autosize.min.js
E: weblate source: source-is-missing weblate/media/js/mousetrap-global-bind.min.js
E: weblate source: source-is-missing weblate/media/js/mousetrap.min.js
E: weblate source: source-is-missing weblate/media/bootstrap/js/bootstrap.min.js
W: weblate source: changelog-should-mention-nmu
W: weblate source: source-nmu-has-incorrect-version-number 2.3-1
E: weblate: privacy-breach-piwik usr/lib/python2.7/dist-packages/weblate/html/footer.html
W: weblate: backup-file-in-package usr/lib/python2.7/dist-packages/weblate/media/.loader.js.swp
W: weblate: backup-file-in-package usr/lib/python2.7/dist-packages/weblate/media/.style.css.swp
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/media/font-awesome/fonts/fontawesome-webfont.ttf also in fonts-font-awesome
W: weblate: embedded-javascript-library usr/lib/python2.7/dist-packages/weblate/media/js/jquery.cookie.js please use libjs-jquery-cookie
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/weblate-128.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/weblate-32.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/287x66-black.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/287x66-grey.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/287x66-white.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/88x31-black.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/88x31-grey.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/88x31-white.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/badge-failing.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/badge-medium.png
W: weblate: image-file-in-usr-lib usr/lib/python2.7/dist-packages/weblate/media/widgets/badge-passing.png
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/ttf/DejaVuSans-Bold.ttf also in ttf-dejavu-core
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/ttf/DejaVuSans.ttf also in ttf-dejavu-core
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/ttf/DroidSans-Bold.ttf also in fonts-droid
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/ttf/DroidSans.ttf also in fonts-droid
W: weblate: duplicate-font-file usr/lib/python2.7/dist-packages/weblate/ttf/DroidSansFallback.ttf also in fonts-droid
W: weblate: extra-license-file usr/lib/python2.7/dist-packages/weblate/ttf/LICENSE
E: weblate: privacy-breach-piwik usr/share/weblate/weblate/html/footer.html
W: weblate: backup-file-in-package usr/share/weblate/weblate/media/.loader.js.swp
W: weblate: backup-file-in-package usr/share/weblate/weblate/media/.style.css.swp
W: weblate: duplicate-font-file usr/share/weblate/weblate/media/font-awesome/fonts/fontawesome-webfont.ttf also in fonts-font-awesome
W: weblate: binary-without-manpage usr/bin/weblate
W: weblate: binary-without-manpage usr/bin/weblate-manage
———————————————————-
I volunteered for 2b and 2c.

#10 Updated by Anonymous 2015-09-14 03:12:04

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

I’ve started to commit some modifications and we can already successfully build, but there is more work to do.

#11 Updated by Anonymous 2015-11-28 04:45:06

  • Subject changed from Ask Weblate to be in Debian to Help Weblate maintainers to add the package to Debian

Basically that’s what I do now, so renaming the ticket.

#12 Updated by emmapeel 2017-02-18 11:05:33

There are some new dependencies, because of changes on the
python-social-auth code, see:
https://github.com/omab/python-social-auth#deprecation-notice---2016-12-03

I have added 854895 and 854894 to the Debian BTS for them.

#13 Updated by Anonymous 2017-06-30 12:33:27

  • Assignee deleted ()

I currently dont intend to help on this due to lack of time.

#14 Updated by emmapeel 2018-02-28 16:18:36

  • Assignee set to drebs

Drebs is working on packaging some dependencies for last weblate at

https://0xacab.org/drebs/tails-translate-docker/issues/1

#15 Updated by drebs 2018-03-01 12:32:33

This is the Debian Request for Packaging for Weblate: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745661

#16 Updated by Anonymous 2018-08-18 10:55:58

  • related to Feature #10038: List the dependencies of Weblate that are not in Debian added

#17 Updated by Anonymous 2018-08-18 10:58:07

drebs wrote:
> This is the Debian Request for Packaging for Weblate: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745661

I’ve just sent a comment to that RFP.

#18 Updated by Anonymous 2019-07-19 16:46:37

  • Parent task deleted (Feature #10034)
  • Affected tool set to Translation Platform

#19 Updated by intrigeri 2019-09-13 10:19:26

Even if Weblate was in Debian, I’m not sure we would want to install the package from there:

  • We would have little control over when it’s upgraded (and then things we be broken occasionally until we manually fix them).
  • If the Debian packaging does not handle DB migrations perfectly, pretty often it gets in the way more than anything.

So I’d rather focus our efforts on having Weblate’s dependencies in Debian: installing them from PIP is super slow (every time we run Puppet), lacks code integrity verification, and conflicts with our security policies when we want to work on this locally.

#20 Updated by intrigeri 2019-09-13 11:59:16

intrigeri wrote:
> So I’d rather focus our efforts on having Weblate’s dependencies in Debian: installing them from PIP is super slow (every time we run Puppet), lacks code integrity verification, and conflicts with our security policies when we want to work on this locally.

See Feature #10038#note-30 for the updated list of missing deps, if you still want to work on this. Note that you don’t have to: it’s also fine to just reject this ticket.

#21 Updated by Anonymous 2019-10-21 12:30:54

  • related to Bug #16947: Investigate build-manifest discrepancy for Tails 4.0~beta1 added

#22 Updated by Anonymous 2019-10-21 12:31:01

  • related to deleted (Bug #16947: Investigate build-manifest discrepancy for Tails 4.0~beta1)

#23 Updated by Anonymous 2019-10-21 12:31:06

  • related to Bug #16974: Improve Weblate UX for first-time visitors added

#24 Updated by drebs 2020-04-22 18:34:43

  • Status changed from In Progress to Rejected

I agree with intrigeri in that if we’re putting efforts into packaging then it makes more sense to help package dependencies for Debian first.

I will reject this issue for now because we’re currently still putting efforts into coming up with an automated way to decide which packages come from Debian and which come from pip (Feature #17377), and I think there’s currently no capacity to work on packaging.

Feel free to reopen it (or a new one) if we again find ourselves wanting to work on packaging Weblate or it’s dependencies for Debian.