From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1518 invoked by alias); 2 May 2003 09:44:52 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1503 invoked from network); 2 May 2003 09:44:51 -0000 Received: from unknown (HELO vexpert.dbai.tuwien.ac.at) (128.131.111.2) by sources.redhat.com with SMTP; 2 May 2003 09:44:51 -0000 Received: from [128.131.111.52] (naos [128.131.111.52]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 9BC7A13787; Fri, 2 May 2003 11:44:50 +0200 (CEST) Date: Fri, 02 May 2003 09:44:00 -0000 From: Gerald Pfeifer To: Gabriel Dos Reis Cc: Daniel Berlin , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Stopping daily bump of version.c on old/closed branches In-Reply-To: Message-ID: References: <398380F8-755C-11D7-9B52-000A95A34564@dberlin.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-05/txt/msg00116.txt.bz2 On Wed, 23 Apr 2003, Gabriel Dos Reis wrote: > My first question would be: Do people think that we should stop > updating gcc/version.c on old or obsoleted branches? Somehow this proposal lead to a bikeshed, and in general Gaby's suggestion only got positive responses, so after waiting one week I implemented the most conservative of all proposals in the most low-tech way per the patch below. Tested on gcc.gnu.org and installed on mainline. Gerald 2003-05-02 Gerald Pfeifer * update_version (IGNORE_BRANCHES): Add. (BRANCHES): Do not consider branches matching $IGNORE_BRANCHES. Index: update_version =================================================================== RCS file: /cvs/gcc/gcc/maintainer-scripts/update_version,v retrieving revision 1.9 diff -u -3 -p -r1.9 update_version --- update_version 2 May 2003 09:13:52 -0000 1.9 +++ update_version 2 May 2003 09:35:48 -0000 @@ -1,7 +1,9 @@ #!/bin/sh -# Run this from /tmp. CVSROOT=${CVSROOT:-/cvs/gcc} +IGNORE_BRANCHES='gcc-(2_95|3_0|3_1|3_2)-branch' + +# Run this from /tmp. export CVSROOT /bin/rm -rf /tmp/$$ /bin/mkdir /tmp/$$ @@ -14,7 +16,8 @@ CVS=${CVS:-/usr/local/bin/cvs} $CVS co gcc/ChangeLog BRANCHES=`$CVS status -v gcc/ChangeLog \ | awk '{print $1;}' \ - | egrep 'gcc-[0-9]+_[0-9]+-branch$'` + | egrep 'gcc-[0-9]+_[0-9]+-branch$' \ + | egrep -v $IGNORE_BRANCHES` # Always update the mainline. BRANCHES="${BRANCHES} HEAD"