[Pkg-javascript-devel] Bug#961111: Bug#961111: Bug#961111: add an option to specify build-only components in watch

Xavier yadd at debian.org
Wed May 20 11:33:18 BST 2020



Le 20 mai 2020 12:24:05 GMT+02:00, Pirate Praveen <praveen at onenetbeyond.org> a écrit :
>
>
>On Wed, May 20, 2020 at 11:03 am, Xavier <yadd at debian.org> wrote:
>> Le 20/05/2020 à 10:53, Pirate Praveen a écrit :
>>>  Package: pkg-js-tools
>>>  Version: 0.9.36
>>>  Severity: wishlist
>>> 
>>>  Currently we use debian/build_modules to add build only modules, but
>>>  that is manual and we cannot use uscan like other components. Can 
>>> we add
>>>  an option to watch file to specify a component is build-only and 
>>> need
>>>  not be installed in the binary package?
>>> 
>>>  For example katex-fonts in node-katex, I'd like to use uscan to 
>>> download
>>>  the compnent, but I don't want it installed in node_modules in the 
>>> final
>>>  package. May be an option to specify which directory it should be
>>>  symlinked to, for example, in this case, I want it symlinked to
>>>  submodules and not node_modules (node_modules can be the default if
>>>  nothing is specified).
>> 
>> Hi,
>> 
>> you can do it: if you list components in debian/nodejs/submodules, 
>> only
>> listed components will be installed
>
>Thanks, that works. Would it be a lot of work to do it in watch as a 
>new option? Just checking if it can be done at single place easily.

Modifying debian/watch requires a pkg-js-tools-specific change in uscan, not easy


-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.



More information about the Pkg-javascript-devel mailing list