From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Z9ALNQ0reGLO8AAAbAwnHQ (envelope-from ) for ; Sun, 08 May 2022 22:41:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eG7WMw0reGJ+DAAA9RJhRA (envelope-from ) for ; Sun, 08 May 2022 22:41:49 +0200 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 6E6512ECCC for ; Sun, 8 May 2022 22:41:49 +0200 (CEST) Received: from localhost ([::1]:60960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnniu-0005Zl-7n for larch@yhetil.org; Sun, 08 May 2022 16:41:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnnew-0006yH-HM for guix-devel@gnu.org; Sun, 08 May 2022 16:37:42 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:47013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnneu-0004E0-El; Sun, 08 May 2022 16:37:41 -0400 Received: by mail-wr1-x42d.google.com with SMTP id i5so16875691wrc.13; Sun, 08 May 2022 13:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=fv1xAmSFwxIDPOgeU7RB4MJjXd+Fl2Wlx2Y1LKPb7KA=; b=Ete+q1/FPsSNBOQ8SgN7cvek62ts5bZ1HfBSz/MQJIJsmgTlSbYwf79axdtPKqCydF r+NGeeeVpXl+M5El9NBkYi3W5Ii6vKG+kuUidJ8eeMEjaz9R1QcUINvPv67hoD+n1WtL XOis2Ba7slhHPdQThTRlY/da/QuotVxtatJbLHvViTp6lEnMBTYwAZ23QEIHWPbQB9S/ U63pOCKsoq464EbI9vFLOBMrZwE4KlmV5yaUKAFpPavtApHKctGZkoi3Ah+TBLz5DzJy 52W1iVYyT0ywR2gBPY3+pMuNfH5CWbuAiaYJaVunSRbEEkV5U5k5CUs9+vZfg54eOuow ANxg== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=fv1xAmSFwxIDPOgeU7RB4MJjXd+Fl2Wlx2Y1LKPb7KA=; b=IAf0pXu6pQ7gVCLV7tF6cnHby4TP8nlGkcE+rzcmW9g9YZKb/W2hiMLNlj3eKl24EF aUd8Ue0QMC+XuOi4sU8PQEnDFaT6zP3FCMLS0pnIWglNLMeSCaIZRBQQFv4zWYbHRnW0 IWZ/p5KOtWDuLsvvAQpbbERTZnoei59F+AJT/TYYIBqLYn1h4Sev+uESTpAFb12Amuxq hwS0tB0bzS+rgE7EicNueTm0dLok0cajrlCnmjF4WfsvRulVHkp0oTtjGQeMXxANgAs/ 2XcMjbdOUxGbU0CpKbIkMVQwA0cafjwFRndCuA5Vfhz/SzUSmvCMXDwZtfmgFhtnKRnq o/hQ== X-Gm-Message-State: AOAM532ynDnM0n/k9B5r0jNThAjecTnqR6sR8VLvket3tVnt8Timn6v6 yQIYIdmnMGe0Zgu4/p9Zq3/7CurVNpY= X-Google-Smtp-Source: ABdhPJxz96omHhiC6vFtPM58j1m+hth6Z+Johvdw246YNXDtdj7MJO9pgvMseWbCITa58kO3MTSUlw== X-Received: by 2002:a05:6000:2cd:b0:20c:5ff6:1816 with SMTP id o13-20020a05600002cd00b0020c5ff61816mr10789128wry.336.1652042257978; Sun, 08 May 2022 13:37:37 -0700 (PDT) Received: from lili (2a01cb04061b8800e2568b9190e03e61.ipv6.abo.wanadoo.fr. [2a01:cb04:61b:8800:e256:8b91:90e0:3e61]) by smtp.gmail.com with ESMTPSA id e2-20020adfe7c2000000b0020c5253d914sm9205387wrn.96.2022.05.08.13.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 13:37:37 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Arun Isaac Cc: Guix Devel , Kyle Meyer , Ricardo Wurmus Subject: Re: Mumi, public-inbox and tools In-Reply-To: <87a6btymzz.fsf@gnu.org> References: <87bkwf956h.fsf@gmail.com> <87v8umcxpq.fsf@systemreboot.net> <87a6btymzz.fsf@gnu.org> Date: Sun, 08 May 2022 22:29:29 +0200 Message-ID: <86ilqf6a52.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42d.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652042509; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fv1xAmSFwxIDPOgeU7RB4MJjXd+Fl2Wlx2Y1LKPb7KA=; b=eZnyl+FmeqwsyGsXZJr5g5viamvly9O6FCfR76Sab2v0vyJbnhbXVWw4DG2txiGCYIHsYO 4DFjwmsgd9oP1Ji9deuHBJ5sxK9Eqfs49hInWnsYcMSLDWZSLJi/QzHEBRlgfrU+1gJRA3 YI+gpNCR6VGcyToMsemuSsvKUbwBJppnRRN4QgvLJd3bz7f/nHD9amFLHo+/BY5DwserBi l+zU1cNHqgm7mHFcNwabZhPPhC1eE+3wTgaZPkc0MxPXiyU9jPip7UOcKp3QPv4tVqAE4a AQr/oemxWa/Bvcvke5M/pxXJVOz2WhLhwmvWs6kBoDNmuFwqfTkotdf6m57fVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652042509; a=rsa-sha256; cv=none; b=MdSX1fuaFEmaz3ZHgO/1Lkim+SaS3W7f+i5upo5vblSmapXQx5isUBLEtz3craQQK+SYDG ArbyqrrWsQ99oZ+xtuyjdXMGi+jaLtL9usXOEfsEgzigZjxIEhKgrbw5LR5nx1X73r5IVS 7fWanH/nDflVTkFZAK9XFt+L3VjTnNXadpoB/oKCmA01y0NFIxRZJgUK+L25V67PkjIqeR omcxyhjqa8U382nbYFKC+rFoW93A9Xhu1CUZyJaNff9fHHVnNXnsbozXLJARxxwvZd3sgW 8QARDX5mOpQZmaDlTxn6C9MPQ2cMx+ugbiybEef6XiF56tMZ/hFz+DM50H6zhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Ete+q1/F"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Ete+q1/F"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6E6512ECCC X-Spam-Score: -9.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: HKnP/o31me1o Hi, Really cool! On Sun, 08 May 2022 at 00:52, Ludovic Court=C3=A8s wrote: > I think we could have, as a first step, a command that allows us to run: > > ./pre-inst-env guix review 54874 > > and that fetches patches, applies them, and ideally reports on the > difference and what needs to be built. Currently, using the hhtps://yhetil.org/guix public-inbox instance, coupled to the Emacs package =E2=80=99piem=E2=80=99, I already have that. := -) Basically, I use Emacs code from emacs-debbugs to query, then the Emacs package =E2=80=99piem=E2=80=99 [1] coupled [2] to the Python tool =E2=80=99= b4=E2=80=99 [3] and done. Well, maybe using Scheme code for query Debbugs via Mumi, then instead of, > (define (apply-patch patch) > (invoke "git" "am" "-s" patch)) =E2=80=99invoke=E2=80=99 the B4 tool. Other said, start to move all the ha= rd work of extracting the patches and application to an external tool and just glue with Scheme (instead of Emacs lisp as =E2=80=99piem=E2=80=99, for instance). Then this Python B4 could be reimplemented (or adapted) using Scheme. 1: 2: 3: Cheers, simon