[Pkg-javascript-devel] how to best handle uglifyjs.terser -> terser migration

Jonas Smedegaard jonas at jones.dk
Sun Nov 7 18:37:40 GMT 2021


Quoting Nilesh Patra (2021-09-27 13:52:13)
> On 27 September 2021 3:48:52 pm IST, Pirate Praveen <praveen at onenetbeyond.org> wrote:
> >On 27 September 2021 5:10:59 am IST, Jonas Smedegaard <dr at jones.dk> wrote:
> >>Package node-terser provides binary package uglifyjs.terser 
> >>containing a command-line tool by the same name.
> >>
> >>Upstream has dropped that and instead provides command-line tool 
> >>terser.
> >>
> >>This change has been prepared in experimental, with a "Breaks" in 
> >>place.
> >>
> >>Problem is: 45 packages build-depends on uglifyjs.terser :-(
> >>
> >>How to most sensibly handle a transition?
> >>
> >>I cannot File 45 bugreports requesting packages to change at their 
> >>own pace, because it needs to happen at once.
> >>
> >>Any thoughts?
> >
> >Is all packages maintained by js team? File bugs against packages not 
> >maintained by js team and give them a heads up when this be uploaded 
> >to unstable.
> >
> >We can request a transition tracker from release team.
> 
> This really should be done. Makes tracking much easier than doing 
> manually
> 
> >If we fix a day for uploading to unstable, more people can join and 
> >help with fixing packages. We can coordinate on irc/pad and upload. I 
> >can volunteer. If some more join, we can do it in a few days.
> 
> I volunteer to help fix and upload packages that will be broken w/ 
> this change. If it can happen on a weekend, that'd be awesome.

Thanks for the feedback, Praveen and Nilesh.

Maybe I was unclear earlier: The issue was that packages would all need 
to change at once, because not only ABI changes but also package name 
and name of executable.

Good news: uglifyjs now temporarily provides virtually the new pakage 
name and installs a symlink to the new executable name, so the 
transition can be done in 2 steps where only the last (which is expected 
to affect only few pakages if any at all) need to be done all-at-once:

1) each reverse dependecy of uglifyjs.terser should switch to instead 
build-depend on terser, and should call the executable "terser".

2) all reverse dependecies of uglifyjs.terser should be test-built 
against terser v4.8 in experimental, and patched as needed.

Attached is a dd-list reverse-build-dependencies - some are maintained 
outside the JavaScript team.

I will begin now with the the packages where I am main maintainer - and 
would appreciate help handling the remaining ~40 packages.

 - 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 --------------
Andreas Tille <tille at debian.org>
   node-jmespath (U)
   node-shiny-server-client (U)

Andrew Harvey <andrew.harvey4 at gmail.com>
   leaflet (U)
   leaflet-markercluster (U)

Bastien Roucariès <rouca at debian.org>
   node-istanbul (U)

Cédric Boutillier <boutil at debian.org>
   impress.js (U)

Debian Chromium Team <chromium at packages.debian.org>
   chromium

Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
   impress.js
   leaflet
   leaflet-markercluster
   less.js
   libjs-fetch
   node-base64-js
   node-bootstrap-switch
   node-chance
   node-d3-force
   node-d3-queue
   node-dagre-d3-renderer
   node-dagre-layout
   node-es6-promise
   node-events
   node-flatted
   node-fuzzaldrin-plus
   node-graphlibrary
   node-i18next-http-backend
   node-ipaddr.js
   node-istanbul
   node-jmespath
   node-jquery-textcomplete
   node-jschardet
   node-lunr
   node-markdown-it
   node-markdown-it-html5-embed
   node-marked
   node-mermaid
   node-natural-sort
   node-prop-types
   node-thenby
   node-timeago.js
   node-ua-parser-js
   node-vue-resource
   popper.js
   psl.js
   twitter-bootstrap4
   vue.js

Debian Ruby Team <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
   ruby-rails-assets-jquery-nicescroll

Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
   node-shiny-server-client
   theano

Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
   janus

Georges Khaznadar <georgesk at debian.org>
   almond
   jsxgraph
   wims

Ghislain Antony Vaillant <ghisvail at gmail.com>
   libjs-fetch (U)

Jobin J <jobinjofficial at gmail.com>
   node-chance (U)

Jonas Smedegaard <dr at jones.dk>
   janus (U)
   leaflet (U)
   leaflet-markercluster (U)
   node-flatted (U)
   node-lunr (U)

Julian Taylor <jtaylor.debian at googlemail.com>
   node-marked (U)

Julien Puydt <jpuydt at debian.org>
   node-es6-promise (U)

Leo Iannacone <l3on at ubuntu.com>
   node-ipaddr.js (U)

Michael Gilbert <mgilbert at debian.org>
   chromium (U)

Michel Le Bihan <michel at lebihan.pl>
   chromium (U)

Naga Durga <vvndurga1007 at gmail.com>
   node-markdown-it-html5-embed (U)

Nicolas Mora <babelouest at debian.org>
   node-i18next-http-backend (U)

Nilesh Patra <nilesh at debian.org>
   node-jmespath (U)
   node-mermaid (U)

Nilesh Patra <npatra974 at gmail.com>
   node-dagre-layout (U)
   node-graphlibrary (U)
   node-natural-sort (U)
   node-shiny-server-client (U)
   node-thenby (U)

Paolo Greppi <paolo.greppi at libpf.com>
   vue.js (U)

Pirate Praveen <praveen at debian.org>
   less.js (U)
   node-bootstrap-switch (U)
   node-d3-force (U)
   node-d3-queue (U)
   node-dagre-d3-renderer (U)
   node-dagre-layout (U)
   node-fuzzaldrin-plus (U)
   node-graphlibrary (U)
   node-jquery-textcomplete (U)
   node-jschardet (U)
   node-markdown-it-html5-embed (U)
   node-prop-types (U)
   node-timeago.js (U)
   node-ua-parser-js (U)
   node-vue-resource (U)
   ruby-rails-assets-jquery-nicescroll (U)

Rebecca N. Palmer <rebecca_palmer at zoho.com>
   theano (U)

Riku Voipio <riku.voipio at linaro.org>
   chromium (U)

Sakshi Sangwan <sangwansakshi10 at gmail.com>
   node-markdown-it (U)

Saúl Ibarra Corretgé <saul at ag-projects.com>
   janus (U)

Siddhesh Rane <kingsid911 at gmail.com>
   node-base64-js (U)

Utkarsh Gupta <guptautkarsh2102 at gmail.com>
   psl.js (U)

Victor Seva <vseva at debian.org>
   janus (U)

Xavier Guimard <yadd at debian.org>
   psl.js (U)

Yadd <yadd at debian.org>
   node-events (U)
   popper.js (U)
   twitter-bootstrap4 (U)

-------------- 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/20211107/735c488c/attachment.sig>


More information about the Pkg-javascript-devel mailing list