head	1.13;
access;
symbols
	TIGRIS_1_1_0RC2:1.13
	TIGRIS_1_1_0RC1:1.13
	TIGRIS_1_1:1.13.0.6
	TIGRIS_1_0_8:1.13
	TIGRIS_1_0_8RC3:1.13
	TIGRIS_1_0_8RC2:1.13
	TIGRIS_1_0_8RC1:1.13
	TIGRIS_1_0_7:1.13
	TIGRIS_1_0_7RC3:1.13
	TIGRIS_1_0_7RC2:1.13
	TIGRIS_1_0_7RC1:1.13
	TIGRIS_1_0_6:1.13
	TIGRIS_1_0_6RC5:1.13
	TIGRIS_1_0_6RC4:1.13
	TIGRIS_1_0_6RC3:1.13
	TIGRIS_1_0_6RC2:1.13
	TIGRIS_1_0_6RC1:1.13
	TIGRIS_1_0_5:1.13
	TIGRIS_1_0_5RC6:1.13
	TIGRIS_1_0_5RC5:1.13
	TIGRIS_1_0_5RC4:1.13
	TIGRIS_1_0_5RC3:1.13
	TIGRIS_1_0_5RC2:1.13
	TIGRIS_1_0_5RC1:1.13
	TIGRIS_1_0_4:1.13
	TIGRIS_1_0_3:1.13
	TIGRIS_1_0_2:1.13
	TIGRIS_1_0_1:1.13
	TIGRIS_1_0:1.13.0.8
	TIGRIS_1_0_0:1.13
	TIGRIS_1_0_0_RC1:1.13.0.4
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.13
	TIGRIS_0_9_2_3:1.13
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.13
	TIGRIS_0_9_2_1:1.13
	TIGRIS_0_9_2:1.13.0.2
	TIGRIS_0_9_0:1.11.0.2
	TIGRIS_0_8_4:1.10.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1
	OLDHELM:1.8.0.2
	TIGRIS_NOV_11_2000:1.8
	TIGRIS_SEP_13_2000:1.3.0.2
	TIGRIS_BASELINE:1.7;
locks; strict;
comment	@# @;


1.13
date	2001.01.05.23.31.11;	author kmaples;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.29.00.32.29;	author kmaples;	state Exp;
branches;
next	1.11;

1.11
date	2000.12.20.20.43.56;	author kmaples;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.21.19.07.09;	author kmaples;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.12.22.57.33;	author dlr;	state Exp;
branches;
next	1.8;

1.8
date	2000.09.27.19.00.58;	author kmaples;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.27.00.27.19;	author kmaples;	state Exp;
branches;
next	1.6;

1.6
date	2000.09.26.05.51.17;	author kmaples;	state Exp;
branches;
next	1.5;

1.5
date	2000.09.22.23.42.20;	author kmaples;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.22.21.40.32;	author kmaples;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.12.16.28.06;	author kmaples;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.08.18.17.15;	author kmaples;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.06.18.56.47;	author kmaples;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.17.27;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.35.52;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.13
log
@It may or may not be a good idea, but here it is - the ability to edit
(rename) projects.
@
text
@#!/bin/sh

# A script to test out the tigris perl event scripts.
# Check argument list against ParentChildArgumentBridge.pl,
# which defines the args that all the parent scripts take:

# domain proj_name proj_id brand desc mod_name mod_desc is_web iz_realname iz_username iz_role 

echo Calling ProjectAdd
./ProjectAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=normal_project \
    --module_description='Module Description_w' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user 

./ProjectAdd  --domain_name=domain.org --project_name=project01 --project_id=02 \
    --brand_name=BRAND --description='Project Description01' --module_name=normal_project \
    --module_description='Module Description_x' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

./ProjectAdd  --domain_name=domain.org --project_name=project10 --project_id=03 \
    --brand_name=BRAND --description='Project Description10' --module_name=private_project \
    --module_description='Module Description_y' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

./ProjectAdd  --domain_name=domain.org --project_name=project11 --project_id=04 \
    --brand_name=BRAND --description='Project Description11' --module_name=private_project \
    --module_description='Module Description_z' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

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

echo Calling ModuleAdd 
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module  --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname01 \
    --module_description=private_module --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname10 \
    --module_description=web_module --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname11 \
    --module_description=private_web_mod --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

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

echo Calling MemberAdd
./MemberAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User One':'User Two':'User Three' --issues_username=uname1:uname2:uname3 \
    --issues_role=user
./MemberAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin 
echo
echo ================

## sleep 240;
## exit;

echo Calling MemberDelete
./MemberDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User One':'User Two':'User Three' --issues_username=uname1:uname2:uname3 \
    --issues_role=user
./MemberDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin
./MemberDelete  --domain_name=domain.org --project_name='*All projects in domain' --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin
echo 
echo ================

echo Calling ModuleDelete
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname01 \
    --module_description=private_module  --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname10 \
    --module_description=web_module --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname11 \
    --module_description=private_web_mod  --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
echo
echo ================

echo Calling ProjectEdit    
./ProjectEdit --project_name=project00 --new_project_name=project20 --project_id=01 


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

echo Calling ProjectDelete
./ProjectDelete  --domain_name=domain.org --project_name=project20 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' \
    --module_name=normal_project --module_description='Module Description_w' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project01 --project_id=02 \
    --brand_name=BRAND --description='Project Description01' \
    --module_name=normal_project --module_description='Module Description_x' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project10 --project_id=03 \
    --brand_name=BRAND --description='Project Description10' \
    --module_name=private_project --module_description='Module Description_y' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project11 --project_id=04 \
    --brand_name=BRAND --description='Project Description11' \
    --module_name=private_project --module_description='Module Description_z' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
echo
echo ================

exit;
@


1.12
log
@Changes to facilitate single-db mode - now the behavior of user delete
depends on the database setting and the type of delete instruction being
sent.
@
text
@d110 6
d117 1
a117 1
./ProjectDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
@


1.11
log
@I told edk I would, and so I did; the perl project creation scripts now use
posix-style named args.
@
text
@d82 5
@


1.10
log
@Updated issuezillal-project-delete to do mysql dump of db, drop the db, and
then delete relevant records in the mysql:db table.
@
text
@d10 20
a29 4
./ProjectAdd  domain.org project_name00 01 BRAND 'Project Description00' normal_project 'Module Description_w' 0 'User Name' username user 
./ProjectAdd  domain.org project_name01 02 BRAND 'Project Description01' normal_project 'Module Description_x' 0 'User Name' username user
./ProjectAdd  domain.org project_name10 03 BRAND 'Project Description10' private_project 'Module Description_y' 0 'User Name' username user
./ProjectAdd  domain.org project_name11 04 BRAND 'Project Description11' private_project 'Module Description_z' 0 'User Name' username user
d34 17
a50 4
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name01 private_module  0 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name10 web_module      1 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name11 private_web_mod 1 'User Name' username user
d55 10
a64 2
./MemberAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User One':'User Two':'User Three' uname1:uname2:uname3 user
./MemberAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'Admin One':'Admin Two':'Admin Three' admin1:admin2:admin3 admin 
d72 10
a81 2
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User One':'User Two':'User Three' uname1:uname2:uname3 user
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'Admin One':'Admin Two':'Admin Three' admin1:admin2:admin3 admin
d86 16
a101 4
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name01 private_module  0 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name10 web_module      1 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name11 private_web_mod 1 'User Name' username user
d106 16
a121 4
./ProjectDelete  domain.org project_name00 01 BRAND 'Project Description00' normal_project 'Module Description_w' 0 'User Name' username user
./ProjectDelete  domain.org project_name01 02 BRAND 'Project Description01' normal_project 'Module Description_x' 0 'User Name' username user
./ProjectDelete  domain.org project_name10 03 BRAND 'Project Description10' private_project 'Module Description_y' 0 'User Name' username user
./ProjectDelete  domain.org project_name11 04 BRAND 'Project Description11' private_project 'Module Description_z' 0 'User Name' username user
@


1.9
log
@Resolved merge conflicts.
@
text
@d34 6
a54 5

echo Calling MemberDelete
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User One':'User Two':'User Three' uname1:uname2:uname3 user
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'Admin One':'Admin Two':'Admin Three' admin1:admin2:admin3 admin

@


