head	1.5;
access;
symbols
	TIGRIS_1_1_0RC2:1.2.6.2
	TIGRIS_1_1_0RC1:1.2.6.2
	TIGRIS_1_1:1.2.6.2.0.2
	TIGRIS_1_0_8:1.2.6.2
	TIGRIS_1_0_8RC3:1.2.6.2
	TIGRIS_1_0_8RC2:1.2.6.2
	TIGRIS_1_0_8RC1:1.2.6.2
	TIGRIS_1_0_7:1.2.6.2
	TIGRIS_1_0_7RC3:1.2.6.2
	TIGRIS_1_0_7RC2:1.2.6.2
	TIGRIS_1_0_7RC1:1.2.6.2
	TIGRIS_1_0_6:1.2.6.2
	TIGRIS_1_0_6RC5:1.2.6.2
	TIGRIS_1_0_6RC4:1.2.6.2
	TIGRIS_1_0_6RC3:1.2.6.2
	TIGRIS_1_0_6RC2:1.2.6.2
	TIGRIS_1_0_6RC1:1.2.6.2
	TIGRIS_1_0_5:1.2.6.2
	TIGRIS_1_0_5RC6:1.2.6.2
	TIGRIS_1_0_5RC5:1.2.6.2
	TIGRIS_1_0_5RC4:1.2.6.2
	TIGRIS_1_0_5RC3:1.2.6.2
	TIGRIS_1_0_5RC2:1.2.6.2
	TIGRIS_1_0_5RC1:1.2.6.1
	TIGRIS_1_0_4:1.2
	TIGRIS_1_0_3:1.2
	TIGRIS_1_0_2:1.2
	TIGRIS_1_0_1:1.2
	TIGRIS_1_0:1.2.0.6
	TIGRIS_1_0_0:1.2
	TIGRIS_1_0_0_RC1:1.2.0.2;
locks; strict;
comment	@# @;


1.5
date	2001.06.28.00.35.14;	author ms;	state dead;
branches;
next	1.4;

1.4
date	2001.05.17.17.02.51;	author edk;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.13.02.24.36;	author stack;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.26.21.41.51;	author leonardr;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	2001.03.21.01.24.56;	author leonardr;	state Exp;
branches;
next	;

1.2.6.1
date	2001.05.13.03.24.29;	author jrobbins;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	2001.05.17.17.41.35;	author edk;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Factored out the migrate scripts in each migration path into master migrate.
upgrade_tigris calls migrate which in turn does the proper actions for the migration path to upgrade.
Added ScriptOrder.lst to each migration path which lists scripts to run, takes relative or full paths.
migrateIZ is the script I wasnt easily able to factor away from the old classic-1.0.0/migrate script so it gets called in the ScriptOrder.lst.
@
text
@#/bin/sh
DIR=__SANDBOX__/helm/scripts/migration/0.8.4-0.9.2

echo Started migration from from 0.8.4 to 0.9.2.

echo Running LoadOrder SQL scripts.
for i in `cat LoadOrder.lst`
do
 echo "Running $i against $DATABASE_HOST"
 mysql -u__DATABASE_USER__ -p__DATABASE_PASSWORD__ \
    --host=__DATABASE_HOST__ --port=__DATABASE_PORT__ \
    __DATABASE_NAME__ < $DIR/$i
done 
echo Done running LoadOrder SQL scripts.

echo Deleting actions.
$DIR/deleteActions.pl
echo Done deleting actions.

echo Deleting test users.
$DIR/deleteTestUsers.pl
echo Done deleting test users.

echo Upgrading list type names in anzu
$DIR/upgrade_anzu
echo Done upgrading list type names

echo Done with migration from from 0.8.4 to 0.9.2.
@


1.4
log
@for anzu, list type names should be changed when upgrading from 0.8.4
to 0.9.2
@
text
@@


1.3
log
@Make migrations work against a remote database.
@
text
@d24 4
@


1.2
log
@Added script to remove actions from the database.
@
text
@d9 4
a12 2
 echo "Running $i"
 mysql -u__DATABASE_USER__ -p__DATABASE_PASSWORD__ __DATABASE_NAME__ < $DIR/$i
d24 1
a24 1
echo Done with migration from from 0.8.4 to 0.9.2.@


1.2.6.1
log
@buddying stacks changes from HEAD to branch
@
text
@d9 2
a10 4
 echo "Running $i against $DATABASE_HOST"
 mysql -u__DATABASE_USER__ -p__DATABASE_PASSWORD__ \
    --host=__DATABASE_HOST__ --port=__DATABASE_PORT__ \
    __DATABASE_NAME__ < $DIR/$i
d22 1
a22 1
echo Done with migration from from 0.8.4 to 0.9.2.
@


1.2.6.2
log
@upgrade mailing list type names
Submitted by:  Ed Korthof <edk@@collab.net>
Reviewed by:   Michael Stack <stack@@collab.net>
@
text
@a23 4
echo Upgrading list type names in anzu
$DIR/upgrade_anzu
echo Done upgrading list type names

@


1.1
log
@Got rid of my sandbox information.
@
text
@d2 5
d10 1
a10 1
 mysql -u__DATABASE_USER__ -p__DATABASE_PASSWORD__ __DATABASE_NAME__ < $i
d12 9
d22 1
a22 1
./deleteTestUsers.pl
@

