[Pkg-javascript-devel] The (long) way to update rollup
Jonas Smedegaard
jonas at jones.dk
Fri Oct 11 19:37:22 BST 2019
Quoting Pirate Praveen (2019-10-11 19:35:31)
>
>
> On Fri, Oct 11, 2019 at 17:36, Pirate Praveen
> <praveen at onenetbeyond.org> wrote:
> >
> >
> > On Wed, Oct 9, 2019 at 20:33, Pirate Praveen
> > <praveen at onenetbeyond.org> wrote:
> >> Hi team,
> >>
> >> rollup 0.56 is in unstable/testing and 0.68.2 in experimental. Need
> >> help with fixing the packages that fail with new version. List here
> >> <https://wiki.debian.org/Javascript/Nodejs/Transitions/Rollup1>
> >>
> >
> > rollup 0.68.2 is in unstable and 1.0.2 in experimental. Now we have
> > to wait for node-acorn transition to upload this to unstable. Please
> > test your packages if they are still working well. I randomly tested
> > some packages. node-uri-js, node-d3-color, node-d3-zoom all worked
> > fine. Packages that we using buble failed because node-buble needs to
> > be updated for working with acorn 6 api.
> >
>
> node-buble is a tricky case. I hope I got it correct. I uploaded
> 0.19.8-1 to experimental with tests disabled. Because it still needs
> acorn < 6/rollup < 1 to build it cannot be tested in the same
> environment (it needs acorn 6/rollup 1 to run).
>
> We can enable tests again when rollup 1/acorn 6 enters unstable.
Disabling tests temporarily is risky.
I recommend to instead relax testsuite when targeting experimental,
which both a) need no special action when switching back to stable
builds and b) provides visible build logs usable e.g. to share with
upstream developers.
Here's an example (replace the actual test command as needed):
include /usr/share/dpkg/pkg-info.mk
# don't fail on experimental builds
DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
[...]
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
NODE_PATH=lib node test/mocha.js \
$(if $(DEB_SUITE_EXP),|| true)
endif
- 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 --------------
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/20191011/b87ef78a/attachment.sig>
More information about the Pkg-javascript-devel
mailing list