Project

General

Profile

Feature #10037

Help Weblate maintainers to add the package to Debian

Added by sajolida about 4 years ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Low
Assignee:
Category:
Infrastructure
Target version:
-
Start date:
08/14/2015
Due date:
% Done:

10%

Feature Branch:
Type of work:
Debian
Blueprint:
Starter:
Affected tool:
Translation Platform

Description

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


Related issues

Related to Tails - Feature #10038: List the dependencies of Weblate that are not in Debian Resolved 08/14/2015

History

#1 Updated by sajolida about 4 years ago

  • Parent task set to #10034

#2 Updated by u about 4 years ago

@emmapeel: Which one is the missing module?

#3 Updated by u about 4 years ago

  • Assignee changed from u to emmapeel
  • QA Check set to Info Needed

#4 Updated by u about 4 years ago

  • Assignee changed from emmapeel to u
  • QA Check deleted (Info Needed)

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

#5 Updated by emmapeel about 4 years ago

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 u about 4 years ago

#7 Updated by u about 4 years ago

  • Priority changed from Normal to Low

#8 Updated by u about 4 years ago

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 u about 4 years ago

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 u about 4 years ago

  • 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 u almost 4 years ago

  • 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 over 2 years ago

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 u over 2 years ago

  • Assignee deleted (u)

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

#14 Updated by emmapeel over 1 year ago

  • 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 over 1 year ago

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

#16 Updated by u about 1 year ago

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

#17 Updated by u about 1 year ago

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 u 3 months ago

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

#19 Updated by intrigeri about 1 month ago

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 about 1 month ago

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 #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.

Also available in: Atom PDF