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 ms11 with LMTPS id 6FL1EKzOSGCKYAAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 13:50:36 +0000 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 AA2bDKzOSGDVHQAA1q6Kng (envelope-from ) for ; Wed, 10 Mar 2021 13:50:36 +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 F17BA11DF3 for ; Wed, 10 Mar 2021 14:50:35 +0100 (CET) Received: from localhost ([::1]:52736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJzEQ-00006Y-NW for larch@yhetil.org; Wed, 10 Mar 2021 08:50:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJzEF-0008VB-QU for guix-devel@gnu.org; Wed, 10 Mar 2021 08:50:23 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:41976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJzEE-0002dN-2U for guix-devel@gnu.org; Wed, 10 Mar 2021 08:50:23 -0500 Received: by mail-wm1-x330.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso10747294wmi.0 for ; Wed, 10 Mar 2021 05:50:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=Fgb8fJF5GLsX2hb7SluMOuRMpu3k9ERyVW+CcEP+0io=; b=Rp65SnUpoQL71J3tV2WbI5n/q5/qDGaOJMRFpyhaQpfMfRKPZh6rUUosAooihYmWFd EnDz1fSgj698BT5BvxW62uLTBFARj7rv5KtYLJ6+uUmYANSmMkDcNaoKYyaQuG8Oe6un YsnRu75BiD1Ci5nujiIeQ5eySuy4OGj26zP2bvGrjT//fDZXIcN3N3zv+9SlE3ak6SAt Bzo0Mf09x6Smrl+tgj+iG8tc+9BCud4BE2k4fy67M044f5fCLU2FscnasfYrKYnuHbiS XL7jDFMsiWDPbtb1PuzuPVOljMcJabwdgHBYN9cWo1KWbqThozsZtPArXva8uV/HZB3f eb+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Fgb8fJF5GLsX2hb7SluMOuRMpu3k9ERyVW+CcEP+0io=; b=EJ86F6XBCh4tCcEk775qeUP8P1qjWeLnXkdbjjKUEBUjqJEj+faGyheK543xAx5BpP WHd0COvuifiqM/HuLdUuiuJ0PhyubhSJYnW1mW+So1kOKYrFGDy5WoBZexUUvbREWGjr tti7clUjWdNahkm62my/dvz/XiHAMZES1BGFSUZHOCtgb3BtRGFZ6ruqGtB5EMWOj1ci NDnRvhgdA0ysQPQU4FsHjatqsVNPPqwaQJO5tYxnKigWGd6y/mgx5zVZz2k4KmAUMi8g wjQE5bd70a9hZzSFqBcwY3DtP5AXPnX4XgdA+LYeRUHfOs/Xoj5+52Am5IClPxZb5vzn th7Q== X-Gm-Message-State: AOAM532s5tpuBN/abqywaQSgvzjH8zryOX28TGY6vtsrbyBB6tHHgFmL 8YfHr/svoLvI0oFqA0vGN0zJHRvPunE= X-Google-Smtp-Source: ABdhPJxsefz/roVUmt9biCqE7gng1dpku5K9iZ8qhQk24jEccohKcGIKhWksLWVOUI9FHSfe8n3AmQ== X-Received: by 2002:a05:600c:4f8e:: with SMTP id n14mr3576338wmq.166.1615384220638; Wed, 10 Mar 2021 05:50:20 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id e1sm32129284wrd.44.2021.03.10.05.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 05:50:20 -0800 (PST) From: zimoun To: =?utf-8?Q?L=C3=A9o?= Le Bouter , guix-devel@gnu.org Subject: Re: Generate diff with git-diff and use in patches field of packages In-Reply-To: References: Date: Wed, 10 Mar 2021 14:42:32 +0100 Message-ID: <86mtvbcegn.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::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.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: , 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=1615384236; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Fgb8fJF5GLsX2hb7SluMOuRMpu3k9ERyVW+CcEP+0io=; b=LfabDeOiI1XsOihXJRQdtzaV924RMoXunnhB7AvHYaAZ3cwa348ZJf0meUL7E9eYQyrIDH 6PAhNp3tbVUm+VOHwFoOpcv5+kLloFLqCyenFwcrA3sT0UzS4y6OivbEvb4dsNvgfP7SQq Uqmh1Vfk7ueQuWO5ymmwkX32K3Tk0VRLAol/jFYVZ6+rV2h2CaaD297HB9RasTl65fnbxH k2rtO+xA9hN3LetOdtjVYtgCWMwcbbiPr/BSZvhYRjyzxXRxonzDvVUrc3rg9UWal2R+V0 srD0Xl+KjYNXJ8ljbthb+d2/i3fZk5Vto4K0sl5aYdYVUr2Ht8NQq6LULyeUMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615384236; a=rsa-sha256; cv=none; b=TDM4MYEzq5Y+HyakFmgdD5JoEcKoFkfWTTrh75qP6t6euY5s1NBvBLbfIepAKkH6i7zBZg 7eDYxzJwrDkt82EcgGbmhJNgPVbQ46afEly2SngFC1ECjWbPYhVyD5+d+fSfezDM6pmOHv YhJPaolr0Ju18XmgM9P1TnjKyJPtWC6bNQl680SJBud5Q3utHdYava++WdzrVINoKoQTbA VIBes2b/FKAtTQxWHDeOn3ObXfqwrlUty4g8grtxZMFVEKeipKLPojMOp17IYs0SzaUUJa +SmfQu974oHYmA85JDmrqBxEv/9u1Db4JYPihuVb+zHZZ+mBPDt0151CgG/29g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Rp65SnUp; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Rp65SnUp; dmarc=pass (policy=none) header.from=gmail.com; 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: F17BA11DF3 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z+SVt9aV5U0T Hi, On Wed, 10 Mar 2021 at 04:11, L=C3=A9o Le Bouter wrot= e: > While patching packages for security issues, I often am needing to get > some patches from git repos because upstream does not make releases. If the package already uses git-fetch, why not directly uses the commit fixing the issue as source? If the package is not already using git-fetch but instead url-fetch, maybe the replacement to git-fetch makes sense. Even if there is no consensus about git-fetch vs url-fetch. :-) Thread here: Cheers, simon