all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Mike Gerwitz <mtg@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: NPM and trusted binaries
Date: Thu, 08 Sep 2016 21:54:36 +0200	[thread overview]
Message-ID: <877famw4jn.fsf@gnu.org> (raw)
In-Reply-To: <87y432jo2b.fsf@gnu.org> (Mike Gerwitz's message of "Thu, 08 Sep 2016 13:31:24 -0400")

Mike Gerwitz writes:

> On Thu, Sep 08, 2016 at 10:45:57 +0200, Jan Nieuwenhuizen wrote:
>> If a user builds an npm package from its source repository, I assume
>> that they install the devDependencies needed for that using npm?
>
> Unfortunately that depends on the project.  Some projects use
> devDependencies only for things like linters, test runners, assertion
> systems, etc; others might need them for building.

The question I'm trying to answer is: how does `a user' who builds a
package from the repository install the needed dependencies.

I very much doubt that users install the essential dependencies all by
building those from the source repository.  How would they do that?

My working hypothesis is that it's impossible to do so for any
moderately interesting npm package.  And I would very much like someone
to show me (with working code) that instead it is possible.

>> The transitive closure of installing all devDependencies for the `q'
>> package by building them all from their source repositories, means
>> building > 6000 packages.
>
> Many of those packages are shared between others.

Not so.  The total sum of interrelated dependencies to build `q' is over
41,000.  The number of imported packages for `q' using Jelle's importer
with some small fixes by me is over 6,000 unique dependencies and over
500 that can currently not be resolved by the importer and error out.

Please show me that building `q' this way is possible and what the
benefits are (in terms of software freedom) of spending our energy by
upholding the source/binary metaphor (even if for a majority of packages
there may not be a difference).

Greetings,
Jan

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

  reply	other threads:[~2016-09-08 19:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23  9:07 GSoC NPM Jelle Licht
2016-08-25 10:24 ` Ricardo Wurmus
2016-08-27 13:12   ` Jelle Licht
2016-09-06 23:21     ` Catonano
2016-08-27 21:43 ` Ludovic Courtès
2016-09-06 20:00   ` Christopher Allan Webber
2016-09-02 14:24 ` Jan Nieuwenhuizen
2016-09-02 15:27   ` Thompson, David
2016-09-02 16:23     ` Jan Nieuwenhuizen
2016-09-02 15:33   ` Jelle Licht
2016-09-04 14:11     ` Jan Nieuwenhuizen
2016-09-06 15:48       ` Thompson, David
2016-09-06 16:50         ` NPM and trusted binaries Pjotr Prins
2016-09-07 12:25           ` Ludovic Courtès
2016-09-07 17:51             ` Jan Nieuwenhuizen
2016-09-08  7:01               ` Pjotr Prins
2016-09-08  8:29                 ` Jelle Licht
2016-09-08  2:45           ` Mike Gerwitz
2016-09-08  8:45             ` Jan Nieuwenhuizen
2016-09-08 17:31               ` Mike Gerwitz
2016-09-08 19:54                 ` Jan Nieuwenhuizen [this message]
2016-09-09  0:31                   ` Mike Gerwitz
2016-09-09  8:45                     ` Ludovic Courtès
2016-09-09  9:26                       ` Pjotr Prins

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=877famw4jn.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mtg@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.