From owner-freebsd-ports@freebsd.org Sun Aug 30 04:37:25 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6CD93CAA49 for ; Sun, 30 Aug 2020 04:37:25 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BfLCn3tyGz4YFr for ; Sun, 30 Aug 2020 04:37:25 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: by mailman.nyi.freebsd.org (Postfix) id 83ABB3CAA48; Sun, 30 Aug 2020 04:37:25 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8253A3CA851 for ; Sun, 30 Aug 2020 04:37:25 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: from mail.gundo.com (gibson.gundo.com [75.145.166.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4BfLCm0LY5z4YFq; Sun, 30 Aug 2020 04:37:23 +0000 (UTC) (envelope-from pauamma@gundo.com) Received: from webmail.gundo.com (variax.gundo.com [75.145.166.70]) by mail.gundo.com (Postfix) with ESMTP id 57DCF4C05E9; Sat, 29 Aug 2020 23:37:22 -0500 (CDT) MIME-Version: 1.0 Date: Sun, 30 Aug 2020 04:37:22 +0000 From: Pau Amma To: Adam Weinberger Cc: Warner Losh , tcberner@freebsd.org, FreeBSD Developers , Michael Gmelin , Niclas Zeising , ports@freebsd.org, portmgr@freebsd.org, Greg 'groggy' Lehey Subject: Maintainer notification script (was Re: Aggressive ports removal) In-Reply-To: <4F34C480-63D3-48C4-9747-FDA1E5D66507@adamw.org> References: <4F34C480-63D3-48C4-9747-FDA1E5D66507@adamw.org> User-Agent: Roundcube Webmail/1.4.8 Message-ID: X-Sender: pauamma@gundo.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BfLCm0LY5z4YFq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pauamma@gundo.com designates 75.145.166.65 as permitted sender) smtp.mailfrom=pauamma@gundo.com X-Spamd-Result: default: False [-2.98 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[pauamma]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[75.145.166.65:from]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gundo.com]; NEURAL_HAM_LONG(-0.97)[-0.969]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[75.145.166.65:from]; NEURAL_HAM_SHORT(-0.67)[-0.665]; RCPT_COUNT_SEVEN(0.00)[9]; NEURAL_HAM_MEDIUM(-0.94)[-0.944]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:75.144.0.0/13, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 04:37:25 -0000 On 2020-08-30 00:50, Adam Weinberger wrote: > [major snip] > This is a serious issue that we’ve been dealing with for a long time. > I’ve advocated very strongly for a script that automatically notifies > the maintainer (+/- ports@?) when a port is marked BROKEN and/or > DEPRECATED. Community notification is always a good thing, and it > opens the door for objections and discussion. Nobody has written such > a script, but I would be thrilled to help deploy such a script if > someone writes it. What would be needed in such a notifier? I imagine it would be called by the post-receive hook in the central git repository-to-be for ports. I'm not very familiar with python or git hooks, but perhaps contrib/hooks/multimail/post-receive.example could be extended or modified and made into (part of) a post-receive hook to: 1- check whether one or more port Makefiles were modified; 2- get from the port Makefiles in step 1 those that have a changed/removed/added BROKEN(_[a-zA-Z0-9_]*)?, DEPRECATED, or EXPIRATION_DATE; 3- email each MAINTAINER= address (for the ports coming out of step 2) using a suitable template. What do others think?