#958867 add an option to add-node-component to embed build only modules in debian/build_modules

#958867#5
Date:
2020-04-26 05:20:58 UTC
From:
To:
It'd be a nice addition to automate this.
#958867#10
Date:
2020-04-30 13:33:35 UTC
From:
To:
Le 26/04/2020 à 07:20, Pirate Praveen a écrit :

Hi,

could you describe more? Download and install in debian/build_modules ?
From npm registry ? form source ?

#958867#15
Date:
2020-04-30 14:09:45 UTC
From:
To:
Same logic as adding components, try source first and fallback to
npmregistry if that fails. Give options to force npmregistry.

Currently it is,

1. Check version in package.json/package-lock.json/yarn.lock
2a. Go to npmjs.com -> github/source -> tags page -> download tar.gz OR
2b. npm view foo@x.y.z dist.tarball -> wget
3. Extract tar -> copy to debian/build_modules
4. Update debian/copyright

#958867#20
Date:
2020-12-17 18:05:05 UTC
From:
To:
Design proposition:

  $ add-node-component --test foo
  $ add-node-component --build bar

will download compatible versions and push then in debian dir:

 -> debian/build_modules/bar
 -> debian/tests/test_module/foo