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


1.2
date	2001.04.05.00.32.58;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.17.07.50.48;	author leonardr;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2001.04.05.00.49.42;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Added special case project group membership; this should have been in there from the beginning, but evidentally it wasn't.
@
text
@##############################################################################
# All public projects for a domain go into that domain's public group.

insert into HELM_PROJECT_PROJECTGROUP (PROJECT_ID, PROJECT_GROUP_ID)
   select distinct Project.PROJECT_ID, G.PROJECT_ID
     from HELM_PROJECT as Project,
          HELM_PROJECT as G
     where Project.DOMAIN_ID = G.DOMAIN_ID
       and (Project.TYPE = 'base' or Project.TYPE = 'category' or
            Project.TYPE = 'group')
       and Project.LICENSE != 'Proprietary'
       and G.TYPE = 'domain'
       and G.Name = '*All public projects in domain'
       and Project.NAME != 'www' and Project.NAME != 'look'
;

##############################################################################
# All projects for a domain go into that domain's group.

insert into HELM_PROJECT_PROJECTGROUP (PROJECT_ID, PROJECT_GROUP_ID)
   select distinct Project.PROJECT_ID, G.PROJECT_ID
     from HELM_PROJECT as Project,
          HELM_PROJECT as G
     where Project.DOMAIN_ID = G.DOMAIN_ID
       and (Project.TYPE = 'base' or Project.TYPE = 'category' or
            Project.TYPE = 'group'
	    or Project.NAME='*All public projects in domain')
       and G.TYPE = 'domain'
;

##############################################################################
# All projects for the host go into yet another group.

insert into HELM_PROJECT_PROJECTGROUP (PROJECT_ID, PROJECT_GROUP_ID)
   select distinct Project.PROJECT_ID, G.PROJECT_ID
     from HELM_PROJECT as Project,
          HELM_PROJECT as G
     where ((Project.TYPE = 'base' or Project.TYPE = 'category' or
             Project.TYPE = 'group')
	    or Project.Name = "*All projects in domain" 
	    or Project.Name = "*All public projects in domain")
       and G.NAME = "**All projects on host"
       
;

@


1.1
log
@Added scripts to convert from Tigris Classic (tm) to Tigris 1.0.0 (tm). Lovely. A few TODOs: 1) Convert project_mlists into Anzu options. 2) Figure out what to do with the domain_config table. 3) Put in the Eyebrowse tables. 4) Plug in the Bugzilla -> Issuezilla conversion script (yet to be written). That's all for today, I'm going home.
@
text
@d26 2
a27 1
            Project.TYPE = 'group')
@


1.1.2.1
log
@applying buddied change from leonardr from HEAD to branch
@
text
@d26 1
a26 2
            Project.TYPE = 'group'
	    or Project.NAME='*All public projects in domain')
@


