<?xml version="1.0" ?>

<kc>

<title>GNUe Traffic</title>

<author contact="mailto:psu@manorcon.demon.co.uk">Peter Sullivan</author>

<issue num="37" date="13 Jul 2002 00:00:00 -0800" />

<headquote>
Security release of DCL this week
</headquote>

<intro>

<p>This Cousin covers the three main 
mailing lists for the GNU Enterprise project,
<a href="http://mail.gnu.org/mailman/listinfo/gnue">gnue</a>, 
<a href="http://mail.gnu.org/mailman/listinfo/gnue-dev">gnue-dev</a> and 
<a href="http://mail.gnu.org/mailman/listinfo/gnue-announce">gnue-announce</a>.  
It also covers the #gnuenterprise IRC channel. A great deal of 
development discussion for this project goes on in IRC. You can find 
#gnuenterprise on irc.openprojects.net:6667, or you can review the 
<a href="http://www.gnuenterprise.org/irc-logs/">logs</a>.
For more information about the GNU Enterprise project, see their 
home page at <a href="http://www.gnuenterprise.org">
http://www.gnuenterprise.org</a>.</p>

</intro>


<section 
   title="GNUe CVS vs. official releases" 
   subject="[IRC] 04 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.04Jul2002" 
   startdate="03 Jul 2002 23:00:00 -0800" 
   enddate="03 Jul 2002 23:00:00 -0800">

<p>Jason Smith (jhs) asked <quote who="Jason Smith">how 
different the latest release version is from CVS 
i.e. should I even bother with release?</quote>
Derek Neighbors (derek) said <quote who="Derek Neighbors">its 
not all that different</quote> as of time of writing, but 
<quote who="Derek Neighbors">it depends on your interest in 
gnue. If you are just wanting quick eval and end user 
perspective stick with release. If you want to be more 'active'
then i would take cvs. If you are on windows i would take 
release.</quote> Jason Cater (jcater) said that CVS was fairly stable as of 
time of writing, as he had <quote who="Jason Cater">fixed 
various "oddities" in cvs today - /me is working on a 
rental property management app using GNUe and it is coming 
along very nicely/quickly</quote>.</p>

</section>


<section 
   title="Installing GNUe from CVS" 
   subject="[IRC] 04 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.04Jul2002" 
   startdate="03 Jul 2002 23:00:00 -0800" 
   enddate="03 Jul 2002 23:00:00 -0800">

<p>Jason Smith (jhs) asked about installation documentation - 
<quote who="Jason Smith">will the install-from-CVS doc 
suffice?</quote> Derek thought so, but noted 
<quote who="Derek Neighbors">there is an 'installing cvs 
for RedHat doc floating around'</quote>, but noted 
<quote who="Derek Neighbors">if debian you are looking at 
about a 3 minute install</quote>. Although there were no
official debian packages for GNUe yet, 
<quote who="Derek Neighbors">apt-get install psycopg</quote> 
was a quick way of getting most of the dependancies. 
Jason said he would probably use GNUe with MySQL initially. 
Derek said that MySQL was <quote who="Derek Neighbors">good 
for web work but serious issues for 'real' work :)</quote>.
He personally was preferring SAP-DB more and more, 
as discussed in 
<kcref title="SAP-DB community" subject="[IRC] 30 Jun 2002" />. 
To install CVS once it was downloaded, 
<quote who="Derek Neighbors">from the root cvs directory
type ./setup-cvs and answer the questions - and thats it.
Try gnue/forms/samples/intro/intro.gfd sample after that.
If it works then change entry in connections.conf and try a db 
form :)</quote></p>

</section>

<section 
   title="Debian packages for DCL" 
   subject="[IRC] 05 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.05Jul2002" 
   startdate="04 Jul 2002 23:00:00 -0800" 
   enddate="06 Jul 2002 23:00:00 -0800">

<topic>DCL</topic>

