From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +H2ZOwBxnmPlZwEAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 02:46:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wJ23OgBxnmPTlwAAG6o9tA (envelope-from ) for ; Sun, 18 Dec 2022 02:46:40 +0100 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 A0E402B041 for ; Sun, 18 Dec 2022 02:46:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6ikh-0004V5-Gc; Sat, 17 Dec 2022 20:46:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6iAp-0004bd-Eb for guix-patches@gnu.org; Sat, 17 Dec 2022 20:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6iAp-0002kT-0R for guix-patches@gnu.org; Sat, 17 Dec 2022 20:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6iAo-0006dl-E3 for guix-patches@gnu.org; Sat, 17 Dec 2022 20:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60134] [PATCH 3/3] patman: locate README.rst via importlib Resent-From: Simon Glass Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Dec 2022 01:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch notabug To: Maxim Cournoyer Cc: u-boot@lists.denx.de, maxim.cournoyer@savoirfairelinux.com, 60134@debbugs.gnu.org X-Debbugs-Original-Cc: u-boot@lists.denx.de, Maxim Cournoyer , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167132571925506 (code B ref -1); Sun, 18 Dec 2022 01:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2022 01:08:39 +0000 Received: from localhost ([127.0.0.1]:59015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6iAQ-0006dI-AV for submit@debbugs.gnu.org; Sat, 17 Dec 2022 20:08:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:51904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6fbv-0002Ut-Gj for submit@debbugs.gnu.org; Sat, 17 Dec 2022 17:24:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6fbv-0004lA-BV for guix-patches@gnu.org; Sat, 17 Dec 2022 17:24:51 -0500 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6fbs-0000xG-HM for guix-patches@gnu.org; Sat, 17 Dec 2022 17:24:50 -0500 Received: by mail-ej1-x633.google.com with SMTP id u19so13763259ejm.8 for ; Sat, 17 Dec 2022 14:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IetzagU/cCmDQ8q+1RmvPQSbO3MHx82zRG8Ke3FOAlI=; b=UIyq+CtTJbb/NOTKTasaECMBOcumYLuVNVbJ5xnlNfsZq11qVfhkKl9nQJ2J8mbD7F ZH/RW+sHvAnWD1aVbTWbYYnpGIqEHsSYbR3NtRLoHyj7tA2UCpTzqcvZP8v+j4yb3IFb 14N60nBDDmR2G7b6vSoP6iOTFsJ6Kq2/vFdts= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IetzagU/cCmDQ8q+1RmvPQSbO3MHx82zRG8Ke3FOAlI=; b=6DsaJVoWUP40posuVKY19f1DyX1HWLk1x8R/B0JhFIDF+OEJxKa0B3lP/Svz+8IGr+ Xz8B0c395PFpKXd+JBTWvcOAJbYKWYG9/7cDDNLKyOsLDQDZa+2mvC7I1xPdrHficGHL mBnwlXmrSbtqa1WdfoDLSI+hPJuxlls/nfXFdSAzsM9jA1QPdl9NLKmw305fjQi74gPO ylC8rsl5QRgCduBF6hc1GC0WnAH+i+TKM1IPCkAY2vUBiHA6QORtV/jbsTvVry0WCR68 PZ+DGziqObtJezR42SqtfKReEgucM/0ECq3DwJb1Ba8xfN+7q0zU1KzvVrYBTMLksUVF WT4g== X-Gm-Message-State: ANoB5pmJMzBVeFR6aZvLtg9CJ41QdZfd2ouzuUAQgj0jmhrI7YXlHAkd dNrQQzFI9SXacv9fwu92V6LEmoAzoJJCvBGqPabIIDxCYSGpcg== X-Google-Smtp-Source: AA0mqf4U/Lj7LHdaT4cR8YT+M0VM9+xZRIWOXyLrIiLXl3whGKUXtpI1xUwxzc2Qian793Ra0EbiI7f4WrcOtU7VTVQ= X-Received: by 2002:a17:906:ce47:b0:7c1:700:542a with SMTP id se7-20020a170906ce4700b007c10700542amr11984576ejb.671.1671315886952; Sat, 17 Dec 2022 14:24:46 -0800 (PST) MIME-Version: 1.0 References: <20221217014530.27772-1-maxim.cournoyer@savoirfairelinux.com> <20221217014530.27772-3-maxim.cournoyer@savoirfairelinux.com> In-Reply-To: <20221217014530.27772-3-maxim.cournoyer@savoirfairelinux.com> From: Simon Glass Date: Sat, 17 Dec 2022 15:24:34 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=sjg@google.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -92 X-Spam_score: -9.3 X-Spam_bar: --------- X-Spam_report: (-9.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 17 Dec 2022 20:08:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 17 Dec 2022 20:46:05 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=chromium.org header.s=google header.b=UIyq+CtT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=chromium.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671328000; a=rsa-sha256; cv=none; b=S2MczNpjQmdxQsa3pt2koxravA6L294y5yCqAaRYktZFRqp89XwBbXfaibUPGvcS+qYxAZ paurdX5W+fhMvnZk+UMgNA7rtyoSPHLqa9hIvSy3RKCb/1UcZO6h8vg4L9J+j6cN62D0r1 iIX7za0syGSx7JEeTaXGwHATtYRv90ePzfXAh5I1OmbR6aM3fpNqe7/82aWLXr9Hb69ZgR xhiUmfgmv6o1tM1bV6BypZEM1BeRh6BhVlyrX+Lvabl22saQgKQWM4fgocLUlcTolMgrHH 1KbWDYePkgvpxuIjAv8eMqL/+4IE38fRsq9iU7AIWzmMoOEZ6WOs96a1ynckxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671328000; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=IetzagU/cCmDQ8q+1RmvPQSbO3MHx82zRG8Ke3FOAlI=; b=pU0vYqmKWGm1WNeQdFZwBRT46JqOhL2M24QWTrviCEn1keyYUAvDLsjzTA8Uq80dVLalgc EwhklwAKjWma/hOoFjTDpSwLalyxJGTT/d3dEu8GgNREyuLS0coLmFKnGGmYBaYCDybTuX cvC2TEqXqIzTCytDrtovOn4ZN4xusmyornP1RaQmLThq234OmexUur3YgqQ787kkaILjvR 8iTFIShPQdOayg7SrF8LE4y1sox901KjGa5IfMEKW4tUfuHu6ubBilglXy6esUnXfmKoma I6pUPI/UpVx1RgC5qZObACcgddIKWlwPnx1dn73xO4Rce0UxFl9Ea0sOZeXjPQ== X-Migadu-Spam: Yes X-Spam: Yes X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=chromium.org header.s=google header.b=UIyq+CtT; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=chromium.org (policy=none) X-Migadu-Spam-Score: 8.52 X-Spam-Score: 8.52 X-Migadu-Queue-Id: A0E402B041 X-TUID: 6Ck3d1DuAgt2 On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > Rationale: this is more robust than assumptions about the file > hierarchy layout of the installation of patman, for example on non > file-hierarchy standard (FHS) systems such as Guix System or Nix OS. > > Signed-off-by: Maxim Cournoyer > --- > > tools/patman/main.py | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > Reviewed-by: Simon Glass