head	1.3;
access;
symbols
	TIGRIS_NOV_12_2000:1.2
	OLDHELM:1.2.0.4
	TIGRIS_NOV_11_2000:1.2
	TIGRIS_SEP_13_2000:1.2.0.2
	TIGRIS_BASELINE:1.2;
locks; strict;
comment	@# @;


1.3
date	2000.11.21.21.43.44;	author kmaples;	state dead;
branches;
next	1.2;

1.2
date	2000.04.29.00.04.10;	author jrobbins;	state Exp;
branches;
next	1.1;

1.1
date	2000.03.24.20.31.59;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Defunct.
@
text
@#!/usr/bin/perl -w

# a perl script to test out the tigris perl event scripts

echo Calling ProjectAdd
./ProjectAdd $SANDBOX project_name00 domain.org BRAND normal_project 0
./ProjectAdd $SANDBOX project_name01 domain.org BRAND normal_project 0
./ProjectAdd $SANDBOX project_name10 domain.org BRAND private_project 1
./ProjectAdd $SANDBOX project_name11 domain.org BRAND private_project 1
echo
echo ================

echo Calling ProjectEdit
./ProjectEdit $SANDBOX project_name00 domain.org BRAND nomal_still_normal 0
./ProjectEdit $SANDBOX project_name01 domain.org BRAND normal_becomes_private 1
./ProjectEdit $SANDBOX project_name10 domain.org BRAND private_becomes_normal 0
./ProjectEdit $SANDBOX project_name11 domain.org BRAND private_still_private 1
echo
echo ================

echo Calling ProjectDelete
./ProjectDelete $SANDBOX project_name00 domain.org BRAND
./ProjectDelete $SANDBOX project_name01 domain.org BRAND
./ProjectDelete $SANDBOX project_name10 domain.org BRAND
./ProjectDelete $SANDBOX project_name11 domain.org BRAND
#TODO: use BRAND in sorry page
echo
echo ================

#TODO: add list description so that project_mail.html can be generated automatically

echo Calling ProjMailAdd
./ProjMailAdd $SANDBOX project_name domain.org BRAND list_name list_options description
echo
echo ================

echo Calling ProjMailEdit
./ProjMailEdit $SANDBOX project_name domain.org BRAND list_name list_options description
#TODO: test individual options
echo
echo ================

echo Calling ProjMailDelete
./ProjMailDelete $SANDBOX project_name domain.org BRAND list_name
echo
echo ================

echo Calling ModuleAdd
./ModuleAdd $SANDBOX project_name domain.org BRAND module_name00 normal_module   0 0
./ModuleAdd $SANDBOX project_name domain.org BRAND module_name01 private_module  0 1
./ModuleAdd $SANDBOX project_name domain.org BRAND module_name10 web_module      1 0
./ModuleAdd $SANDBOX project_name domain.org BRAND module_name11 private_web_mod 1 1
echo
echo ================

echo Calling ModuleEdit
./ModuleEdit $SANDBOX project_name domain.org BRAND module_name00 normal_module_revised   0 0 0

echo
echo ================

echo Calling ModuleDelete
./ModuleDelete $SANDBOX project_name domain.org BRAND module_name00 0 0
echo
echo ================

echo Calling UserAdd
./UserAdd $SANDBOX user_login_id domain.org BRAND "User Real Name" user@@email.com password ActiveDeveloper
echo
echo ================

echo Calling UserEdit
./UserEdit $SANDBOX user_login_id domain.org BRAND "User Real Name" user@@email.com password ModuleOwner
echo
echo ================

echo Calling UserDelete
./UserDelete $SANDBOX user_login_id domain.org BRAND user@@email.com
echo
echo

@


1.2
log
@initial checkin
@
text
@@


1.1
log
@initial checkin of new event-driven scripts for tigris
@
text
@d6 4
a9 4
./ProjectAdd project_name00 domain.org BRAND normal_project 0
./ProjectAdd project_name01 domain.org BRAND normal_project 0
./ProjectAdd project_name10 domain.org BRAND private_project 1
./ProjectAdd project_name11 domain.org BRAND private_project 1
d14 4
a17 4
./ProjectEdit project_name00 domain.org BRAND nomal_still_normal 0
./ProjectEdit project_name01 domain.org BRAND normal_becomes_private 1
./ProjectEdit project_name10 domain.org BRAND private_becomes_normal 0
./ProjectEdit project_name11 domain.org BRAND private_still_private 1
d22 4
a25 4
./ProjectDelete project_name00 domain.org BRAND
./ProjectDelete project_name01 domain.org BRAND
./ProjectDelete project_name10 domain.org BRAND
./ProjectDelete project_name11 domain.org BRAND
d33 1
a33 1
./ProjMailAdd project_name domain.org BRAND list_name list_options description
d38 1
a38 1
./ProjMailEdit project_name domain.org BRAND list_name list_options description
d44 1
a44 1
./ProjMailDelete project_name domain.org BRAND list_name
d49 4
a52 4
./ModuleAdd project_name domain.org BRAND module_name00 normal_module   0 0
./ModuleAdd project_name domain.org BRAND module_name01 private_module  0 1
./ModuleAdd project_name domain.org BRAND module_name10 web_module      1 0
./ModuleAdd project_name domain.org BRAND module_name11 private_web_mod 1 1
d57 1
a57 1
./ModuleEdit project_name domain.org BRAND module_name00 normal_module_revised   0 0 0
d63 1
a63 1
./ModuleDelete project_name domain.org BRAND module_name00 0 0
d68 1
a68 1
./UserAdd user_login_id domain.org BRAND "User Real Name" user@@email.com password ActiveDeveloper
d73 1
a73 1
./UserEdit user_login_id domain.org BRAND "User Real Name" user@@email.com password ModuleOwner
d78 1
a78 1
./UserDelete user_login_id domain.org BRAND user@@email.com
@

