[whups] new to whups

Gary Weinreb gweinreb@rocksolidsystems.com
Tue Nov 12 14:47:40 2002


At 09:29 AM 11/12/2002 -0500, Chuck Hagenbuch wrote:
>Quoting Gary Weinreb <gweinreb@rocksolidsystems.com>:
>
> > Wow, I had a great weekend.  Wedding festivities in the N.C.
> > mtns.  Fall.  Beautiful.
>
>Nice!
>
> > Hmmmm.  It seems like I got a bunch of cool stuff happening right before I
> > left, successfully merging States and Priorities from default Types,
> > designated by beginning the Type name with an underscore, i.e. "_BASE",
> > "_Radio Spot", etc., checking for and skipping duplicates...
> >
> > I've got a busy day tomorrow, but hopefully can clean it all up, diff the
> > files (there are quite a few changed files), and send them in...
> >
> > If no one points out any glaring flaws in this logic, I'll do that
> > tomorrow night...
>
>Not sure about the underscore; can you be a bit more explicit (and post this
>part to the listserver)? If you generate your diff with cvs diff -urN, it'll
>get all files for you. Send it to the list and I'll take a look.

Sorry 'bout that, it was late and I just hit "reply".  I look for 
whups_types.type_name beginning with an underscore "_" to denote that this 
is a default, or template Type.  I created Driver/sql functions called 
getAllButDefaultTypes, and getAllDefaultTypes, changed the calls in 
Admin/admin from getAllTypes to getAllButDefaultTypes, and use the Default 
ones in my Merging methods...

It would be easy enough to change the "_" to something else or even make it 
a preference...

Gotta run, I'll post the diffs tonight...

-g

>-chuck
>
>--
>Charles Hagenbuch, <chuck@horde.org>
>"People ask me all the time what it will be like living without otters."
>  - Google, thanks to Harpers



More information about the whups mailing list