head	1.16;
access;
symbols;
locks; strict;
comment	@# @;


1.16
date	2009.08.11.21.27.59;	author simon;	state Exp;
branches;
next	1.15;

1.15
date	2008.10.07.23.10.17;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	2008.05.30.22.15.15;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	2005.05.08.18.22.12;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	2005.05.07.21.40.02;	author murray;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.25.15.49.46;	author scottl;	state Exp;
branches;
next	1.10;

1.10
date	2003.01.10.03.05.43;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2002.12.13.08.01.17;	author imp;	state Exp;
branches;
next	1.8;

1.8
date	2002.12.13.07.45.43;	author imp;	state Exp;
branches;
next	1.7;

1.7
date	2002.12.13.07.10.42;	author imp;	state Exp;
branches;
next	1.6;

1.6
date	2002.10.08.00.58.46;	author bmah;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.07.18.59.36;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	2001.09.17.22.34.41;	author murray;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.13.18.49.11;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	99.08.14.19.44.30;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	99.08.14.15.18.46;	author peter;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Allow me (simon) to set tags as it's needed for some svn2cvs work.
@
text
@#! /bin/sh
#
# $FreeBSD$


# TAG  add/mov/del  repo  files...
# $1   $2           $3    $4   ...

case "$1" in
  RELENG*)
    ;;
  RELEASE*)
    ;;
  *)
    echo "Tags are disabled for the move to subversion." 1>&2
    exit 1
    ;;
esac

USER=`/usr/bin/id -un`
case "$USER" in
  peter | kensmith | simon)
    exit 0	# ok
    ;;
  *)
    echo "$USER does not have permission to perform this tag operation!" 1>&2
    echo "RELENG* tag operations are reserved for release engineering!" 1>&2
    echo "RELEASE* tag operations are reserved for portmgr and doceng!" 1>&2
    echo "Use 'cvs add' or 'cvs rm' to add/remove files from branches!" 1>&2
    echo "$*" | /usr/bin/mail -s "NCVS TAG" ncvs
    exit 1
    ;;
esac
@


1.15
log
@Let ken tag the repo for releases.  This can be updated as needed.
@
text
@d22 1
a22 1
  peter | kensmith)
@


1.14
log
@Disable tag operations for ncvs.
@
text
@a4 2
echo "Tags are disabled for the move to subversion." 1>&2
exit 1
d15 2
a16 1
    exit 0	# not reserved, ok.
d22 1
a22 1
  peter | markm | murray | scottl | kensmith | dwhite)
@


1.13
log
@Update email address to not trip autoresponder.
Use an exception list that is a little closer to reality (corrections can
still be made of course)
@
text
@d5 3
@


1.12
log
@Add dwhite to list of people allowed to manipulate RELENG_* tags.
@
text
@d20 1
a20 1
  peter | jdp | markm | obrien | murray | jhb | bmah | scottl | kris | nik | kensmith | dwhite)
d28 1
a28 1
    echo "$*" | /usr/bin/mail -s "NCVS TAG" cvs
@


1.11
log
@Bring Ken Smith one step closer to world domination
@
text
@d20 1
a20 1
  peter | jdp | markm | obrien | murray | jhb | bmah | scottl | kris | nik | kensmith)
@


1.10
log
@Also restrict the RELEASE* tags to those who need to manipulate them
for the ports/ and docs/ collections.  This should probably be redone
to limit the tags/users according to the part of the CVS repo being
touched.
@
text
@d20 1
a20 1
  peter | jdp | markm | obrien | murray | jhb | bmah | scottl | kris | nik)
@


1.9
log
@Set USER with id
@
text
@d11 2
d20 1
a20 1
  peter | jdp | markm | obrien | murray | jhb | bmah | scottl)
d24 1
a24 1
    echo "$USER is not a member of the release engineering team!" 1>&2
d26 1
@


1.8
log
@Echo imp to track down problem scottl is having with new setup
@
text
@d16 1
@


1.7
log
@scottl is also doing re@@ related things, so put him in the list of
people allowed to tag.  Remove jkh while I'm at it since he's unlikely
to be creating further RELENG tags.
@
text
@d21 1
@


1.6
log
@Give myself (as an RE team member) permission to frob RELENG_* tags.

Approved by:	peter
@
text
@d17 1
a17 1
  jkh | peter | jdp | markm | obrien | murray | jhb | bmah )
@


1.5
log
@Add jhb to the list of people that can directly frob RELENG_* tags.
@
text
@d17 1
a17 1
  jkh | peter | jdp | markm | obrien | murray | jhb)
@


1.4
log
@Add myself to the list of folks allowed to use ``cvs tag''.  The tags
on several files need to be bumped up for 4.4.

Approved by:	jkh
@
text
@d3 1
a3 1
# $FreeBSD: CVSROOT/tagcheck,v 1.3 2000/06/13 18:49:11 peter Exp $
d17 1
a17 1
  jkh | peter | jdp | markm | obrien | murray)
@


1.3
log
@Add obrien to the 'he knows what he is doing' list for massaging tags
(in src/contrib)
@
text
@d3 1
a3 1
# $FreeBSD: CVSROOT/tagcheck,v 1.2 1999/08/14 19:44:30 peter Exp $
d17 1
a17 1
  jkh | peter | jdp | markm | obrien)
@


1.2
log
@Generate a mail on a blocked tag attempt as an alert that somebody
might need help or the script is broken.
@
text
@d3 1
a3 1
# $FreeBSD: CVSROOT/tagcheck,v 1.1 1999/08/14 15:18:46 peter Exp $
d17 1
a17 1
  jkh | peter | jdp | markm)
@


1.1
log
@First shot at trying to stop people using 'cvs tag' and screwing it up.
Reserve RELENG_* tag operations for jkh and the cvs folks.  I'm not 100%
sure that this is going to be useable, depending on whether 'cvs add'
and 'cvs rm' are exempt from this restriction (I think (and hope) it is).
@
text
@d3 1
a3 1
# $FreeBSD$
d9 1
a9 1
  RELENG_*)
d21 1
a21 1
    echo "RELENG_* tag operations are reserved for release engineering!" 1>&2
d23 2
a24 1
    exit 1	# shove off!
@