<p>Andrew Mitchell (ajmitch) mentioned that 
<quote who="Andrew Mitchell">derek seems to be worried about
dcl &amp; gnue debs</quote> (as discussed in 
<kcref title="Debian packages for GNUe and DCL" subject="[IRC] 30 May 2002" /> 
and previously) - 
<quote who="Andrew Mitchell">especially as there's a security release 
of DCL due out</quote>. Jeff Bailey (jbailey) said he believed 
<quote who="Jeff Bailey">there's 0 people using the old DCL 
debs now.  So at least the annoyance of making it upgrade friendly 
is gone.</quote></p>

<p>Later, Derek Neighbors (dneighbo) asked Jeff 
<quote who="Derek Neighbors">to check in what he had for dcl 
debs</quote>. Jeff explained his current debs for DCL were a 
quick fix for himself, <quote who="Jeff Bailey">So it's not 
suitable for checking in</quote> to CVS. He could 
<quote who="Jeff Bailey">just upload them</quote> if necessary. 
Derek said <quote who="Derek Neighbors">basically i need debs 
for dcl (and i know you are busy) - but rather than start from 
scratch i was hoping to pick up where ever you left off if 
possible. I have a security release i hope to bundle tonight in 
tar/gz format and would be killer if i could offer debs at that 
time as well</quote>. Jeff said he would 
<quote who="Jeff Bailey">probably have a bit of time tonight to 
putit together for you.  IT's easier than explaining what I've 
done. Then you're welcome to update yourself after, or have me or 
another DD do it.</quote>. Derek said he would get a tarball to 
him soon - <quote who="Derek Neighbors">i have to do some testing 
still on faq/project sections but if you can package that and feel 
comfortable giving me something to commit to cvs would be 
great</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.07Jul2002">
Two days later</a>, Jeff wondered <quote who="Jeff Bailey">Why 
doesn't dcl use a makefile like every other project out there? 
=)</quote>. Derek said he was not keen on make, but 
<quote who="Derek Neighbors">certainly if you need a make file 
create one</quote>. Jeff said <quote who="Jeff Bailey">Lemme 
throw a simple one together. I'll cheerfully maintain it ongoing.
Since otherwise I'd pretty much be doing so for the package 
anyway.</quote>.</p>

<p>Jeff and Andrew tried to work out where the various DCL files 
needed to go to comply with Debian guidelines. 
Jeff noted that the Debian guidelines said 
<quote who="Jeff Bailey">that web apps go somewhere under 
/usr/share/doc/PACKAGE/ - That doesn't seem right, though.</quote>
He had a look at the Debian package for Sourceforge, but 
that did not seem to be a good model. He decided 
<quote who="Jeff Bailey">/usr/share/dcl/www for the web root - 
scripts under /usr/share/dcl - docs under /usr/share/doc/dcl/ - 
config file in /etc</quote>.</p>

<p>He was not sure what to do with the 
<quote who="Jeff Bailey">attachments directory</quote> 
as the DCL application <quote who="Jeff Bailey">wants to *Write* 
there</quote>. Andrew said this was <quote who="Andrew Mitchell">for 
email attachments sent thru - eg, submitting stuff to 
designer-support@gnuenterprise.org, with a patch attached</quote>. 
Jeff considered various possible locations, and wondered about 
using /var/spool - <quote who="Jeff Bailey">Esp. if it's a temp 
holding pen, and not permanent storage</quote>, quoting the 
guidelines that <quote who="Jeff Bailey">Data in /var/spool 
represents work to be done in the future (by a program, user, or 
administrator); often data is deleted after it has been 
processed</quote>. Andrew noted that squirrelmail did something 
similar.</p>

<p>Jeff also wondered about <quote who="Jeff Bailey">The 
templates/custom</quote> as <quote who="Jeff Bailey">if 
it's not in /etc or /var, it's going to get overwritten on 
upgrade.</quote> Andrew said that 
<quote who="Andrew Mitchell">templates/custom looks like it 
is for site-customisation</quote> and suggested
<quote who="Andrew Mitchell">so perhaps put it in var, and 
symlink it into the webroot?</quote>. However, 
<quote who="Andrew Mitchell">that'd require apache to follow 
symlinks</quote>. Jeff suggested /etc - 
<quote who="Jeff Bailey">I guess the question is it more state 
data or configuration file? =)</quote>.</p>

<p>Jeff tried to compile the Debian package, and 
reported <quote who="Jeff Bailey">No errors</quote>, but some 
warnings - <quote who="Jeff Bailey">6 of which are that upstream 
appears to have made some files gratuitously execuatble.</quote>
He reported <quote who="Jeff Bailey">Right, first cut DCL debs 
available</quote>, adding <quote who="Jeff Bailey">Bug reports 
should just be emailed to me, and I'll get them through as quick 
as I can.</quote> Later, Derek thanked Jeff and said he 
<quote who="Derek Neighbors">will try to test today and will put 
a call out on the home pages and announce for testing</quote>.</p>

</section>


<section 
   title="XSLT support in GNUe Reports" 
   subject="[IRC] 05 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.05Jul2002" 
   startdate="04 Jul 2002 23:00:00 -0800" 
   enddate="04 Jul 2002 23:00:00 -0800">

<topic>Reports</topic>

<mention>Derek Neighbors</mention>
<mention>Daniel Baumann</mention>

<p>Daniel Baumann (chillywilly) asked where he could find a
Debian packages for pysablot, the python wrapper for 
sablotron, the XML processor that people had been using 
for GNUe Reports. Jason Cater (jcater) said he had them 
<a href="http://www.gnuenterprise.org~/jcater/debian/">mirrored</a>, 
but warned <quote who="Jason Cater">don't ask me questions about 
xslt syntax - 'cause I'd have to lie</quote>. Derek Neighbors 
had done all of the work on the xsl files for Reports - 
<quote who="Jason Cater">I've tried to learn it some -
but haven't spent much time</quote>. He added 
<quote who="Jason Cater">btw, when I was learning it, 
the material on the <a href="http://www.w3schools.com">w3schools</a>
had the best tutorial</quote>.</p>

</section>


<section 
   title="Security release of DCL" 
   subject="[Gnue-announce] DCL 20020706 (stable) Released"
   archive="http://mail.gnu.org/pipermail/gnue-announce/2002-July/000032.html" 
   posts="1"
   startdate="06 Jul 2002 13:40:47 -0800" 
   enddate="06 Jul 2002 13:40:47 -0800">

<topic>DCL</topic>

<p>Derek Neighbors announced <quote who="Derek Neighbors">There 
is a new release of DCL mostly covering security patches and some
minor bug fixes. It is HIGHLY suggested that you 
update.</quote>.</p>

</section>


<section 
   title="Gadfly database driver for GNUe" 
   subject="[IRC] 06 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.06Jul2002" 
   startdate="05 Jul 2002 23:00:00 -0800" 
   enddate="05 Jul 2002 23:00:00 -0800">

<topic>Common</topic>

<p>Andrew Mitchell (ajmitch) said it was 
<quote who="Andrew Mitchell">time for me to learn designer 
fast - /me wants to throw an basic app together within a couple 
of weeks at most :) btw, there's no gadfly dbdriver, is 
there?</quote> He had tried to work on one, but was 
<quote who="Andrew Mitchell">having trouble with it tho 
:)</quote>. Later, he reported <quote who="Andrew Mitchell">ok, 
gadfly driver sorta work now</quote> - he 
<quote who="Andrew Mitchell">just came back to it, made one 
change, and it partially works</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.08Jul2002">
Some days later</a>, Daniel Baumann (chillywilly) noted 
<quote who="Daniel Baumann">oooh, you guys got ajmitch's gadfly db 
driver :)</quote>, telling Andrew <quote who="Daniel Baumann">you 
are now an author of gnue common ;P</quote> Andrew thought this 
was <quote who="Andrew Mitchell">scary - it's evil ugly 
code</quote>.</p>

</section>


<section 
   title="International date formats in Forms" 
   subject="[IRC] 08 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.08Jul2002" 
   startdate="07 Jul 2002 23:00:00 -0800" 
   enddate="07 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>
<topic>Common</topic>

<mention>ra3vat</mention>

<p>Arturas Kriukovas (Arturas) posted the source for a form he was 
having problems with - he had checked that 
<quote who="Arturas Kriukovas">there does exist database, table, 
data on it</quote>. Dmitry Sorokin (ra3vat) had a 
<quote who="Dmitry Sorokin">problem with date fields</quote> - 
they were <quote who="Dmitry Sorokin">getting localized representation 
which is not accepted by postgres</quote>. Arturas said that his 
work on i18n internationalisation had not included date formats - 
<quote who="Arturas Kriukovas">their format as i remember is coded 
directly in the source</quote>. Dmitry noted that the comments in 
the DateMask.py file admitted <quote who="Dmitry Sorokin"># TODO: 
This is obviously not Internationalized!</quote>.</p>

<p>He asked James Thompson (jamest) <quote who="Dmitry Sorokin">is 
it possible with formatmask(displaymask..) to have datetime data 
passed always in mm/dd/yy format to a db backend?</quote> 
James said <quote who="James Thompson">the displayhandlers store in 
a format different than they display - i don't recal the 
details</quote>. Dmitry said <quote who="Dmitry Sorokin">now it 
represented it in long format with localized weekdays names which 
did not accepted by postgres</quote>. He would 
<quote who="Dmitry Sorokin">like temporary leave it in mm/dd/yy 
via forms, did it now with export LC_TIME=C</quote>.</p>

</section>


<section 
   title="Supporting ODML in Application Server" 
   subject="[IRC] 08 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.08Jul2002" 
   startdate="07 Jul 2002 23:00:00 -0800" 
   enddate="07 Jul 2002 23:00:00 -0800">

<topic>Application Server</topic>

<mention>Jan Ischebeck</mention>

<p>Daniel Baumann (chillywilly) asked Reinhard M&#252;ller (reinhard) 
<quote who="Daniel Baumann">if you wouldn't mind if I wrote a schema 
and odlml xml parser and write some xslt stuff too for the "object" 
format in the appserver. We can write some transformations to go to ODL. 
I have been readin GParser a bit and it makes sense.</quote> 
Reinhard said that he personally would probably never use 
<quote who="Reinhard M&#252;ller">a parser for odlml xml class definition 
files</quote> - he was <quote who="Reinhard M&#252;ller">not sure if it 
is worth doing</quote> but he would not stop Daniel if he was interested. 
Daniel said <quote who="Daniel Baumann">well it lets me play with xml 
;)</quote> - more practically, <quote who="Daniel Baumann">all the other 
xml elements in the various gnue formats are GObj based objects</quote>, 
so using an XML-based format might allow re-use of concepts like triggers.</p>

<p>Reinhard said that, <quote who="Reinhard M&#252;ller">working _daily_ with 
a buttload of different business application _users_</quote> his perception 
was <quote who="Reinhard M&#252;ller">most of them give a sh*t about wheter 
something is in XML or in foo</quote> - <quote who="Reinhard M&#252;ller">what 
they want is a stable working usable business software that is easily extensible
- to some degree extensible by an _average_ business user. However as derek 
likes to say "gnue will be all things to all people" - so i guess someday gnue 
will be ODMG compilant as well as easy to extend and performant and all the 
other things we want it to be</quote>.</p>

<p>Daniel said he was <quote who="Daniel Baumann">I am just trying to leverage 
all the hard work that jcater and jamest have put into "common" - seems like 
what you want can be defined at a higher level, like a business rule design type 
thing that people can use</quote>. Reinhard emphasised this was just his 
personal opinion, <quote who="Reinhard M&#252;ller">and i might not see all 
sides of the coin</quote>. Daniel said that Jan Ischebeck had been 
<quote who="Daniel Baumann">implementing the same ideas in _featuretest plus 
some of the things he was bringin to the table</quote>. Reinhard said he 
had <quote who="Reinhard M&#252;ller">lost track about what jan is doing as 
well - and i'm positive we might have different opinions on some topics</quote>. 
He really needed more time and/or sleep to catch up.</p>

</section>


<section 
   title="Using primary keys rather than row numbers to update tables" 
   subject="[IRC] 08 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.08Jul2002" 
   startdate="07 Jul 2002 23:00:00 -0800" 
   enddate="07 Jul 2002 23:00:00 -0800">

<topic>Common</topic>

<p>John Lenton (Chipaca) said that the papo project team were trying 
<quote who="John Lenton">to get the dbsig drivers to work wrt primary 
keys</quote>, as previoulsy discussed in 
<kcref title="Problems with floating point fields in PostgreSQL" subject="[IRC] 10 Jun 2002" />, 
and <quote who="John Lenton">we've stumbled over something that'll break 
backwards compatibility if we fix it - and it's a pain if we don't (because 
we'll have to check the type of the return value of a function, to start 
with)</quote>. Derek Neighbors (dneighbo) said 
<quote who="Derek Neighbors">thats ok we have a rule here anyhow it says
"You cant fix something unless you break two of something else."</quote>
John said <quote who="John Lenton">actually, it wouldn't break anything, 
except backwards compatibility between dbdrivers - i.e. all the dbdrivers 
except postgres would stop working - which is fine by me!</quote>.</p>

<p>Jason Cater (jcater) asked <quote who="Jason Cater">so what is the 
fix/breakage?</quote> John said <quote who="John Lenton">in dbsig, you 
see if the dbdriver has a string called primary key, and you use that as 
the name of the column that has the primary key - that breaks on one table 
when you have multiple primary keys</quote>. Jason said that the 
PrimaryIdField was not necessarily the primary key, just a way of 
identifying a particular row in a table to update. John agreed - 
<quote who="John Lenton">it could be for example in postgres the 
oid</quote>. However, <quote who="John Lenton">the trouble we ran into 
was when inserting a row that has an autogenerated primary key - we 
couldn't find out the oid of the row</quote>. Jason said he wanted 
<quote who="Jason Cater">to petition the DB-SIG group to add that 
functionality i.e., we can get the OID (or RowID, etc) of any inserted 
rows - but that doesn't solve the immediate need</quote>. He had 
recently <quote who="Jason Cater">added primary key lookup functions 
to the postgresql drivers</quote> in the meantime.</p>

<p>John agreed, but noted that the temporary solution using primary 
keys would mean <quote who="John Lenton">that the thing we've got to 
return from PrimaryIdField is no longer a string, but rather a 
hash</quote>. This was because <quote who="John Lenton">because, if 
you remember, we're working on getting multiple tables working...
...so we have several primary keys in several tables - if not, we'd've 
done "a, b, c".split(", ") and retained backwards compat</quote>. 
Jason agreed - <quote who="Jason Cater">I see where you guys are 
going</quote>, adding <quote who="Jason Cater">just create a trouble 
ticket saying the other ones might be broken</quote>. He said 
<quote who="Jason Cater">/me thinks the only other driver to use 
PrimaryIdField is Oracle - and I'll fix it quickly if it breaks
as I use it</quote>.</p>

</section>


<section 
   title="Returning values from triggers" 
   subject="[IRC] 09 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.09Jul2002" 
   startdate="08 Jul 2002 23:00:00 -0800" 
   enddate="08 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<mention>ra3vat</mention>

<p>Dmitry Sorokin (ra3vat) asked <quote who="Dmitry Sorokin">how 
to get value (for later calculation) of a field in a trigger, just 
blockname.fieldname returns instance type, not numeric(or string) 
type</quote>. Arturas Kriukovas (Arturas) said 
<quote who="Arturas Kriukovas">in my forms i used like 
'print pgName.blkName.entryName' in trigger - this worked (now my 
cvs copy is broken, so i can't check it)</quote>. Dmitry 
suggested <quote who="Dmitry Sorokin">oh, may be converting to str 
first would help - seems , that worked</quote>.</p>

<p>He said it <quote who="Dmitry Sorokin">seems i'm uncompartible with 
triggers</quote>. Arturas suggested <quote who="Arturas Kriukovas">feed 
them with chocolate? :)</quote>. Dmitry pasted his code, and said he 
could not <quote who="Dmitry Sorokin">get calc.qnty value printed</quote>, 
but this proved to be a typo. Andrew Mitchell (ajmitch) origianally 
suggested <quote who="Andrew Mitchell">print "%s" % calc.qnty, 
perhaps?</quote> but then realised <quote who="Andrew Mitchell">hmm, 
maybe print is not best to use from form? perhaps the forms client is 
capturing stdout? /me used GDebugMesg</quote>. Dmitry confirmed he had 
resolved the problem, but asked <quote who="Dmitry Sorokin">how to exclude 
calculated field from tab order?</quote>. Arturas said 
<quote who="Arturas Kriukovas">make it readonly :)</quote>, using the 
readonly="" parameter for the entry tag.</p>

</section>


<section 
   title="Referencing named triggers to avoid coding multiple event triggers" 
   subject="[IRC] 09 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.09Jul2002" 
   startdate="08 Jul 2002 23:00:00 -0800" 
   enddate="08 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<mention>ra3vat</mention>

<p>Dmitry Sorokin (ra3vat) said he had a <quote who="Dmitry Sorokin">tabbed 
form with calculated field that works when you insert data row by row, 
how to get it working when I switch between tabs or run query? what kind of 
trigger should i add?</quote> James Thompson (jamest) said 
<quote who="James Thompson">on forms like that i used to create a named 
trigger then put a post-change (IIRC) trigger that referenced the named 
trigger on all fields involved in the calculation - that should work for 
queries</quote>. This meant that <quote who="James Thompson">instead of 
having the trigger definition on each entry 
contain the trigger text I just point them at the named trigger.
It's been months since I looked/tested that - 
gnue/forms/samples/button/forms contains named trigger example</quote>. 
Dmitry asked <quote who="Dmitry Sorokin">one more question is there a 
trigger that is fired one time on form's startup?</quote>. 
Arturas Kriukovas (Arturas) suggested <quote who="Arturas Kriukovas">you 
can try with focus-in for the first entry in the form - it should get 
focus bu default</quote>. James said <quote who="James Thompson">if 
that works it's an interesting hack - as we don't have any type of on 
startup trigger but we need one</quote>.</p>

</section>


<section 
   title="GNUe publicity at Linux World Expo" 
   subject="[IRC] 09 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.09Jul2002" 
   startdate="08 Jul 2002 23:00:00 -0800" 
   enddate="08 Jul 2002 23:00:00 -0800">

<p>Derek Neighbors (dneighbo) said that things were 
<quote who="Derek Neighbors">hectic</quote> preparing 
for GNUe's stand at Linux World Expo in San Fransisco
in August. He said <quote who="Derek Neighbors">a. we 
need marketing materials - b. we need to have them 
printed :)</quote> He thought that Jason Cater (jcater) was 
<quote who="Derek Neighbors">probably best situated to design 
(a)</quote> but was not sure about printing. 
He had <quote who="Derek Neighbors">got for free a nice 
display to hold trifoldss - its probably 20x15 or larger clear 
plexiglass so you can insert your own print - then it has the 
holder on it for the trifolds. I was thinking if we can get low 
cost trifold even b/w with a nice insert for the holder i can 
place that on the main table - as a help yourself kind of 
thing</quote>. Jason said <quote who="Jason Cater">any 
marketing materials I produce will be available in press-ready 
PDF</quote> for ease of printing.</p>

</section>


<section 
   title="Running CVS and official release versions of GNUe together" 
   subject="[IRC] 09 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.09Jul2002" 
   startdate="08 Jul 2002 23:00:00 -0800" 
   enddate="08 Jul 2002 23:00:00 -0800">

<mention>James Thompson</mention>

<p>Problems were reported trying to get GNUe to 
run from CVS on Debian woody. Derek Neighbors (dneighbo) said 
that <quote who="Derek Neighbors">in the root of cvs there should 
be setup-cvs.py or setup-cvs.sh (i cant recall which) - run that 
instead and answer the questions</quote>. He noted 
<quote who="Derek Neighbors">this lets you run cvs and production 
at same time if needed and gives much greater controll of where 
things are and such</quote>. Later, James Thompson (jamest) 
confirmed that gfcvs was the CVS version of the code, whilst 
gfclient was the production/official release. Jason Cater 
(jcater) confessed <quote who="Jason Cater">/me broke cvs 
designer last night - /me will fix tonight</quote>.</p>