1.8
log
@Because sometimes your hack isn't as clever as you thought it was ... changed
the way in which the number of columns in each table is determined before
inserts are performed so that it does it the hard way - selects the table
description, then iterates over the rows in the description.  Reliable, but
ugly; this addresses problems that would occur if the schema had been changed
and there was no previously existing data in the table.
@
text
@d4 4
d10 4
a13 4
./ProjectAdd  domain.org project_name00 BRAND 'Project Description00' normal_project 'Module Description_w' 0 0 0 password_w
./ProjectAdd  domain.org project_name01 BRAND 'Project Description01' normal_project 'Module Description_x' 0 0 0 password_x
./ProjectAdd  domain.org project_name10 BRAND 'Project Description10' private_project 'Module Description_y' 0 0 1 password_y
./ProjectAdd  domain.org project_name11 BRAND 'Project Description11' private_project 'Module Description_z' 0 0 1 password_z
d18 10
a27 4
./ModuleAdd  domain.org project_name00 BRAND 'Project Description00' module_name00 normal_module   0 0 0 password_w
./ModuleAdd  domain.org project_name00 BRAND 'Project Description00' module_name01 private_module  0 0 1 password_w
./ModuleAdd  domain.org project_name00 BRAND 'Project Description00' module_name10 web_module      1 0 0 password_w
./ModuleAdd  domain.org project_name00 BRAND 'Project Description00' module_name11 private_web_mod 1 0 1 password_w
d35 4
a38 4
./ModuleDelete  domain.org project_name00 BRAND 'Project Description00' module_name00 normal_module   0 0 0 password_w
./ModuleDelete  domain.org project_name00 BRAND 'Project Description00' module_name01 private_module  0 0 1 password_w
./ModuleDelete  domain.org project_name00 BRAND 'Project Description00' module_name10 web_module      1 0 0 password_w
./ModuleDelete  domain.org project_name00 BRAND 'Project Description00' module_name11 private_web_mod 1 0 1 password_w
d43 4
a46 4
./ProjectDelete  domain.org project_name00 BRAND 'Project Description00' normal_project 'Module Description_w' 0 0 0 password_w
./ProjectDelete  domain.org project_name01 BRAND 'Project Description01' normal_project 'Module Description_x' 0 0 0 password_x
./ProjectDelete  domain.org project_name10 BRAND 'Project Description10' private_project 'Module Description_y' 0 0 1 password_y
./ProjectDelete  domain.org project_name11 BRAND 'Project Description11' private_project 'Module Description_z' 0 0 1 password_z
d50 5
a55 1

@


1.7
log
@Added tests for number of columns before performing inserts, and padding out
the insert to match that number.  This is to avoid a potential problem in
upgrading to newer versions of bugzilla where the schema has been changed,
which meant that inserts of fixed-length would have choked.  Fixed a bug in
bugzilla-module-delete which was preventing some deletes from occuring.
@
text
@d22 1
a22 1
exit;
@


1.6
log
@Rewrote bugzilla-project-add to use DBI; misc. bugfixes around conversion
to DBI in related scripts.
@
text
@d22 1
a22 1
#exit;
@


1.5
log
@Many changes and fixes; specified arguments to pass to bugzilla-*-delete
scripts; fixed some omissions preventing project dirs from being properly
deleted, etc.
@
text
@d22 1
@


1.4
log
@Fixed test harness to match the current state of the scripts being tested.
@
text
@d21 2
@


1.3
log
@Stubs for bugzilla-related functions
@
text
@d5 5
a9 8
# The NULLs here represent four values which are currently defined by
# token, but will eventually be passed in by the servlet.

echo Calling ProjectAdd: project test
./ProjectAdd  domain.org project_name00 BRAND DESC normal_project - - 0
./ProjectAdd  domain.org project_name01 BRAND DESC normal_project - - 0
./ProjectAdd  domain.org project_name10 BRAND DESC private_project - - 1
./ProjectAdd  domain.org project_name11 BRAND DESC private_project - - 1
d13 5
a17 5
echo Calling ProjectDelete
./ProjectDelete  domain.org project_name00 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete  domain.org project_name01 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete  domain.org project_name10 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete  domain.org project_name11 BRAND DESC MOD_NAM MOD_DESC - - -
d21 5
a25 8
echo Calling ProjectAdd: pre-module test
./ProjectAdd  domain.org project_name BRAND DESC normal_project - - 0

echo Calling ModuleAdd
./ModuleAdd  domain.org project_name BRAND DESC module_name00 normal_module   0 - 0
./ModuleAdd  domain.org project_name BRAND DESC module_name01 private_module  0 - 1
./ModuleAdd  domain.org project_name BRAND DESC module_name10 web_module      1 - 0
./ModuleAdd  domain.org project_name BRAND DESC module_name11 private_web_mod 1 - 1
d29 5
a33 14
echo Calling ModuleEdit
./ModuleEdit  domain.org project_name BRAND DESC module_name00 normal_module_revised      0 0 0
./ModuleEdit  domain.org project_name BRAND DESC module_name01 private_module_revised     0 0 0
./ModuleEdit  domain.org project_name BRAND DESC module_name10 web_module_revised         0 0 0
./ModuleEdit  domain.org project_name BRAND DESC module_name11 private_web_module_revised 0 0 0

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

echo Calling ModuleDelete
./ModuleDelete  domain.org project_name BRAND DESC module_name00 NULL 0 - -
./ModuleDelete  domain.org project_name BRAND DESC module_name01 NULL 0 - -
./ModuleDelete  domain.org project_name BRAND DESC module_name10 NULL 1 - -
./ModuleDelete  domain.org project_name BRAND DESC module_name11 NULL 1 - -
a36 3
echo Calling ProjectDelete
./ProjectDelete  domain.org project_name BRAND DESC normal_project - - 0

a37 2


@


1.2
log
@Minor changes; mostly formatting
@
text
@d9 4
a12 4
./ProjectAdd NULL NULL domain.org project_name00 BRAND DESC normal_project - - 0
./ProjectAdd NULL NULL domain.org project_name01 BRAND DESC normal_project - - 0
./ProjectAdd NULL NULL domain.org project_name10 BRAND DESC private_project - - 1
./ProjectAdd NULL NULL domain.org project_name11 BRAND DESC private_project - - 1
d17 4
a20 4
./ProjectDelete NULL NULL domain.org project_name00 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete NULL NULL domain.org project_name01 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete NULL NULL domain.org project_name10 BRAND DESC MOD_NAM MOD_DESC - - -
./ProjectDelete NULL NULL domain.org project_name11 BRAND DESC MOD_NAM MOD_DESC - - -
d25 1
a25 1
./ProjectAdd NULL NULL domain.org project_name BRAND DESC normal_project - - 0
d28 4
a31 4
./ModuleAdd NULL NULL domain.org project_name BRAND DESC module_name00 normal_module   0 - 0
./ModuleAdd NULL NULL domain.org project_name BRAND DESC module_name01 private_module  0 - 1
./ModuleAdd NULL NULL domain.org project_name BRAND DESC module_name10 web_module      1 - 0
./ModuleAdd NULL NULL domain.org project_name BRAND DESC module_name11 private_web_mod 1 - 1
d36 4
a39 4
./ModuleEdit NULL NULL domain.org project_name BRAND DESC module_name00 normal_module_revised      0 0 0
./ModuleEdit NULL NULL domain.org project_name BRAND DESC module_name01 private_module_revised     0 0 0
./ModuleEdit NULL NULL domain.org project_name BRAND DESC module_name10 web_module_revised         0 0 0
./ModuleEdit NULL NULL domain.org project_name BRAND DESC module_name11 private_web_module_revised 0 0 0
d45 4
a48 4
./ModuleDelete NULL NULL domain.org project_name BRAND DESC module_name00 NULL 0 - -
./ModuleDelete NULL NULL domain.org project_name BRAND DESC module_name01 NULL 0 - -
./ModuleDelete NULL NULL domain.org project_name BRAND DESC module_name10 NULL 1 - -
./ModuleDelete NULL NULL domain.org project_name BRAND DESC module_name11 NULL 1 - -
d53 1
a53 1
./ProjectDelete NULL NULL domain.org project_name BRAND DESC normal_project - - 0
@


