Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: npm thoughts
Date: Fri, 3 Mar 2017 12:57:58 +0200	[thread overview]
Message-ID: <90be46df-caaa-edc2-aa77-cf3b3a190d24@linux.intel.com> (raw)
In-Reply-To: <b7a65c18-be64-8689-131d-c06b0aeb3b2a@rsi-elektrotechnik.de>

On 03/03/2017 12:45 PM, Josef Holzmayr wrote:
> - Given the current situation, the best practise seems to be to have
> package.json take care of the needed modules, and have it handle that.
> Means in my opinion that there should be as little npm-based stuff
> installed as possible. Exactly one, in the optimal case. Downside: this
> means a second dependency tracking is layered under bitbake. No good
> that sounds....

I've been looking into this for the past few days. Unfortunately, it 
looks like we do need a generic, extensible mechanism for dealing with 
the likes of npm, cargo (i.e. rust), and 'go get' and similar things.

I've just set up a minimal MEAN project on my machine, and npm pulled in 
1087 dependencies just so it could run. This is not 'wrong', it's simply 
where the world of software development is heading. It's just so much 
nicer to get a project started and running this way, than the old way of 
writing Makefiles and installing development dependencies by hand into 
the system. But it does create a headache for distributions, and those 
who need reproducible builds.

I'll write down my ideas (and maybe even a design proposal!) in a few 
days about this.

Alex



      reply	other threads:[~2017-03-03 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28  4:50 npm thoughts Trevor Woerner
2017-02-28 16:56 ` Trevor Woerner
2017-02-28 18:00 ` Trevor Woerner
2017-03-03 10:26   ` Josef Holzmayr
2017-03-06  7:24   ` Anders Darander
2017-02-28 18:19 ` Trevor Woerner
2017-03-03 10:45 ` Josef Holzmayr
2017-03-03 10:57   ` Alexander Kanavin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=90be46df-caaa-edc2-aa77-cf3b3a190d24@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox