From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UPLXCPoqlF8mcgAA0tVLHw (envelope-from ) for ; Sat, 24 Oct 2020 13:24:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QHS/BPoqlF9PQQAAB5/wlQ (envelope-from ) for ; Sat, 24 Oct 2020 13:24:10 +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 9D7849403C6 for ; Sat, 24 Oct 2020 13:24:09 +0000 (UTC) Received: from localhost ([::1]:34936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWJWi-0006X4-AZ for larch@yhetil.org; Sat, 24 Oct 2020 09:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWJWc-0006Wk-9g for guix-patches@gnu.org; Sat, 24 Oct 2020 09:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWJWc-0005nF-0e for guix-patches@gnu.org; Sat, 24 Oct 2020 09:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWJWb-0007EQ-U2 for guix-patches@gnu.org; Sat, 24 Oct 2020 09:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41219] [PATCH 2/2] guix: Enforce package.json "files" directive. Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Oct 2020 13:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41219 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: paul , 41219@debbugs.gnu.org Received: via spool by 41219-submit@debbugs.gnu.org id=B41219.160354581827760 (code B ref 41219); Sat, 24 Oct 2020 13:24:01 +0000 Received: (at 41219) by debbugs.gnu.org; 24 Oct 2020 13:23:38 +0000 Received: from localhost ([127.0.0.1]:32957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWJWE-0007Df-ET for submit@debbugs.gnu.org; Sat, 24 Oct 2020 09:23:38 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:55916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWJWA-0007DV-GA for 41219@debbugs.gnu.org; Sat, 24 Oct 2020 09:23:36 -0400 From: Jelle Licht In-Reply-To: References: <20200512213131.28873-1-goodoldpaul@autistici.org> <20200512213131.28873-2-goodoldpaul@autistici.org> <875z88jkg9.fsf@jlicht.xyz> <7bea951c-c8c8-cca9-4bfe-8d8f5c83e2ab@autistici.org> <87a6xhel9s.fsf@jlicht.xyz> Date: Sat, 24 Oct 2020 15:23:31 +0200 Message-ID: <86zh4bwyek.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -6.0 (------) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: 0qIOA4+sbwa2 Hey Giacomo, paul writes: > Hi Jelle, > > I messed up again :( this new patch actually checks the right path for > the existence of the "main" file. I hope I didn't mess up anything else. I've been working on an alternative implementation to achieve what this patch is trying to do; See [1] for what I tried. Do you think that addresses your use-case as well? If so, perhaps we can still have a look at the glob code you contributed, as it seems useful outside of an npm context. Thanks! - Jelle [1]: https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00403.html