[Pkg-javascript-devel] JS policy: repackaging upstream tarball when minified js files are present (was: Call for review: should.js packages)

Emilien Klein emilien+debian at klein.st
Mon May 5 08:09:19 UTC 2014


Hi Daniel,

2014-05-05 0:32 GMT+02:00 Daniel Kahn Gillmor <dkg at fifthhorseman.net>:
> On 05/04/2014 05:31 PM, Emilien Klein wrote:
>> No other comments from the team on Jérémy's proposal?
>
> If the upstream tarball has both the original and minified javascript, I
> don't think we need to actively re-pack the upstream tarball to get rid
> of the minified javascript, any more than we need to actively re-pack
> upstream source that includes .png icon sources alongside their .svg source.
>
> We should not shipping the upstream-minified files in our .debs  -- we
> should re-minify the canonical source and ship the output of that step,
> if we need to ship minified files.

The current policy is to repackage the upstream tarball if it contains
a minified file, and regenerate the minified files as part of the
build process.
This has been debated in March (please see the first message on this
email thread for details).
Although my original position is the same as what you outline, the
outcome of the discussion is that the current policy will not be
changed. I am thus currently pushing to get the policy formalized, by
explicitly referencing it on our policy page.

    +Emilien



More information about the Pkg-javascript-devel mailing list