head	1.18;
access;
symbols
	TIGRIS_1_1_0RC2:1.12.6.3.2.1
	TIGRIS_1_1_0RC1:1.12.6.3.2.1
	TIGRIS_1_1:1.12.6.3.0.2
	TIGRIS_1_0_8:1.12.6.3
	TIGRIS_1_0_8RC3:1.12.6.3
	TIGRIS_1_0_8RC2:1.12.6.3
	TIGRIS_1_0_8RC1:1.12.6.3
	TIGRIS_1_0_7:1.12.6.3
	TIGRIS_1_0_7RC3:1.12.6.3
	TIGRIS_1_0_7RC2:1.12.6.3
	TIGRIS_1_0_7RC1:1.12.6.3
	TIGRIS_1_0_6:1.12.6.3
	TIGRIS_1_0_6RC5:1.12.6.3
	TIGRIS_1_0_6RC4:1.12.6.2
	TIGRIS_1_0_6RC3:1.12.6.2
	TIGRIS_1_0_6RC2:1.12.6.2
	TIGRIS_1_0_6RC1:1.12.6.2
	TIGRIS_1_0_5:1.12.6.1
	TIGRIS_1_0_5RC6:1.12.6.1
	TIGRIS_1_0_5RC5:1.12.6.1
	TIGRIS_1_0_5RC4:1.12.6.1
	TIGRIS_1_0_5RC3:1.12.6.1
	TIGRIS_1_0_5RC2:1.12.6.1
	TIGRIS_1_0_5RC1:1.12.6.1
	TIGRIS_1_0_4:1.12.6.1
	TIGRIS_1_0_3:1.12.6.1
	TIGRIS_1_0_2:1.12.6.1
	TIGRIS_1_0_1:1.12.6.1
	TIGRIS_1_0:1.12.0.6
	TIGRIS_1_0_0:1.12
	TIGRIS_1_0_0_RC1:1.12.0.2
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.4.2.4
	TIGRIS_0_9_2_3:1.4.2.4
	HELM_PEER_PORT_BRANCH:1.1.1.1
	TURBINE_PEER:1.8
	TIGRIS_0_9_2_1:1.8
	TIGRIS_0_9_2:1.4.0.2
	TIGRIS_0_9_0:1.3.0.2
	TIGRIS_0_8_4:1.1.0.2;
locks; strict;
comment	@# @;


1.18
date	2001.07.20.23.05.00;	author kmaples;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.13.21.57.07;	author kmaples;	state Exp;
branches;
next	1.16;

1.16
date	2001.06.06.16.15.29;	author edk;	state Exp;
branches;
next	1.15;

1.15
date	2001.05.22.23.48.19;	author dlr;	state Exp;
branches;
next	1.14;

1.14
date	2001.04.11.05.11.34;	author lucas;	state Exp;
branches;
next	1.13;

1.13
date	2001.04.05.22.53.47;	author ms;	state Exp;
branches;
next	1.12;

1.12
date	2001.03.02.12.32.54;	author manoj;	state Exp;
branches
	1.12.6.1;
next	1.11;

1.11
date	2001.03.02.03.25.25;	author ms;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.09.03.51.27;	author lucas;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.08.19.02.50;	author lucas;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.23.17.35.41;	author lucas;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2001.01.22.23.06.06;	author lucas;	state Exp;
branches;
next	1.6;

1.6
date	2001.01.19.09.48.55;	author lucas;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.19.06.19.54;	author lucas;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.19.01.36.05;	author lucas;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2000.12.09.06.23.26;	author lucas;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.09.06.17.18;	author lucas;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.09.05.59.26;	author lucas;	state Exp;
branches
	1.1.1.1
	1.1.2.1;
next	;

1.1.1.1
date	2001.02.21.00.36.24;	author dlr;	state Exp;
branches;
next	;

1.1.2.1
date	2000.12.09.06.03.37;	author lucas;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2000.12.09.06.16.04;	author lucas;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2000.12.13.06.17.18;	author lucas;	state Exp;
branches;
next	;

1.4.2.1
date	2001.01.19.06.23.05;	author lucas;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2001.01.19.09.49.23;	author lucas;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2001.01.22.23.06.28;	author lucas;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2001.01.23.17.26.36;	author lucas;	state Exp;
branches;
next	;

1.8.2.1
date	2001.02.20.04.38.40;	author dlr;	state Exp;
branches;
next	;

1.12.6.1
date	2001.04.12.18.30.14;	author edk;	state Exp;
branches;
next	1.12.6.2;

1.12.6.2
date	2001.06.07.02.33.32;	author edk;	state Exp;
branches;
next	1.12.6.3;

1.12.6.3
date	2001.06.13.22.02.04;	author kmaples;	state Exp;
branches
	1.12.6.3.2.1;
next	;

1.12.6.3.2.1
date	2001.08.03.00.29.06;	author jasonb;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Commented out inappropriate bootstrapping of IZ db.
@
text
@#!/bin/bash

# Force the script to die if there are any errors.
# Manoj hopes this isn't a bashism
set -e

source ../../scripts/env.sh

if test -f /usr/bin/jikes ; then
    export JIKES=yes
fi

cd $SANDBOX

make

cd $SANDBOX/helm/
make install-data
cd $SANDBOX/$INSTANCE/
make install-data

cd $SANDBOX/helm/scripts

./remove_old_issue_dbs

./create_tigris_database 