</section>


<section 
   title="Including data in GNUe Application Server schema definitions" 
   subject="[IRC] 10 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.10Jul2002" 
   startdate="09 Jul 2002 23:00:00 -0800" 
   enddate="09 Jul 2002 23:00:00 -0800">

<topic>Application Server</topic>
<topic>Designer</topic>
<topic>Integrator</topic>
<topic>Common</topic>
<topic>Financials (Accounting)</topic>

<p>Jan Ischebeck (siesel) asked <quote who="Jan Ischebeck">which 
command line to use to login + checkout acclite?</quote> 
(as previously discussed in 
<kcref title="NOLA and acclite - free software financials packages" subject="[IRC] 28 Jun 2002" />). 
Jason Cater (jcater) said <quote who="Jason Cater">we don't have 
anon cvs for that yet - but snapshots are at 
<a href="http://www.gnuenterprise.org/~jcater/snapshots/acclite/">
http://www.gnuenterprise.org/~jcater/snapshots/acclite/</a></quote>. 
Jan noted <quote who="Jan Ischebeck">that 'data' and 'database schema' 
is split into two sql files in acclite.</quote> This had started him 
thinking about <quote who="Jan Ischebeck">the GNUe Schema Definition 
file</quote> which <quote who="Jan Ischebeck">has no way to put some 
base data into it. (quite ok for a SCHEMA definition ;) ) 
but data should be stored in an XML representation too. 
for ease of use I would like to put schema and data into ONE file. 
any objections, ideas?</quote></p>

<p>Later, Derek Neighbors (dneighbo) said 
<quote who="Derek Neighbors">definitely we need to have the 'data' 
statements as part of our schema spec - its just a matter of 
definining and making xslt xsl for it</quote>. He personally 
preferred keeping the schema definitions and base data 
separate as <quote who="Derek Neighbors">i like to work in sizeable 
chunks</quote>, but <quote who="Derek Neighbors">im open to debate 
though</quote>. Jan said he would not even mind having each table 
as a separate file, as long as <quote who="Jan Ischebeck">there is 
ONE comand to create a whole table set, or if there is one</quote> 
GNUe Schema Definition (.gsd) <quote who="Jan Ischebeck">file 
which includes the other ones :)</quote> Derek noted that 
<quote who="Derek Neighbors">well xml/xslt supports includes</quote>.</p>

<p>Jason emphasised that <quote who="Jason Cater">I see xslt as a 
means to an end - not the end itself. In the not-so-distant future
GNUe-COmmon's dbdrivers will accept a schema tree
and each driver will be able to create the schema natively</quote>. 
Derek agreed - <quote who="Derek Neighbors">in fact for designer and 
some other things i almost would like to have it go off the</quote> 
XML schema definitions rather than use introspection to check what 
was actually in the database - <quote who="Derek Neighbors">but 
thats another discussion</quote>. He saw 
<quote who="Derek Neighbors">this functionality as being important 
also for integrator as well as designer :)</quote></p>

<p>Jan proposed a simple XML format for data, with rows and values, 
optionally also with fieldnames, probably as a separate section after 
the end of the existing &lt;/schema&gt; closing tag. Jason noted that 
<quote who="Jason Cater">GParser depends on there being a 
single enclosing tag around an entire file (i.e., the "root" 
element)</quote> which would affect where the &lt;data&gt; tags could be 
placed. Jan wondered whether <quote who="Jan Ischebeck">if we do it 
that way, is &lt;schema&gt; still the right name for the root tag?</quote>
Jason thought so, <quote who="Jason Cater">as to me required datasets 
are still part of a schema definition</quote>. Jan said that he would 
like to use this format <quote who="Jan Ischebeck">as a dump format for 
the appserver</quote> as well, and asked <quote who="Jan Ischebeck">would 
you object to put "non-required" datasets into it?</quote>. Jason said 
<quote who="Jason Cater">I see no problem with that - most tools like 
that include an option to dump only schema or schema + data anyway</quote>.
Jan said he would go away and work out some examples.</p>

</section>

</kc>