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

Bug#747169: RFS: socksjs-twisted/1.2.1-1 [ITP]



Thanks for your time.

>>>    - Please, create a VCS to control your debian/ versions. You can
>>> use github or other. So, add the Vcs-Browser and Vcs-{Git|Svn|Cvs} to
>>> d/control. You can see an example here[1].
>>
>> Done.
>
> You need use 'git://' to Vcs-Git, intead of 'https://'.

That's not what recommended by github and https:// works as a git
clone url. I'm not against changing this though.

>>> 2. d/copyright:
> Please, I found new names as Ariel Flesler and The Dojo Foundation
> (from your patch).

Okay, I added those names. But doesn't the header of the file give the license?

> How you concluded that txsockjs/websockets.py is under MIT license? Do
> you checked this information at this site[1]?
>
> [1] http://twistedmatrix.com/trac/browser/branches/websocket-4173-2?rev=29073

Yes.

> If yes, the license must be put inside the source code. From MIT
> license: "The above copyright notice and this permission notice shall
> be included in all copies or substantial portions of the Software.".
> So, if no have references in source code (about the license and
> origin), the upstream didn't can distribute this code without break
> the licensing rules.
>
> I am very concerned because I think that the upstream source code has
> several files or extracts of codes from other upstreams without
> licenses. If yes, the socksjs-twisted upstream needs to fix this
> issue.

You are right. But as upstream does not seem responsive, I cannot do
much more than patching the files to fix those issues.

>>> 3. What makes your patch? My impression is that you are "injecting" a
>>> third-part code in upstream. Is this? If yes, you must add it as an
>>> dependency of the package. If not packaged, you need package it.
>>
>> The patch adds the missing source for minified js files. See
>> https://lintian.debian.org/tags/source-is-missing.html
>
> Ok. But the lintian says: "add it to "debian/missing-sources"
> directory". And as I said, this code must be referenced in
> d/copyright.

My idea was to have a patch ready for inclusion by upstream, easier
than picking up the pieces in debian/missing-sources.

> What is the origin of this code? (you must add it to the patch header)

This code was taken from the history of jquery.

> There is this code packaged in Debian?

Yes but not the same version as the minified source.

This files are not even part of the binary package, the idea is just
to fix the source package.

>>> 6. Do you see these lintian messages?
>>>
>>> P: sockjs-twisted source: source-contains-prebuilt-javascript-object
>>> qunit/html/static/jquery.min.js
>>> P: sockjs-twisted source: source-contains-prebuilt-javascript-object
>>> qunit/html/static/qunit.min.js
>>
>> Those are fixed by the patch and are false positives, see above and a
>> lintian bug :
>> https://bugs.debian.org/744972
>
> I can be wrong. But the pointed site is about missing sources. Please see it[2].
>
> [2] https://lintian.debian.org/tags/source-contains-prebuilt-javascript-object.html

>From some other discussion, I had understood that including the
missing source was enough. What is your advice here : should I add a
Makefile to regenerate those files that don't even get in the binary
package? Should I repack the source to get rid of those (which would
be a pity : the archived source package would be stripped of its test
suite) ?

Alex


Reply to: