From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: git-send-email (was: Why are so many great packages not trying to get included in GNU Emacs?) Date: Mon, 15 Jun 2020 00:11:38 +0200 Message-ID: <87lfkpcn6t.fsf_-_@gmail.com> References: <875zdteybt.fsf@runbox.com> <87368wrvf5.fsf@yahoo.com> <86k126d83n.wl-me@enzu.ru> <83pnbyckvv.fsf@gnu.org> <4923d7e98f5ed816a7569093dbc673153adcea88.camel@yandex.ru> <837dwb3zb6.fsf@gnu.org> <20200613141653.GA55972@breton.holly.idiocy.org> <835zbv3v6q.fsf@gnu.org> <20200613142329.GA56313@breton.holly.idiocy.org> <834krf3uij.fsf@gnu.org> <87r1ujatv4.fsf@igel.home> <831rmj3stn.fsf@gnu.org> <87mu57atav.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="56209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org, stefan@marxist.se, alan@idiocy.org, hi-angel@yandex.ru To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 15 00:12:24 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jkarX-000EUV-Ua for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Jun 2020 00:12:23 +0200 Original-Received: from localhost ([::1]:60710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkarW-00075a-W3 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 18:12:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkaqu-0006Ku-MN for emacs-devel@gnu.org; Sun, 14 Jun 2020 18:11:44 -0400 Original-Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:55683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkaqs-000870-Vp; Sun, 14 Jun 2020 18:11:44 -0400 Original-Received: by mail-wm1-x343.google.com with SMTP id c71so12757030wmd.5; Sun, 14 Jun 2020 15:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eOdMJMEJTQcG8vRCyBeE2X5jfhLeCZs4Dm93ep+BvSE=; b=KViA0mtBOTJs9TyFFoWEv8LzQisLiXZvm6hJVa5I5ga5RzFwHTMPxI6lNe5jZYEFPl 1c+e+7g14UQkkHDEWuqDHLIWzboaH6ouuK2ZpaLzV/9I3z/mBTg7Q2pNVpFFywHgTmLY eXlmLEzWw7gKdoyObrjN6659xgiib5qtmFgT5bxW+PnLbJz+7ka6u16wdLIAqO+8MFWr 1qr4s0jvXjgieo9CnP+f89WdqxS9VCeC2k5U0SPSO8E2tr7GFyYxG6RQyll2JN86MAen qQrklBkkr0ytiV/dXWnGQYzTCeRMiYzIMYN/SKwuxLyCIaEzaxfSgPRzUsk2cUw09LyS E8aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=eOdMJMEJTQcG8vRCyBeE2X5jfhLeCZs4Dm93ep+BvSE=; b=ll4kiqhjzHXEh1dPGwj1kllGzppGDvSsqx9/cMzMKeu0eIALM20511z7kdx0rfzVmT mf0QDN+A8GdtR4zHWY6OvT09/r/Sak9Q7W5ZmfloLzSVo1Hk2CI6pVazL0aja5rinKwQ I31YzILTboVsEhVqmCAdNt1A04HUqxrigUYvqdWho++1ew78r4zfzyHvyYiaH+yav+S/ WJRRoumuTqyc0tJI8tEoSVZDiZ0dut2rUW8Klwo//Z79W8p2JsffubbdutbazCDJxMVG dzWYqxKlUC58/qkGw3u7xyxZ8gQYqr6DLx2ITZ1WFG1nS8ZkmZwzA38L4uRIRJsvLFiD guDg== X-Gm-Message-State: AOAM531IkDFipkFSZqdqEknFxhg90E0hXu77PQe4mN8rYUfDeZfuuA59 /Xw7dxICbIY8HbAY0m+B48m6l39fgT5I5w== X-Google-Smtp-Source: ABdhPJwdwT4dxOqLkNP4A++5W6WIYiBmiKelRuYeVWz7/E9U2g39IAHVvdltzGnlXvfkgRsfkXPAJw== X-Received: by 2002:a05:600c:645:: with SMTP id p5mr9674506wmm.156.1592172700413; Sun, 14 Jun 2020 15:11:40 -0700 (PDT) Original-Received: from my-little-tumbleweed (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id z12sm23683353wrg.9.2020.06.14.15.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2020 15:11:39 -0700 (PDT) In-Reply-To: <87mu57atav.fsf@igel.home> (Andreas Schwab's message of "Sat, 13 Jun 2020 17:18:00 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=kevin.legouguec@gmail.com; helo=mail-wm1-x343.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252253 Archived-At: Andreas Schwab writes: > On Jun 13 2020, Eli Zaretskii wrote: > >> mail message was not formatted with git-format-patch. > > Yes, it was. In case that clears up some confusion: As Konstantin said, the patch[1] was sent with git send-email, which allows the sender to "annotate" the patch with some text that will be ignored by git am (IIUC merely by virtue of being stuck between "---\n" and the actual diff). In Gnus, piping the whole mail to "cd path/to/emacs && git am" (hitting "|" in the summary buffer) mostly does TRT: the patch is applied, with the email's subject as commit summary, and the rest of the message (up to "---\n") completing the commit message. The only issue, AFAICT, is that git am fails to strip away the [PATCH] prefix; IUUC this is because it does not expect debbugs's own "bug#NNN" prefix. Feel free to dismiss this as armchair commentary, but I think that we're likely to see more and more patches sent with git send-email[2], since it is heavily promoted by other projects privileging mail-based workflows[3]. [1] <20200603115103.69611-1-Hi-Angel@yandex.ru> https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-06/msg00128.html [2] See e.g. Jonas's patch series back in May: <87sgg26zpv.fsf@bernoul.li> https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-05/msg00853.html [3] Sourcehut developers, in particular, have spent a fair amount of virtual ink describing how to use it: https://drewdevault.com/2018/07/02/Email-driven-git.html https://man.sr.ht/git.sr.ht/send-email.md They have even set up a dummy repository for would-be contributors to try it out: https://git-send-email.io/ https://lists.sr.ht/~sircmpwn/email-test-drive/