[Pkg-javascript-devel] Bug#995722: Bug#995722: Not running tests because tests miss source code is not useful

Jonas Smedegaard jonas at jones.dk
Thu Oct 7 13:03:58 BST 2021


Quoting Yadd (2021-10-07 07:06:42)
> Le 06/10/2021 à 23:32, Thomas Goirand a écrit :
>> On 10/6/21 6:53 PM, Pirate Praveen wrote:
>>> On ബു, ഒക്ടോ 6 2021 at 12:16:07 വൈകു +0200 +0200, Jonas Smedegaard
>>> <jonas at jones.dk> wrote:
>>>> Quoting Yadd (2021-10-06 11:43:40)
>>>>>  On Lu, 04 oct 21, 16:40:48, Bastien Roucari�s wrote:
>>>>>> Source: src:node-lodash
>>>>>> Version: 4.17.21+dfsg+~cs8.31.173-1
>>>>>> Severity: serious
>>>>>> Justification: do not compile from source
>>>>>>
>>>>>> Dear Maintainer,
>>>>>>
>>>>>> The vendor directory should be emptied
>>>>>>
>>>>>> The debug version is compiled without source (lintian warn) and 
>>>>>> moreover the rest of file are already packaged
>>>>>>
>>>>>> grep -R vendor * gives only a few hit that could be cured by 
>>>>>> symlinking

>>>>>  this files are used for test only, maybe severity could be 
>>>>> decreased.
>>>>
>>>> I find the severity accurate: Relying on non-source code is a 
>>>> severe violation of Debian Policy, not matter the purpose of 
>>>> relying on it.
>>>
>>> I think we should change the policy here. Running tests helps 
>>> improve the quality of the software we ship. Many times the vendored 
>>> code is used to ensure the code does not break in a specific 
>>> situation. I don't think reducing test coverage in such situations 
>>> is really helpful.
>> 
>> Right, running tests helps improve the quality of software we ship. 
>> Which is why you probably need to test using what's shipped in Debian 
>> rather than using a vendored source-less code.
>> 
>> If we rely on non-free code for tests, that's really bad too, and 
>> that must be avoided just like we're avoiding source-less code 
>> everywhere else in Debian. The policy shall not change, please.
> 
> We are not talking about really-non-free code, but minified JavaScript 
> code released under a free license.
> 
> If we want to be strict here, there will be some excluded package: for 
> example most of the softwares listed here will be excluded: 
> https://lintian.debian.org/tags/embedded-javascript-library
> 
> Is it what you want ?

We all want to do most possible with Free software, and call that 
"main".

Some of us additionally want to extend that with possibilities beyond 
Free software, and call that "contrib" and "non-free".

We all want to be strict about using only Free software, but we do not 
necessarily want to throw away minified code.

We often throw away upstream-generated minified code because it is an 
easy way to ensure that we are strictly using only Free software, but 
alternatives exist: One alternative is to somehow ensure that the 
minified code is Free software - i.e. that all source for that code 
exist in Debian and if source changes then we are able to generate that 
minified code purely from the Debian-included sources.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211007/c673576c/attachment.sig>


More information about the Pkg-javascript-devel mailing list