#!/usr/bonsaitools/bin/mysqltcl # -*- Mode: tcl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Netscape Public License # Version 1.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/NPL/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations # under the License. # # The Original Code is the Bonsai CVS tool. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are Copyright (C) 1998 # Netscape Communications Corporation. All Rights Reserved. source CGI.tcl Lock LoadCheckins LoadMOTD LoadTreeConfig Unlock puts "Content-type: text/html Bonsai administration

Bonsai administration

You realize, of course, that you have to know the magic password to do anything from here.
Go tweak bunches of checkins at once.
" puts "
Password:
" if {$treeopen} { puts " Closing time stamp is:
" } else { puts " The new \"good\" timestamp is:
Clear the list of checkins.
" } puts "

Password:
Last good timestamp:
Last close timestamp:

Password:
Change the message-of-the-day:


Change the e-mail message sent:

Password:
Repopulate the hook from scratch.

This can be very dangerous. You should usually only need to do this to populate a new Bonsai branch.

Use any checkin since:


Password:
Recreate the entire table of tags for the $treeinfo($treeid,repository) repository from scratch.

This can take a very, very long time. You should usually only need to do this when first introducing an entire CVS repository into Bonsai. (And, in fact, nothing right now ever even uses that info, so don't bother unless you know what you're doing.)


Password:
Recreate the entire list of every checkin ever done to the $treeinfo($treeid,repository) repository from scratch.

This can take an incredibly long time. You should usually only need to do this when first introducing an entire CVS repository into Bonsai.

Ignore checkins earlier than:
Ignore files before (must be full path starting with $treeinfo($treeid,repository); leave blank to do everything):
Only do files within the subdirectory of $treeinfo($treeid,repository) named:


Change password.
Old password:
New password:
Retype new password:
Change password for this tree
Change master Bonsai password
" PutsTrailer exit