update_branches revision 01163d188b89911c3a23fe1125a4cab6764a408c
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# Permission to use, copy, modify, and distribute this software for any
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# purpose with or without fee is hereby granted, provided that the above
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# copyright notice and this permission notice appear in all copies.
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# PERFORMANCE OF THIS SOFTWARE.
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# $Id: update_branches,v 1.9 2005/05/16 23:38:45 marka Exp $
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# Track which branches are still open or not in the bind9 cvs repository.
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# This is done so that work that is "in progress" (active) doesn't get
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# so easily forgotten about.
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# This script updates doc/private/branches by adding new branches and moving
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# closed branches to the end of the file. New branches are found by walking
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# the cvs repository and extracting the new branches from the header fields
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# of the files there.
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# doc/private/branches has one line per branch in the following field order:
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# name, status, to whom the branch belongs and comments. Comments are
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5Aki Tuomi# in '(',')'. The first three field are single words.
!system("cvs", "-d", "/proj/cvs/prod", "update", "-C", "doc/private/branches") || die "cannot update doc/private/branches: $!";
last;
$tabs = 1;
$tabs++;
$tabs = 1;
$tabs++;
rename("doc/private/newbranches", "doc/private/branches") || die "Cannot rename: doc/private/newbranches -> doc/private/branches: $!";