[Pkg-javascript-devel] The (long) way to update rollup

Xavier yadd at debian.org
Tue Jul 23 23:52:28 BST 2019


Final results:

0.50.0 can build until 0.53.3
0.51.7 can build until 0.56.3
0.56.1 can build until 0.65.2
0.58.1 can build until 0.67.2
0.59.1 can build until 1.12.0
1.12.0 can build until 1.17.0

So 6 steps needed (4 breaking changes), at least 4 to update node-buble
(2 little breaking changes)

Breaking changes
(https://github.com/rollup/rollup/blob/master/CHANGELOG.md):
 - 0.57.0 (little)
 - 0.60.0 (little)
 - 0.68.0 (easy to patch)
 - 1.0.0  (big)

NB: this is a minimal build test, 2 passes are needed at least:
 - build rollup
 - copy it in node_modules
 - then rebuild and mocha test

Le 23/07/2019 à 21:03, Xavier a écrit :
> My first results:
> 
> 0.50.0 can build until 0.53.3
> 0.51.7 can build until 0.56.3
> 0.56.1 can build until 0.65.2
> 0.58.1 can build until 0.67.0 at least
> 
> This versions seems not usable (npm install + npm run build failed):
> 0.56.0, 0.56.4, 0.56.0, 0.56.4, 0.56.5, 0.57.0, 0.57.1, 0.58.0, 0.59.0,
> 0.60.0, 0.60.2, 0.60.3, 0.60.4, 0.60.5, 0.60.6, 0.60.7, 0.61.0, 0.61.2,
> 0.64.0, 0.66.0, 0.66.1, 0.66.3, 0.68.0, 1.1.0
> 
> 
> Le 23/07/2019 à 16:35, Xavier a écrit :
>> Hi all,
>>
>> following upstream package.json, the way to update rollup follows 35 steps:
>>
>>  Min      Max   Required version
>>  Now    0.51.7  => 0.48.0
>> 0.51.8  0.55.5  => 0.51.7
>> 0.55.6  0.56.5  => 0.55.3
>> 0.57.0  0.57.1  => 0.56.5
>> 0.57.2  0.58.1  => 0.57.1
>> 0.58.2  0.58.2  => 0.58.1
>> 0.59.0  0.59.1  => 0.58.2
>> 0.59.2  0.61.0  => 0.59.1
>> 0.61.1  0.61.1  => 0.60.7
>> 0.61.2  0.63.5  => 0.61.1
>> 0.64.0  0.65.1  => 0.63.5
>> 0.65.2  0.65.2  => 0.65.1
>> 0.66.0  0.66.0  => 0.65.2
>> 0.66.1  0.66.2  => 0.66.0
>> 0.66.3  0.67.4  => 0.66.2
>> 0.68.0  1.0.2   => 0.67.4
>> 1.1.0   1.1.2   => 1.0.2
>> 1.2.0   1.2.5   => 1.1.2
>> 1.3.0   1.3.1   => 1.2.4
>> 1.3.2   1.7.0   => 1.3.1
>> 1.7.1   1.8.0   => 1.7.0
>> 1.9.0   1.9.1   => 1.8.0
>> 1.9.2   1.9.3   => 1.9.1
>> 1.10.0  1.10.0  => 1.9.3
>> 1.10.1  1.10.1  => 1.10.0
>> 1.11.0  1.11.3  => 1.10.1
>> 1.12.0  1.12.0  => 1.11.3
>> 1.12.1  1.12.4  => 1.12.0
>> 1.12.5  1.14.4  => 1.12.4
>> 1.14.4  1.15.1  => 1.14.4
>> 1.15.2  1.15.5  => 1.15.1
>> 1.15.6  1.15.6  => 1.15.5
>> 1.15.7  1.16.3  => 1.15.6
>> 1.16.4  1.16.7  => 1.16.3
>> 1.17.0  1.17.0  => 1.16.7
>>
>> Breaking changes
>> (https://github.com/rollup/rollup/blob/master/CHANGELOG.md):
>>  - 0.57.0 (little)
>>  - 0.60.0 (little)
>>  - 0.68.0 (easy to patch)
>>  - 1.0.0  (big)
>>
>> The best should to have a rollup up-to-date in bulleyes buildable from
>> buster (like does gcc I think). We could perhaps embed some rollup
>> intermediate version as component and a debian/rules which detect
>> current rollup version and selects needed steps.
>>
>> But of course this requires to decrease these 35 steps. I'm going to
>> test which minimal version is really needed and publish an updated list.
>>
>> NB: we need at least 0.66 to update node-buble (12 steps !)
>>
>> Cheers,
>> Xavier
>>
> 



More information about the Pkg-javascript-devel mailing list