From owner-freebsd-ports@FreeBSD.ORG Wed Oct 5 00:51:01 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E848916A41F; Wed, 5 Oct 2005 00:51:01 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: from mail3out.barnet.com.au (mail3out.barnet.com.au [202.83.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 746FA43D46; Wed, 5 Oct 2005 00:51:00 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail3out.barnet.com.au (Postfix, from userid 27) id 7FF15877CE1; Wed, 5 Oct 2005 10:50:59 +1000 (EST) X-Viruscan-Id: <4343237300000A940A498A@BarNet> Received: from mail3-auth.barnet.com.au (mail3.barnet.com.au [202.83.176.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.barnet.com.au", Issuer "BarNet Root Certificate Authority" (verified OK)) by mail3.barnet.com.au (Postfix) with ESMTP id 59C8C877CB0; Wed, 5 Oct 2005 10:50:59 +1000 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "edwin.adsl.barnet.com.au", Issuer "BarNet Root Certificate Authority" (not verified)) by mail3-auth.barnet.com.au (Postfix) with ESMTP id DC15B877C91; Wed, 5 Oct 2005 10:50:58 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 36F0B614D; Wed, 5 Oct 2005 10:50:57 +1000 (EST) Date: Wed, 5 Oct 2005 10:50:57 +1000 From: Edwin Groothuis To: ports@freebsd.org, ports-developers@freebsd.org Message-ID: <20051005005056.GB1278@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: New Port Version Check feature X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 00:51:02 -0000 After a long weekend of coding (long live the Queen!) this morning I have sent out this morning the first batch of emails to alert maintainers of possible availability of newer versions of the ports they maintain. The full overview of the first run can be found at http://edwin.adsl.barnet.com.au/~edwin/ports/ It works by replacing the current port version with "logical" next versions: For foo-1.2.3 it tries foo-1.2.4, foo-1.3.0 and foo-2.0.0. Possible ceavats: - Some mastersites have been added to the ignore list. For example GForce websites have the habbit of returning a file which doesn't exist. And ftp://cr.yp.to/ has the habbit of being able to chdir to a file which doesn't exist, thus totally confusing LWP. - Webservers which return the content-type text/* get ignored. Why? Because of too many false positives from websites which don't let their 404 handler return the 404 status code. - It handles source/1.2.3/foo-1.2.3, but it doesn't handle source/1.2/foo-1.2.3 fully (thanks to tmclaugh@#bsdports for mentioning) - Ports with version numbers in the name can give false positives: lang/gcc32, lang/gcc33 say that there is gcc-4.0.0 available (thanks to gerald@ for mentioning) The following ideas are playing in my head with regarding to this: - Fix mentioned problems above. - Maintainers get an email only once per newly found file. This means that if url1/foo-1.2 gets found, it only alerts the maintainer once. Adding a new master-site (url2/foo-1.2) might give you another alert. Updating the portversion will give you alerts on all mastersites. But there won't be a weekly list of all previous alerts. - Possible integration with portsmon or distfile survey. - Full world domination, and a pony for everyone! (flatrate pizza possible where available) Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/