Re: [Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-12 Thread Jonas Smedegaard
Quoting Pirate Praveen (2017-10-12 08:25:06) > On ബുധന്‍ 11 ഒക്ടോബര്‍ 2017 10:10 വൈകു, Ben Finney wrote: > > What change to the policy do you suggest? > > > Add this, > > 6. If the library is primarily developed as a Node.js module and browser > part is generated from Node.js sources using a

Re: [Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-12 Thread Pirate Praveen
On ബുധന്‍ 11 ഒക്ടോബര്‍ 2017 10:10 വൈകു, Ben Finney wrote: > What change to the policy do you suggest? > Add this, 6. If the library is primarily developed as a Node.js module and browser part is generated from Node.js sources using a module bundler like browserify, webpack or rollup, it should

Re: [Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-11 Thread Hubert Chathi
On Wed, 11 Oct 2017 16:19:30 +0530, Pirate Praveen said: > Hi, In a recent bug report, I came across this disparity, > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877213#36 > npm2deb creates source packages with node- prefix. I think the policy > should be

Re: [Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-11 Thread Ben Finney
Pirate Praveen writes: > In a recent bug report, I came across this disparity, > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877213#36 > > npm2deb creates source packages with node- prefix. I think the policy > should be updated to reflect this. What change to

Re: [Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-11 Thread Ximin Luo
Please CC me on all replies, I don't receive mail from this mailing list due to too much node-related traffic that I don't want to see. > In a recent bug report, I came across this disparity, > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877213#36 > > npm2deb creates source packages with

[Pkg-javascript-devel] Javascript policy and npm2deb

2017-10-11 Thread Pirate Praveen
Hi, In a recent bug report, I came across this disparity, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877213#36 npm2deb creates source packages with node- prefix. I think the policy should be updated to reflect this. Thanks Praveen signature.asc Description: OpenPGP digital signature

Re: [Pkg-javascript-devel] JavaScript policy clarifications?

2014-06-21 Thread Jérémy Lal
Le lundi 16 juin 2014 à 11:45 +0200, Daniel Pocock a écrit : Looking at https://wiki.debian.org/Javascript/Policy there are some ambiguities in point 4 (*should* ship a /minified/ version for each script, generated at build time (use /uglifyjs/ to this purpose) ) - a package should

[Pkg-javascript-devel] JavaScript policy clarifications?

2014-06-16 Thread Daniel Pocock
Looking at https://wiki.debian.org/Javascript/Policy there are some ambiguities in point 4 (*should* ship a /minified/ version for each script, generated at build time (use /uglifyjs/ to this purpose) ) - a package should /only/ ship a minified version of a script, or it should ship both

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-31 Thread François-Régis
Hi Ben, Thank you to participate to this debate, as I've no personal conviction and even no personal legitimation to enforce any conviction, I'm glad to have legitimates POV. Le 31/03/2014 06:34, Ben Finney a écrit : François-Régis f...@miradou.com writes: Le 31/03/2014 00:03, Ben Finney a

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-30 Thread Ben Finney
François-Régis f...@miradou.com writes: As initiator of the thread, I may recall that the question we ask is Should we remove from source tarball minified versions of source files existing in tarball. An outcome of the thread is to show that the original question is ill-posed, because it

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-30 Thread François-Régis
Hi Ben, Le 31/03/2014 00:03, Ben Finney a écrit : François-Régis f...@miradou.com writes: As initiator of the thread, I may recall that the question we ask is Should we remove from source tarball minified versions of source files existing in tarball. An outcome of the thread is to show that

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-30 Thread Ben Finney
François-Régis f...@miradou.com writes: Hi Ben, Le 31/03/2014 00:03, Ben Finney a écrit : * How do we know – and demonstrate to anyone who asks – the truth of the assertion that the source is actually the corresponding source of the exact non-source file? Before asking how do we

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-29 Thread Emilien Klein
2014-03-28 0:28 GMT+01:00 Ben Finney ben+deb...@benfinney.id.au: Emilien Klein emilien+deb...@klein.st writes: Let's take the example of jquery-lazyload [0]. Both these files are provided in the upstream tarball: - jquery.lazyload.js - jquery.lazyload.min.js With the second one being the

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-29 Thread Ben Finney
Ben Finney ben+deb...@benfinney.id.au writes: There is a method for [ensuring that every Debian release of the source package ships no files without corresponding source]: Don't distribute the minified file from upstream; instead, distribute only the source form of the work, and compile a

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-29 Thread Emilien Klein
2014-03-29 9:57 GMT+01:00 Emilien Klein emilien+deb...@klein.st: I feel we are stuck. In the intent to bring this discussion to a close, would you strongly disagree if I ask the question on the -devel mailing list? Let me rephrase that: I will send a draft of the email on our js mailing list,

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-29 Thread François-Régis
Hi Marcello, Hi Emilien Le 29/03/2014 22:33, Marcelo Jorge Vieira a écrit : On Sat, 2014-03-29 at 10:33 +0100, Emilien Klein wrote: 2014-03-29 9:57 GMT+01:00 Emilien Klein emilien+deb...@klein.st: I feel we are stuck. In the intent to bring this discussion to a close, would you strongly

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-27 Thread Emilien Klein
2014-03-27 0:13 GMT+01:00 Ben Finney ben+deb...@benfinney.id.au: Jonas Smedegaard d...@jones.dk writes: DFSG #2: The program must include source code, and must allow distribution in source code as well as compiled form. I believe the term source code is in Debian generally interpreted as

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-27 Thread Jonas Smedegaard
Quoting Emilien Klein (2014-03-27 13:30:23) 2014-03-27 0:13 GMT+01:00 Ben Finney ben+deb...@benfinney.id.au: Jonas Smedegaard d...@jones.dk writes: DFSG #2: The program must include source code, and must allow distribution in source code as well as compiled form. I believe the

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-27 Thread Ben Finney
Emilien Klein emilien+deb...@klein.st writes: Let's take the example of jquery-lazyload [0]. Both these files are provided in the upstream tarball: - jquery.lazyload.js - jquery.lazyload.min.js With the second one being the minified form of the first one. How will you guarantee that

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Emilien Klein
Hi François-Régis, 2014-03-25 23:34 GMT+01:00 François-Régis f...@miradou.com: I should have said A pkg-javascript policy could be we don't embed minified files into orig tarball This is correct when Debian packager == upstream maintainer. For most packages, that is not the case. The current

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Ben Finney
Emilien Klein emilien+deb...@klein.st writes: The current policy is made using the assumption that minified == compiled. For my information: Has this ever clearly and definitively been established? I'm not understanding your question. What assumption are you describing? Equating “minified”

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread François-Régis
Hi Emilien, Le 26/03/2014 22:10, Emilien Klein a écrit : 2014-03-25 23:34 GMT+01:00 François-Régis f...@miradou.com: I should have said A pkg-javascript policy could be we don't embed minified files into orig tarball This is correct when Debian packager == upstream maintainer. For most

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Emilien Klein
Hi Ben, 2014-03-26 22:30 GMT+01:00 Ben Finney ben+deb...@benfinney.id.au: Emilien Klein emilien+deb...@klein.st writes: The current policy is made using the assumption that minified == compiled. For my information: Has this ever clearly and definitively been established? I'm not

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Emilien Klein
Hi François-Régis, 2014-03-26 23:03 GMT+01:00 François-Régis f...@miradou.com: [snip] I may be wrong but what we distribute is binary package, which should'nt include minified version of source tarball but only ones we have built. I agree with the rest of your message, but must let you know

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread François-Régis
Le 26/03/2014 22:30, Ben Finney a écrit : Emilien Klein emilien+deb...@klein.st writes: The current policy is made using the assumption that minified == compiled. For my information: Has this ever clearly and definitively been established? I'm not understanding your question. What

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Ben Finney
Emilien Klein emilien+deb...@klein.st writes: Hi Ben, 2014-03-26 22:30 GMT+01:00 Ben Finney ben+deb...@benfinney.id.au: Emilien Klein emilien+deb...@klein.st writes: The current policy is made using the assumption that minified == compiled. For my information: Has this ever clearly and

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Jonas Smedegaard
Quoting François-Régis (2014-03-26 23:50:08) Le 26/03/2014 23:45, Jonas Smedegaard a écrit : Quoting Emilien Klein (2014-03-26 22:10:31) The current policy is made using the assumption that minified == compiled. Arguably minification is not compilation, but neither is it the preferred

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-26 Thread Ben Finney
Jonas Smedegaard d...@jones.dk writes: DFSG #2: The program must include source code, and must allow distribution in source code as well as compiled form. I believe the term source code is in Debian generally interpreted as preferred form of modification. (That should be “preferred

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-25 Thread François-Régis
Hi David, Le 25/03/2014 01:47, David Prévot a écrit : Hi François-Régis, I may be wrong but perhaps providing minified files in source tarball (which are considered as binary files) is DFSG compliant providing we have the sources, but debian policy is to exclude them from sources. Can

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-24 Thread François-Régis
Le 22/03/2014 12:37, David Prévot a écrit : Le 22/03/2014 05:33, Emilien Klein a écrit : On 03/21/2014 11:22 PM, François-Régis wrote: Le 21/03/2014 07:45, Emilien Klein a écrit : We may have something like : * Origin tarball should not include any minify code. Maybe there is a missing

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-24 Thread David Prévot
Hi François-Régis, I may be wrong but perhaps providing minified files in source tarball (which are considered as binary files) is DFSG compliant providing we have the sources, but debian policy is to exclude them from sources. Can you please be specific about what (point of) “debian policy”

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-24 Thread Jonas Smedegaard
Quoting François-Régis (2014-03-25 01:07:20) Le 22/03/2014 12:37, David Prévot a écrit : Le 22/03/2014 05:33, Emilien Klein a écrit : On 03/21/2014 11:22 PM, François-Régis wrote: Le 21/03/2014 07:45, Emilien Klein a écrit : We may have something like : * Origin tarball should not include

Re: [Pkg-javascript-devel] JavaScript policy?

2014-03-24 Thread Ben Finney
David Prévot da...@tilapin.org writes: Hi François-Régis, I may be wrong but perhaps providing minified files in source tarball (which are considered as binary files) is DFSG compliant providing we have the sources, but debian policy is to exclude them from sources. Can you please be

[Pkg-javascript-devel] JavaScript policy? (was: Please review jquery-coolfieldset)

2014-03-22 Thread David Prévot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Le 22/03/2014 05:33, Emilien Klein a écrit : On 03/21/2014 11:22 PM, François-Régis wrote: Le 21/03/2014 07:45, Emilien Klein a écrit : So Marcelo's recommandation goes on the good way to have uniform workflow and should be written somwhere (as

Re: [Pkg-javascript-devel] Javascript Policy

2012-03-18 Thread Jonas Smedegaard
On 12-03-18 at 02:52pm, Jose Luis Rivas wrote: On 03/18/2012 01:05 PM, Jonas Smedegaard wrote: Sorry, I were too brief: I do know briefly about PET, including above Perl CGI. What I don't know is what it required to use it. Not much:

Re: [Pkg-javascript-devel] Javascript Policy

2012-03-15 Thread Jonas Smedegaard
On 12-03-15 at 09:57pm, Jérémy Lal wrote: here are my preferences about two small questions that could be fixed by http://wiki.debian.org/Javascript/Policy * nothing is said about the preferred source package name when library is usable both from a web-browser and from NodeJS I would