[Pkg-javascript-devel] pkg-js-tools news

Jonas Smedegaard jonas at jones.dk
Mon Mar 14 17:30:03 GMT 2022


Quoting Yadd (2022-03-14 18:02:11)
> On 14/03/2022 17:49, Jonas Smedegaard wrote:
> > Quoting Yadd (2022-03-14 15:45:23)
> >> Le Lundi, Mars 14, 2022 15:07 CET, Jonas Smedegaard 
> >> <jonas at jones.dk> a écrit:
> >>> Quoting Yadd (2022-03-14 08:41:44)
> >>>> pkg-js-tools 0.13.0 improve pkgjs-depends and add a new 
> >>>> dh_nodejs_autodocs tool (to automatically install components 
> >>>> documentation: @rouca, this is for you ;-))
> >>>>
> >>>> Here is the result of new "-c" option (display mismatch versions)
> >>>>
> >>>> $ pkgjs-depends -c ava
> >>>
> >>> Using option -c requires apt-file.  This should probably grow a 
> >>> Recommends: for the package, or at least a Suggests: and a notice 
> >>> in long description.
> >>>
> >>> That option -c fails unless mismatching packages are installed.
> >>
> >> It shouldn't, could you share some logs ?
> > 
> > On a clean chroot, with pkg-js-tools installed (and its 
> > recommendations - i.e. *not* a broken system):
> > 
> > root at auryn:/# pkgjs-depends -c ava
> > [...]
> > Unable to check versions, did you install node-semver ?
> > 
> > After installing node-semver:
> > 
> > # pkgjs-depends ava
> > Can't exec "npm": No such file or directory at /usr/share/perl5/Dpkg/IPC.pm line 311.
> > [...]
> > After installing npm (and it shitload of dependencies/recommendations):
> > 
> > # pkgjs-depends ava
> > # ava at 4.1.0Can't exec "apt-file": No such file or directory at /usr/share/perl5/Dpkg/IPC.pm line 311.
> > [...]
> >   - Jonas
> 
> I think the best here is to split pkg-js-tools into:
>   * dh-nodejs with minimal dependencies (just nodejs:any and
>     needed Perl libs) => provides dh-sequence-nodejs
>   * pkg-js-tools with:
>     + suggested dependencies upgraded to required/recommended
>     + a dependency to dh-nodejs
> 
> Utilities that doesn't not add any dependency will stay on dh-nodejs 
> (pkgjs-ln, pkgjs-utils,...) because they are used in some 
> debian/rules; advanced tools like pkgjs-depends, pkgjs-ls, 
> add-node-component will move to new pkg-js-tools
> 
> Then no regressions (most of package depends on dh-sequence-nodejs, 
> not pkg-js-tools and pkg-js-tools will continue to provide 
> dh-sequence-nodejs via its dependency to dh-nodejs) and a better 
> usability.
> 
> What do you think about this ?

Sounds sensible to me.

 - 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/20220314/73e80426/attachment.sig>


More information about the Pkg-javascript-devel mailing list