From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id R29VNsnfUWFABQAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 17:14:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SG97McnfUWH1TgAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 15:14:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9153B1A7BB for ; Mon, 27 Sep 2021 17:14:17 +0200 (CEST) Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUsKe-0007Wn-Li for larch@yhetil.org; Mon, 27 Sep 2021 11:14:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUsKA-0007Wf-8l for guix-devel@gnu.org; Mon, 27 Sep 2021 11:13:46 -0400 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:39581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUsK4-0005BA-Is for guix-devel@gnu.org; Mon, 27 Sep 2021 11:13:46 -0400 Received: by mail-io1-xd2e.google.com with SMTP id i62so7220497ioa.6 for ; Mon, 27 Sep 2021 08:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=nJVHl4NT+MT340yKot+yJjZlh3A8mCEpgMe2P0nIvDc=; b=gk5b39F2ZDv0S3JckNIbeSER2y7SMXPk2qDNkXEUkw1DnYDTFapqUwIPWTtEEgwNXt ArHQpq+02LH/UCxVs4UMX4zXzyPFQcyXyJXUvbIyuWP5AlAweowGcO8oXBVBkHQ0/V9+ O6INbC3zzA58dRjjS+ljPzhFOrHtt6siim5I12FXYYjofKL4U+wdpnxPwfSGK7hnOXfF FduqkidjfcBv4ZyR/HeUF5y678V6L4JjTlbG5zZGeimPfzi16Lcaq432axGlHVT1o8n+ Z4ah8Lh9TF7VMyEqqqkrEDU+3oGlQgEWRfmaTjGvobuhOSmhm7+I5NrQW9pjAO8CuFL4 VVCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=nJVHl4NT+MT340yKot+yJjZlh3A8mCEpgMe2P0nIvDc=; b=yGzM7lSsj46CeZ19TOOCAW6w1B4pQT5lGRFMmWfrRYxpXoGZuD3tGMEOWinnsP/Fb9 u3xw2uLIk62HSRaHzGvsW9MCqG6YFf0MjyDyA0P4ajsD2+mJNfVanitDIZIdqz2M22dm RwBEWEOovjjBoOlnC5f94iEE3h2m8h7I4DWuI34wVlzvNqWRdLLLO9tcf5kiFvY3uSX/ lmp82UCW3G/uDYuGBjbSv2Bby7AoN54sUKpkjSn1op8B2pa89f+szdEUpMH9Ra+1Z60H EAyOcuDlQKACU4UGFYqds35inPFYVeVVe5VBRbROiAyhcez7xRzXg7C6nQ9vAb91H9GE PM9A== X-Gm-Message-State: AOAM530Rq+pssfbc1GkNN3mpU2N2SWrznwa/YBUU0UK5mcxyiYfTn57K CCIVBjgCXR+tXmMPCZFjczWjimbSSvw43Q== X-Google-Smtp-Source: ABdhPJz8EspDGFuDTEIQ5SpTkCmjHF+owepsMPLaLWd3+5cd3mjUVEWDb5aR2p6qq9SahWeg4+KDWw== X-Received: by 2002:a05:6638:142:: with SMTP id y2mr374881jao.77.1632755618331; Mon, 27 Sep 2021 08:13:38 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id m1sm5132783ilc.75.2021.09.27.08.13.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:13:37 -0700 (PDT) From: Katherine Cox-Buday To: pinoaffe Subject: Re: Merging the =?utf-8?B?4oCcYmluYXJ54oCd?= NPM importer? References: <87mto8zpll.fsf@airmail.cc> <87zgs3829p.fsf@gnu.org> <87tuiaq411.fsf@airmail.cc> <864ka7qwz1.fsf@fsfe.org> <87bl4fdnr2.fsf@airmail.cc> <4eb892ad-9c28-290b-1773-e8e3725faac3@philipmcgrath.com> <87mtny1jmc.fsf@airmail.cc> Date: Mon, 27 Sep 2021 10:13:36 -0500 In-Reply-To: <87mtny1jmc.fsf@airmail.cc> (pinoaffe@airmail.cc's message of "Mon, 27 Sep 2021 10:57:15 +0200") Message-ID: <87o88eqcf3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::d2e; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632755657; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nJVHl4NT+MT340yKot+yJjZlh3A8mCEpgMe2P0nIvDc=; b=XsGX5APcg8zlq6H18usVfWbcKUtJR4RBYL5yHxJ9Tf5R6weF5Jz2HJcx67woNmgcBnEwUD NRfBhMbUkMlw6GyrYm0YYSVbTjpGDdf2LsXvOUudQGJ4+mjIZK2eLJGc4NggVTgmd0m1Ho qKEuECIE4dHig2xZWhHvZPLWz9imwJHaqhRQhOlWAsWYhjqUJh/s4GziexS+Hv5S2DYcV8 5tsnrnJ2AwerqIx+QT6uwBH/Tqz18Idi2siqrRLX09aG0ueMQ/ryStWIZ6Nta21RT32IsS 2gm0S4FduTHcCJo/txRlFOLwD75iYUIUCODH4otjqHW7n5FuVWkZTngm6OezUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632755657; a=rsa-sha256; cv=none; b=BNQIK6L8gG0e1EytUNr751Hgx2MfOgXU2YdKk/Z5P6MAjijZXWf51/tqgclx0AHXGpREYB wbaELqB5PitvkvY5rANm2FP35RKHbsWm8cFNTBw/QPzkBs2SIPzN/GH35y5GSC5hOTpWre c5naXDTx6ghWu2eRj+gmxUKSA13JSRwkTrKjRT9JGd1Zi7zoW0Mdsp5SBpAsGROl2lApXm EHHPEzo08m+Zx1etdhg2q9w2VrMYtNspE6VXsRftXmsps09EjOJHbq2FE5owO5caQ5cTBm lJNXt5mfoYWiOYd5pscSxmJbNO68XFdtP8eehmnFvT8I4INcO7z3LdQFBmez2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gk5b39F2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: 1.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=gk5b39F2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 9153B1A7BB X-Spam-Score: 1.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: gefz20dn5W5Q pinoaffe writes: > Hi, > > Philip McGrath writes: >> This did seem to happen with a large package I imported, but the >> multiple versions coexisting seemed to work ok. > Oh okay, it didn't really seem to work in my tree - yet another argument > for merging it, in order to unify it :) +1, if this works. These packages aren't meant to end up in Guix anyway, so if there's a lot of duplicates, it only harms the local store, or a channel. Maybe someday Guix can untangle the JS ecosystem knot, but in the meantime this unblocks folks. > >> Ultimately, Guix will somehow need to deal with the messy versioning >> of the NPM world, and it would be nice to keep the duplication to a >> minimum, but that seems like it might be a challenge. > I think it would be great if at some point we could somehow encode > version constraints for dependencies in guix packages, as even if one > were to properly package a bunch of npm packages, figuring out whether > one can safely upgrade one of them without breaking any of the > dependents would be quite a hassle (or would need to involve running a > lot of builds to see whether they fail). This sounds neat. And maybe pre-defined rules, e.g. semantic versioning? Good luck! -- Katherine