Re: [yocto] [npm] duplicate code

2019-10-08 Thread Stefan Herbrechtsmeier
Hi Josef, Am 08.10.19 um 07:12 schrieb Josef Holzmayr: On Mon, Oct 07, 2019 at 09:33:46PM +0200, Stefan Herbrechtsmeier wrote: Hi Jean-Marie, Am 07.10.19 um 14:16 schrieb Jean-marie Lemetayer: I thought about your idea of using Yocto to manage NPM package dependencies and I ran into an issue

Re: [yocto] [npm] duplicate code

2019-10-07 Thread Josef Holzmayr
On Mon, Oct 07, 2019 at 09:33:46PM +0200, Stefan Herbrechtsmeier wrote: > Hi Jean-Marie, > > Am 07.10.19 um 14:16 schrieb Jean-marie Lemetayer: > > > I thought about your idea of using Yocto to manage NPM package > > > dependencies and I ran into an issue. NPM projects can have multiple > > > de

Re: [yocto] [npm] duplicate code

2019-10-07 Thread Stefan Herbrechtsmeier
Hi Jean-Marie, Am 07.10.19 um 14:16 schrieb Jean-marie Lemetayer: > I thought about your idea of using Yocto to manage NPM package dependencies and I ran into an issue. NPM projects can have multiple dependencies on a single package, and sometimes with multiple versions. NPM will manage this b

Re: [yocto] [npm] duplicate code

2019-10-07 Thread Jean-marie Lemetayer
- > De: "Stefan Herbrechtsmeier" > À: "Jean-marie Lemetayer" > Cc: "Yocto-mailing-list" , "Savoir-faire Linux > Rennes" > Envoyé: Vendredi 4 Octobre 2019 16:55:47 > Objet: Re: [yocto] [npm] duplicate code > Hi Jean-Marie, > &

Re: [yocto] [npm] duplicate code

2019-10-04 Thread Stefan Herbrechtsmeier
Hi Jean-Marie, Am 04.10.19 um 14:37 schrieb Jean-marie Lemetayer: > I have recently worked on a yocto project using npm and I have seen some issues. I have solved a few but only for bitbake: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eecba41822e86b69ebdb9cbc8fbfd512ad9a47d7 http

Re: [yocto] [npm] duplicate code

2019-10-04 Thread Jean-marie Lemetayer
public fork would be nice. I would gladly help you / test your work / add my fixes if needed. Best regards, Jean-Marie Lemetayer - Mail original - De: "Stefan Herbrechtsmeier" À: "Yocto-mailing-list" Envoyé: Vendredi 4 Octobre 2019 08:53:10 Objet: Re: [yocto] [npm] dup

Re: [yocto] [npm] duplicate code

2019-10-04 Thread Stefan Herbrechtsmeier
Hi Jean-Marie, what work do you plan to do on npm and recipetool? I have start to rework the complete npm integration to synchronize it with other languages like python. I replace the bitbake npm fetch with the wget fetcher and download the npm tgz files direct. The idea is to handle every pa

[yocto] [npm] duplicate code

2019-10-03 Thread Jean-marie Lemetayer
Hi all, I am planning to do some work on npm and recipetool. I have seen that there is some duplicate code between bitbake/lib/bb/fetch2/npm.py and scripts/lib/recipetool/create_npm.py but there is some inconsistencies. Here is an example, the _parse_view() function which I patched recently ha