From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#36208: 26.2.50; Add tooling for commit message format checking Date: Fri, 05 Jul 2019 17:21:16 +0100 Message-ID: <871rz4mozn.fsf@tcd.ie> References: <87ftocyuzi.fsf@cassou.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="191288"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36208@debbugs.gnu.org To: Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 18:28:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hjR4R-000naw-El for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 18:28:23 +0200 Original-Received: from localhost ([::1]:54818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjR4Q-0008G2-Ca for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 12:28:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45131) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjQyL-0003Fb-2n for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 12:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjQyI-0007A6-SJ for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 12:22:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjQyI-00078Y-GR for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 12:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjQyI-00083M-8u for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jul 2019 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36208 X-GNU-PR-Package: emacs Original-Received: via spool by 36208-submit@debbugs.gnu.org id=B36208.156234369030916 (code B ref 36208); Fri, 05 Jul 2019 16:22:02 +0000 Original-Received: (at 36208) by debbugs.gnu.org; 5 Jul 2019 16:21:30 +0000 Original-Received: from localhost ([127.0.0.1]:53645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjQxm-00082a-GQ for submit@debbugs.gnu.org; Fri, 05 Jul 2019 12:21:30 -0400 Original-Received: from mail-wm1-f43.google.com ([209.85.128.43]:38587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjQxk-00082L-Si for 36208@debbugs.gnu.org; Fri, 05 Jul 2019 12:21:29 -0400 Original-Received: by mail-wm1-f43.google.com with SMTP id s15so10266625wmj.3 for <36208@debbugs.gnu.org>; Fri, 05 Jul 2019 09:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=9YlgYeRNdWFE8YSZdaeI2yrhVLO/kzQNf46pznn0F0Q=; b=Wq1RlKSzKM/eNkOUVt9c8FSGDPmtXvFgyVa5W6H+RCH+heHrk2LxIWvrgB85ZRaqxj ZVlajG/5/R04CMRrO4Je+D45TjPtWxIGd0+9uaU+dGLisqWFyBFjsnRbhc2ydz3PtXL1 wyqLaSH6RE4rvjRAbs1u8gOKHwul/W8XYqE56NCFHjowMmfF5MVZqnFA3BgmJDJQ216j d5imlhbX2AXo2N3TomhEE+sN+VawKhWb2fsQUSTvzCs/58Z9dchZN4v1gCqrhr9ohMjD Wd2nAxv3M3BzpvbgkADxeUcDS2qjagJpV6yLCe1tmK02xIU/3bx/09LX1LjtnYtWLmKh jcdQ== 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=9YlgYeRNdWFE8YSZdaeI2yrhVLO/kzQNf46pznn0F0Q=; b=LIuMec/aW0C569knAu7sXqLYXUBdNGRWjqgqGOkU9EE7PRcAAPkFc7aLozdRKSP7hN PSABOmQZF9PmTT4psYwWJzortvzCjM4srFR8jCP744ZJbvr9jilSDzw1kCj5rJVOOz66 uMX1M90QAzs7+q1WqKdnPhTBmyN6MFTmvbfG0SGV8zbYjskWqZ/OhT/DUq6vUn72VQI/ z5KAKvSOAJwjbcoLpPbd8E8PrTkxyKAYkhV4I5o2iOsY0sdsvrPPIsysOBS4tKCbuoEX BbNfbgx8cmjybOwEDnHB6GdmX3Ubx8Nr291AAEziWUa17CrS/OI3QLymBbsTIj1IurWm lHnA== X-Gm-Message-State: APjAAAWZDzmVlBGJrz+RyrAO9pa0nmU+txE4GA7RHXnxnrsfTpNSG+R1 2AJGL14ygLyleTTFCDx2uPrxJg== X-Google-Smtp-Source: APXvYqzses6Ckt5V85iJw2/TDkgBMZy0++t9IQUST/lIYG2JAvmYBDVR2zUhRYoRx7ZrgipAF5Yo5g== X-Received: by 2002:aa7:c693:: with SMTP id n19mr4797881edq.106.1562343682953; Fri, 05 Jul 2019 09:21:22 -0700 (PDT) Original-Received: from localhost (86-41-18-212-dynamic.agg3.crz.crz-crz.eircom.net. [86.41.18.212]) by smtp.gmail.com with ESMTPSA id m2sm1752116ejl.40.2019.07.05.09.21.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 09:21:21 -0700 (PDT) In-Reply-To: <87ftocyuzi.fsf@cassou.me> (Damien Cassou's message of "Fri, 14 Jun 2019 18:47:29 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162137 Archived-At: Damien Cassou writes: > writing commit messages that comply with Emacs' guidelines requires a > good understanding of many details described in CONTRIBUTE. To reduce > the workload of new contributors and of reviewers, part of these > guidelines could be transformed into tools. > > Here are some of the checks that humans have to do these days: > > 1. dots after every sentence (even just "New function" must terminate > with a dot) > 2. double-space after dots ending sentences > 3. no indentation (M-q adds 2 spaces which we don't want) Are you using Magit's git-commit-mode? If so, see PR #3911: https://github.com/magit/magit/pull/3911 Thanks, -- Basil