1.1
log
@Removed depricated tokens APACHE_HOST_IP and APACHE_HELM_CONF from the arg list; adjusted child scripts accordingly.  Introduced new test harness (work in progress).
@
text
@d8 1
a8 1
echo Calling ProjectAdd
d24 3
d51 3
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@a3 2
# Check argument list against ParentChildArgumentBridge.pl,
# which defines the args that all the parent scripts take:
d5 2
a6 1
# domain proj_name proj_id brand desc mod_name mod_desc is_web iz_realname iz_username iz_role 
d9 4
a12 4
./ProjectAdd  domain.org project_name00 01 BRAND 'Project Description00' normal_project 'Module Description_w' 0 'User Name' username user 
./ProjectAdd  domain.org project_name01 02 BRAND 'Project Description01' normal_project 'Module Description_x' 0 'User Name' username user
./ProjectAdd  domain.org project_name10 03 BRAND 'Project Description10' private_project 'Module Description_y' 0 'User Name' username user
./ProjectAdd  domain.org project_name11 04 BRAND 'Project Description11' private_project 'Module Description_z' 0 'User Name' username user
d16 5
a20 5
echo Calling ModuleAdd 
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name01 private_module  0 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name10 web_module      1 'User Name' username user
./ModuleAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name11 private_web_mod 1 'User Name' username user
d24 5
a28 3
echo Calling MemberAdd
./MemberAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User One':'User Two':'User Three' uname1:uname2:uname3 user
./MemberAdd  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'Admin One':'Admin Two':'Admin Three' admin1:admin2:admin3 admin 
d32 5
a36 2
## sleep 240;
## exit;
a37 5
echo Calling ModuleDelete
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name01 private_module  0 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name10 web_module      1 'User Name' username user
./ModuleDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name11 private_web_mod 1 'User Name' username user
d41 5
a45 5
echo Calling ProjectDelete
./ProjectDelete  domain.org project_name00 01 BRAND 'Project Description00' normal_project 'Module Description_w' 0 'User Name' username user
./ProjectDelete  domain.org project_name01 02 BRAND 'Project Description01' normal_project 'Module Description_x' 0 'User Name' username user
./ProjectDelete  domain.org project_name10 03 BRAND 'Project Description10' private_project 'Module Description_y' 0 'User Name' username user
./ProjectDelete  domain.org project_name11 04 BRAND 'Project Description11' private_project 'Module Description_z' 0 'User Name' username user
d49 1
a49 3
echo Calling MemberDelete
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'User One':'User Two':'User Three' uname1:uname2:uname3 user
./MemberDelete  domain.org project_name00 01 BRAND 'Project Description00' module_name00 normal_module   0 'Admin One':'Admin Two':'Admin Three' admin1:admin2:admin3 admin
a51 1
exit;
@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d10 4
a13 20
./ProjectAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=normal_project \
    --module_description='Module Description_w' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user 

./ProjectAdd  --domain_name=domain.org --project_name=project01 --project_id=02 \
    --brand_name=BRAND --description='Project Description01' --module_name=normal_project \
    --module_description='Module Description_x' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

./ProjectAdd  --domain_name=domain.org --project_name=project10 --project_id=03 \
    --brand_name=BRAND --description='Project Description10' --module_name=private_project \
    --module_description='Module Description_y' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

./ProjectAdd  --domain_name=domain.org --project_name=project11 --project_id=04 \
    --brand_name=BRAND --description='Project Description11' --module_name=private_project \
    --module_description='Module Description_z' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

d18 4
a21 17
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module  --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname01 \
    --module_description=private_module --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname10 \
    --module_description=web_module --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname11 \
    --module_description=private_web_mod --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user

d26 2
a27 10
./MemberAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User One':'User Two':'User Three' --issues_username=uname1:uname2:uname3 \
    --issues_role=user
./MemberAdd  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin 
a33 19
echo Calling MemberDelete
./MemberDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User One':'User Two':'User Three' --issues_username=uname1:uname2:uname3 \
    --issues_role=user
./MemberDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin
./MemberDelete  --domain_name=domain.org --project_name='*All projects in domain' --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='Admin One':'Admin Two':'Admin Three' --issues_username=admin1:admin2:admin3 \
    --issues_role=admin
echo 
echo ================

d35 4
a38 16
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname00 \
    --module_description=normal_module   --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname01 \
    --module_description=private_module  --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname10 \
    --module_description=web_module --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ModuleDelete  --domain_name=domain.org --project_name=project00 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' --module_name=modname11 \
    --module_description=private_web_mod  --is_web=1 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
a41 6
echo Calling ProjectEdit    
./ProjectEdit --project_name=project00 --new_project_name=project20 --project_id=01 


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

d43 4
a46 16
./ProjectDelete  --domain_name=domain.org --project_name=project20 --project_id=01 \
    --brand_name=BRAND --description='Project Description00' \
    --module_name=normal_project --module_description='Module Description_w' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project01 --project_id=02 \
    --brand_name=BRAND --description='Project Description01' \
    --module_name=normal_project --module_description='Module Description_x' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project10 --project_id=03 \
    --brand_name=BRAND --description='Project Description10' \
    --module_name=private_project --module_description='Module Description_y' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
./ProjectDelete  --domain_name=domain.org --project_name=project11 --project_id=04 \
    --brand_name=BRAND --description='Project Description11' \
    --module_name=private_project --module_description='Module Description_z' --is_web=0 \
    --issues_realname='User Name' --issues_username=username --issues_role=user
d50 5
d56 1
@


