From owner-freebsd-www@FreeBSD.ORG Sun Jun 8 20:16:10 2003 Return-Path: Delivered-To: freebsd-www@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF9E237B401 for ; Sun, 8 Jun 2003 20:16:10 -0700 (PDT) Received: from cvs.tortall.net (cvs.tortall.net [198.78.66.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7105643FDD for ; Sun, 8 Jun 2003 20:16:10 -0700 (PDT) (envelope-from peter@tortall.net) Received: by cvs.tortall.net (Postfix, from userid 1000) id 4A92F2BCA3; Sun, 8 Jun 2003 20:16:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cvs.tortall.net (Postfix) with ESMTP id 43A712BC7E for ; Sun, 8 Jun 2003 20:16:09 -0700 (PDT) Date: Sun, 8 Jun 2003 20:16:09 -0700 (PDT) From: Peter Johnson X-X-Sender: pete@cvs.tortall.net To: freebsd-www@freebsd.org Message-ID: <20030608195053.E23828@cvs.tortall.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Mailman archive hyperlink to cvsweb X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 03:16:11 -0000 I've written a patch for Mailman's list archiver that links FreeBSD formatted cvs commit messages to cvsweb much like FreeBSD's original list archiver (it's even a bit better at figuring out what to link to). For an example of it in action, see the list archives at http://cvs.tortall.net/pipermail/yasm-cvs/, specific examples include: - Branches (and new files): http://cvs.tortall.net/pipermail/yasm-cvs/2003-June/000032.html - Deleted files: http://cvs.tortall.net/pipermail/yasm-cvs/2003-May/000009.html I would think it would be highly desirable to get this feature into the FreeBSD installation of Mailman, but even if it's not integrated there, there may be other users (like me) out there for which this patch might be useful. Installation: 1. Apply the patch from to the Mailman installation (typically /usr/local/mailman). 2. Add a pointer to the cvsweb host in Mailman/mm_cfg.py such as: CVSWEB = 'http://cvsweb.freebsd.org' 3. Re-archive cvs lists using bin/arch --wipe {listname}. Notes: - The CVSWEB definition is required; additional filtering is disabled until this is defined in mm_cfg.py. - The filter is only applied to messages in lists matching ".*cvs.*" and messages within those lists matching "^cvs commit[:]". This can be changed by editing the patch. - The cvs commit messages themselves must be formatted similarly to the FreeBSD commit messages (primarily the Revision/Changes/Path portion) Comments welcome. Please CC me, as I'm not subscripted to freebsd-www. -- Peter Johnson peter@tortall.net