From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [REQ/DISCUSSION] patch managing system Date: Sat, 16 Apr 2016 13:13:37 +0200 Message-ID: <8737qlhkm6.fsf@gnu.org> References: <87h9g0eq1c.fsf@grrlz.net> <87d1qogcfw.fsf@grrlz.net> <87h9fz7pe0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOAa-0001ek-3w for guix-devel@gnu.org; Sat, 16 Apr 2016 07:13:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arOAW-00061d-Tf for guix-devel@gnu.org; Sat, 16 Apr 2016 07:13:44 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arOAW-00061Y-QX for guix-devel@gnu.org; Sat, 16 Apr 2016 07:13:40 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:39270 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1arOAW-0007DM-2R for guix-devel@gnu.org; Sat, 16 Apr 2016 07:13:40 -0400 In-Reply-To: <87h9fz7pe0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 21 Mar 2016 17:43:35 +0100") 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: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > The best patch-tracking candidate I=E2=80=99ve seen so far is =E2=80=9Cpa= tches=E2=80=9D, written > by/for the QEMU people (the =E2=80=98patches=E2=80=99 package in Guix.) > > https://www.gnu.org/software/guix/packages/#patches > > I think it has everything most of us want, including an Emacs interface. > > The main =E2=80=9Cdifficulty=E2=80=9D is setting it up on a machine where= it can serve > those patches.json files over HTTP based on the mailing list archive > (which could be synced from ) and Git > repo. There=E2=80=99s a README in the the source tree that explains the > details: > > https://github.com/aliguori/patches/blob/master/README-server.md As an experiment (it may disappear anytime), I generated the =E2=80=98patches.json=E2=80=99 file for =E2=80=9Cpatches=E2=80=9D, so you c= an now run: guix package -i patches patches fetch https://mirror.hydra.gnu.org/patches/patches.json patches list status:committed The =E2=80=9Cdocumentation=E2=80=9D is at: https://github.com/aliguori/patches/blob/master/README.md The project appears to be inactive though. :-/ For the record, on the server side, updating involves fetching the mailing list archive, converting it to Maildir, updating the notmuch database, the Git repo, and then the patch list (pheew!): --8<---------------cut here---------------start------------->8--- top_dir=3D"$HOME/patches" maildir=3D"$top_dir/mail" checkout=3D"$top_dir/guix" date_month=3D"`date +'%Y-%m'`" cd "$top_dir" wget -q -O "$date_month" "ftp://lists.gnu.org/guix-devel/$date_month" mb2md -s "$top_dir/$date_month" -d "$maildir" notmuch new (cd "$checkout"; git pull) patches scan --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.