From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Automatically checking commit messages Date: Thu, 21 Sep 2017 20:59:12 +0200 Message-ID: <87wp4ranen.fsf@fastmail.com> References: <9a88d837.ADkAADITH3QAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZwo2s@mailjet.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv6gz-0007FH-OP for guix-devel@gnu.org; Thu, 21 Sep 2017 14:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv6gw-0006Eo-NF for guix-devel@gnu.org; Thu, 21 Sep 2017 14:59:21 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57657) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dv6gw-0006D4-Ds for guix-devel@gnu.org; Thu, 21 Sep 2017 14:59:18 -0400 In-Reply-To: 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll , Arun Isaac Cc: guix-devel --=-=-= Content-Type: text/plain Vincent Legoll writes: > Hello > > On Wed, Sep 20, 2017 at 5:47 PM, Arun Isaac wrote: >> I have been working on a guile script to automatically check commit >> messages -- something like `guix lint' but for commit messages instead >> of package definitions. This could help us enforce our commit message >> guidelines and avoid screw-ups like the one I did in commit >> 1ee879e96705e6381c056358b7f426f2cf99c1df. I believe more automation is >> essential and would help us scale better if/when we have more people >> with commit access. > > This is a good idea, and it would be even better if that same thing > could be used to generate a commit message with all the automatable > pieces pre-filled, with only the human parts left to the user. FWIW 'magit' can already fill out file names and variables by navigating to the hunks in the diff buffer and pressing 'C'. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlnEDAAACgkQoqBt8qM6 VPp5ZQf/dRAJZvFzPCNMxPrBDglUuTBclDJn8b15V3uE/uTQDSrdhh1rFAtm+FFz 0gRUCq35F3P5Pb7ooqwZ7GkB0oZigiR/6au5RBFIe2Q5fnvJ0CYxE+qYMa03sABd rfP5ugpZ/auaLPC3Dt9TY/RwSE3mrhZ64YkrQCnCwrEtIplgG5kkdHEo5b67UQlk J3haNqUZ7oFc15GF7tpJV97gOoYHQ3xRrUE5VqSNFNpA2PCeme99xP3cncA6Bjt0 EcpoYUfxwLYVZDfJ0BNb4CVQw78DNxf2z4Z8ZwGl4nIEJvPhDVIozWGSWpkOeJjD cObKiyZOMfugEextCkh/cDLDNzIlFg== =HXHN -----END PGP SIGNATURE----- --=-=-=--