Differences between revisions 98 and 99
Revision 98 as of 2022-02-23 12:09:41
Size: 7286
Editor: ?Ayoyimika Ajibade
Comment:
Revision 99 as of 2022-02-25 20:30:38
Size: 7306
Editor: ?Caleb Adepitan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 103: Line 103:
  * node-chai (''formerly buggy'', '''Caleb''')
Line 121: Line 122:
  * node-chai ('''Caleb''')

Resources

Contribution Tasks

Update the following packages (add your name next to the package before you start to avoid more than one person updating at same time)

  • node-isurl 4.0.1 to 4.0.2 (Caleb O.A.)

  • node-dompurify 2.3.0 to 2.3.3 (Caleb O.A.)

  • node-yargs 15.3.1 -> 17.2.1 (Ayoyimika)

  • node-jszip 3.5.0 to 3.7.1 (Ayoyimika)

  • node-lunr 2.3.8 to 2.3.9 (Caleb O.A.)

Project Tasks

We need to test autopkgtest failure and rebuild failure for both nodejs and webpack.

autopkgtests are already known

  1. https://release.debian.org/britney/pseudo-excuses-experimental.html#nodejs

  2. https://release.debian.org/britney/pseudo-excuses-experimental.html#node-webpack

For rebuilds, use Packaging/ruby-team-meta-build

Steps:

  1. Find list of packages to fix
  2. See if new upstream versions are available
  3. See if new upstream version works
  4. Report bugs in debian
  5. Forward bugs upstream
  6. Fix packages and forward patches

Working with chroot

We basically have two separate chroots

  1. debian-sid
  2. unstable-amd64-sbuild

The first one (debian-sid) is always for local development and is an unclean chroot having side-effects. The other one (unstable-amd64-sbuild) is for clean builds as it is a clean chroot.

If we manually installed anything in the clean chroot it becomes unclean also.

Building Webpack 5

There are two options to consider when building Webpack 5.

  1. We either go through the manual work of modifying the debian/control file of individual reverse dependencies of Webpack 5 by adding webpack >= 5~ to make it test with Webpack 5 or,

  2. we make an exception by just building Webpack in an unclean chroot which would mean installing Webpack 5 in our clean chroot, thereby making it unclean. This will make Webpack 5 available to all reverse dependencies and will be used for their builds.

The first option involves a lot of manual work, modifying the debian/control file of all reverse dependencies. For example testing node-axios with Webpack 5 would mean adding webpack >= 5~ to its debian/control file. To make this easier we choose the second option, which is an exception that permits us to build in an unclean chroot just for Webpack 5. If chroot already has Webpack 5 then every package built using that chroot will use the chroot's installation of Webpack rather than installing Webpack 5 for each reverse dependencies, they all just use the global installation in the chroot.

Usually, sbuild will install only packages mentioned in build depends of debian/control file of each package in a clean chroot. But since we can't do the manual work of pointing the version of webpack in build depends of each package to 5. We install Webpack 5 in the chroot ourselves.

So we should discard this chroot and recreate a clean chroot after we test webpack 5.


Rebuild Reverse Dependencies for webpack5 for javascript(not tested)

  • node-fuzzaldrin-plus (requires webpack-cli)

Rebuild Reverse Dependencies for webpack5 for other languages(not tested)

  • glewlwyd
  • ipywidgets
  • jekyll
  • jupyter-notebook
  • phpmyadmin
  • q2-demux
  • rails
  • ruby-task-list
  • shaarli

autopkgtest Dependencies for webpack5 for javascript(not tested)

  • acorn
  • node-babel-loader
  • node-style-loader
  • node-compression-webpack-plugin
  • node-extract-text-webpack-plugin
  • node-grunt-webpack
  • node-mini-css-extract-plugin
  • node-mkdirp
  • node-raw-loader
  • node-schema-utils
  • node-style-loader
  • node-tapable
  • node-uglifyjs-webpack-plugin
  • node-worker-loader

autopkgtest Dependencies for webpack5 for other language(not tested)

  • gitlab
  • ruby-webpacker
  • ruby-webpack-rails

Ready in unstable (confirmed by passing Rebuild)

  • leaflet-image (formerly buggy, Caleb)

  • lumino (formerly buggy, Caleb)

  • node-chai (formerly buggy, Caleb)

  • node-compression-webpack-plugin (Caleb)

  • node-esprima (Caleb)

  • node-extract-text-webpack-plugin (Caleb)

  • node-jest (Caleb)

  • node-babel7 (Ayoyimika)

  • node-cache-loader (Ayoyimika)

  • node-raw-loader (Ayoyimika)

  • node-schema-utils (Ayoyimika)

  • node-uglifyjs-webpack-plugin (Ayoyimika)

  • node-url-loader (Ayoyimika)

  • node-worker-loader (Ayoyimika)

  • node-yarnpkg (Ayoyimika)

Failing webpack5 dependency(in testing)


Bug report filed in debian

  • node-babel-loader (Caleb)

  • node-clipboard (Caleb)

  • node-es6-promise (Caleb)

  • node-grunt-webpack (Caleb)

  • node-handlebars (Caleb)

  • node-istanbul (Caleb)

  • node-jschardet (Caleb)

  • node-jsonld (Caleb)

  • node-js-beautify (Caleb)

  • node-katex (Caleb)

  • node-lodash (Caleb)

  • node-matrix-js-sdk (Caleb)

  • node-merge (Caleb)

  • pdf.js (Ayoyimika)

  • rainloop (Ayoyimika)

Support for webpack5 requested from upstream

  • no package yet

New Upstream version support webpack5 **Updated**

  • node-mini-css-extract-plugin (Ayoyimika)

New Upstream version does not support webpack5 **Updated**

New Upstream version support webpack5 **Updating**

  • node-mermaid (Ayoyimika)

  • node-mocha (Ayoyimika)

Upstream does not support webpack 5 **Updating**

New Upstream version doesn't webpack at all

  • node-source-map (Ayoyimika)