[Pkg-javascript-devel] Bug#730014: Bug#730014: Bug#730014: new jquery needed

Antonio Terceiro terceiro at debian.org
Fri Aug 21 22:32:43 UTC 2015


On Fri, Aug 21, 2015 at 11:22:06PM +0200, Mike Gabriel wrote:
> Hi Antonio,
> 
> On Fri Aug 21 22:23:23 2015 Antonio Terceiro <terceiro at debian.org> wrote:
> > On Fri, Aug 21, 2015 at 09:04:12PM +0200, Mike Gabriel wrote:
> > > Great! The first upload (to exp) should bring the latest upstream to
> > > Debian.
> > 
> > I actually uploaded directly to unstable; I hope there won't be much
> > problems.
> > 
> > > Once that version gets re-uploaded to unstable, we should prepare
> > > versioned packages (jquery-X.Y, same for jquery-ui). So that it is
> > > possible to install several jquery(-ui) versions in parallel.
> > 
> > I'm not entirely sure this is a good idea ...
> 
> Please join #debian-js if possible,

ah, I tried #debian-javascript and it was empty. I'll idle there from
now on.

> so that such stuff can be discussed with the rest of the Debian JS
> team. The above was discussed between Thomas Goirand and myself.
> 
> The idea is to be able to provide jquery and jquery-ui via
> update-alternatives. 
> 
> Even if only one version of jquery* is maintained in Debian, it will
> allow one to provide other versions of jquery via non-Debian repos
> (like it may become relevant in openstack and probably several other
> repos offering jquery based webUIs).

Ruby used to allow switching between different interpreter versions
using alternatives, and that created a whole lot of problems, so I would
advise against doing that.

Using alternatives to manage different implementations that are not
compatible, or drop-in replacements to each other, will bring problems.

If you really need to have multiple versions, make those packages that
require versions that are not the default one use such version
expliclity. Example:

- if you don't care about the jQuery version, use just 'jquery'
- if you need a specific version, then reference that explictly
  ('jquery-X.Y')

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20150822/9b3bf223/attachment.sig>


More information about the Pkg-javascript-devel mailing list