Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
On 2022-03-30 07:50, Yadd wrote: > /usr/bin/* links were wrong. I fixed all these issues Thanks a lot! Best, Andrius
Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
On 29/03/2022 18:17, Yadd wrote: On 29/03/2022 17:44, Yadd wrote: Hi Andrius, you fix is enough for commander 8, I'm currently writing commander 9 patch Fixed and pushed. However package looks unusable because all bin/* commands are not in $PATH. You could either: * install all commands in /usr/bin * or change path in /usr/bin/wd and /usr/bin/wb /usr/bin/* links were wrong. I fixed all these issues
Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
Hi Yadd, On 2022-03-29 19:17, Yadd wrote: > On 29/03/2022 17:44, Yadd wrote: >> Hi Andrius, >> >> you fix is enough for commander 8, I'm currently writing commander 9 >> patch > > Fixed and pushed. However package looks unusable because all bin/* > commands are not in $PATH. You could either: > * install all commands in /usr/bin > * or change path in /usr/bin/wd and /usr/bin/wb Thanks a lot for taking care of this! I will check why the executables do not end in /usr/bin/. Once I am done, I will upload. Thanks once more, Andrius
Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
On 29/03/2022 17:44, Yadd wrote: Hi Andrius, you fix is enough for commander 8, I'm currently writing commander 9 patch Fixed and pushed. However package looks unusable because all bin/* commands are not in $PATH. You could either: * install all commands in /usr/bin * or change path in /usr/bin/wd and /usr/bin/wb Cheers, Yadd
Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
Hi, On 2022-03-18 16:13, Yadd wrote: > Maybe this can help: > https://salsa.debian.org/js-team/node-terser/-/blob/debian/latest/debian/patches/1001_commander.patch Thanks for pointer. I think I managed to go this far myself by patching: -const program = require('commander') +const program = require('commander').storeOptionsAsProperties(true) However, commander seems to handle positional CLI arguments differently now, and no longer outputs help if any of them are missing. Best, Andrius
Bug#1007915: [Pkg-javascript-devel] Bug#1007915: node-wikibase-cli: incompatible with node-commander >= 8
On 18/03/2022 14:51, Andrius Merkys wrote: Source: node-wikibase-cli Version: 15.15.4 Severity: serious Tags: help While node-wikibase-cli was in NEW, node-commander was updated from 6.2.1 to 9.0.0. node-wikibase-cli is compatible with node-commander 6.x only and simple patching does not seem to help. I will try patching it a bit more, but I would appreciate any help from someone more accustomed to node-commander API. Andrius Maybe this can help: https://salsa.debian.org/js-team/node-terser/-/blob/debian/latest/debian/patches/1001_commander.patch