# kmaples@@collab.net: this would try to bootstrap an issues db which would only
# be suitable in single-db mode - in any event, the db shouldn't exist until a
# project is created:
#
#cd $SANDBOX/issuezilla
#
#./checksetup.pl --database ${IZ_DATABASE_NAME} --user ${DATABASE_ADMIN_USER} \
#    --password ${DATABASE_ADMIN_PASSWORD}
#
# If it's found to be necessary to perform this sort of bootstrapping, it should
# be done by iterating over valid entries in HELM_PROJECT, and performing this
# by calls to helm/perl/scripts/ProjectAdd

cd $SANDBOX

./search/makeit

./scripts/sandboxctl start

cd $SANDBOX/helm/scripts

sleep 15

./anzu_admin --op=create --wipe

./install_system_crons
@


1.17
log
@Swapped cmd-line switches for posix-style args.
@
text
@d28 12
a39 4
cd $SANDBOX/issuezilla

./checksetup.pl --database ${IZ_DATABASE_NAME} --user ${DATABASE_ADMIN_USER} \
    --password ${DATABASE_ADMIN_PASSWORD}
@


1.16
log
@separate out the operation of installing data -- make install installs
conf files, templates, and java code; make install-data installs data.
explicitly call this in the install scripts.
@
text
@d30 2
a31 2
./checksetup.pl -d ${IZ_DATABASE_NAME} -u ${DATABASE_ADMIN_USER} \
    -p ${DATABASE_ADMIN_PASSWORD}
@


1.15
log
@Broke long line.
@
text
@d17 5
@


1.14
log
@updated to use anzu_admin instead of anzu_initialize as per edk
@
text
@d25 2
a26 1
./checksetup.pl -d ${IZ_DATABASE_NAME} -u ${DATABASE_ADMIN_USER} -p ${DATABASE_ADMIN_PASSWORD}
@


1.13
log
@Change sh scripts to use bash for os's that dont link /bin/sh to /bin/bash
@
text
@d37 1
a37 1
./anzu_initialize 
@


1.12
log
@Force death if there is an error. When a script in the middle dies
(say create_tigris_database because of a schema change :), it's much
easier to debug if the script doesn't look like it ran successfully.
@
text
@d1 1
a1 1
#!/bin/sh
@


1.12.6.1
log
@use setuidgid instead of su (more portable), and use anzu_admin instead
of anzu_initialize
@
text
@d37 1
a37 1
./anzu_admin --op=create --wipe
@


1.12.6.2
log
@port changes which separate out the install of data from the install of
code, templates, conf, and sql files
@
text
@a16 5
cd $SANDBOX/helm
make install-data
cd $SANDBOX/$INSTANCE
make install-data

@


1.12.6.3
log
@Reviewed by:  leonardr@@collab.net
Swapped cmd-line args for posix-style args.
@
text
@d30 1
a30 1
./checksetup.pl --database ${IZ_DATABASE_NAME} --user ${DATABASE_ADMIN_USER} --password ${DATABASE_ADMIN_PASSWORD}
@


1.12.6.3.2.1
log
@Solaris compatibility: Modified some scripts to explicitly use /bin/bash
as their interpreter.
Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d1 1
a1 1
#!/bin/bash
@


1.11
log
@Usesless passing of data to perl script that ignores it
Reviewed by:
@
text
@d3 4
@


1.10
log
@it helps to remove the db's before you create them not after
@
text
@d17 1
a17 1
./create_tigris_database $1
@


1.9
log
@updated to reflect the removal of populate_issues_db
@
text
@d15 2
a33 2

./remove_old_issue_dbs
@


1.8
log
@thought I fixed these as well...
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a34 2
./populate_issue_dbs

@


1.8.2.1
log
@Merging in changes from the HEAD.
@
text
@a14 2
./remove_old_issue_dbs

d32 4
@


1.7
log
@take out call to populate_repository
@
text
@d35 1
a35 1
./populate_issue_db
@


1.6
log
@fixed syntax error
@
text
@a16 2
./populate_repository

@


1.5
log
@reinserting use of the script
@
text
@d37 1
a37 1
./populate_issues_db
@


1.4
log
@adjusted for removal of populate_issues script
@
text
@d37 2
@


1.4.2.1
log
@reintroducing support for the populate_issues_db script
@
text
@a36 2
./populate_issues_db

@


1.4.2.2
log
@fixed syntax error
@
text
@d37 1
a37 1
./populate_issue_db
@


1.4.2.3
log
@take out call to populate_repository
@
text
@d17 2
@


1.4.2.4
log
@Thought I fixed this earlier but obviously didn't
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d35 1
a35 1
./populate_issue_dbs
@


1.3
log
@syntax fixes
@
text
@a36 2
./populate_issue_dbs

@


1.2
log
@correct location of env.sh
@
text
@d5 1
a5 1
if [ test -f /usr/bin/jikes ] ; then
@


1.1
log
@Initial import of scripts to install for both production and developers
@
text
@d3 1
a3 1
source scripts/env.sh
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d3 1
a3 1
source ../../scripts/env.sh
d5 1
a5 1
if test -f /usr/bin/jikes ; then
d15 1
a15 1
./remove_old_issue_dbs
d17 1
a17 1
./create_tigris_database $1
d34 4
@


1.1.2.1
log
@Initial import for scripts to install for both production and developers
@
text
@@


1.1.2.2
log
@correct location of env.sh
@
text
@d3 1
a3 1
source ../../scripts/env.sh
@


1.1.2.3
log
@sync with HEAD
@
text
@d5 1
a5 1
if test -f /usr/bin/jikes ; then
@


