[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849396: Acknowledgement (ITP: rspamd - rapid spam filtering system)



On Monday, October 30 2017, Diane E. Trout wrote:

> On Wed, 26 Jul 2017 16:42:07 +0200 Stefan Tatschner <stefan.tatschner@g
> mail.com> wrote:
>> On Wed, 01 Mar 2017 16:23:39 +0100 Bartosz Fenski <bartosz@fenski.pl>
>> wrote:
>> > Feel free to deal with upstream.
>> > I gave up.
>> > 
>> > No way to convince him to start using source of JS files used in
> web 
>> > interface.
>> 
>> What exactly is the problem here?
>> 
>> Stefan
>> 
>> 
>
> Probably this:
>
> https://github.com/vstakhov/rspamd/tree/master/interface/js/lib
>
> Checked in .min.js files
>
> Looks like first packager gave up trying to convince the developer not
> to do that.

This is becoming common practice among web developers, but there are
ways to circumvent this problem.  For example, one could exclude these
files from the package (via d/copyright), install the corresponding
Debian packages needed for these libraries, and patch the source files
that make use of the "*.min.js" files and make them use the system's
version.

The "problem" is that this approach requires the JavaScript depedencies
to be packaged for Debian, which means more work.  We already have
jquery packaged, but I don't know about the others.

FWIW, this is the approach I'm following other packages of mine.

Cheers,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/

Attachment: signature.asc
Description: PGP signature


Reply to: