Re: Control of version
Posted in 1997
Ian Goddard wrote:
>
> Tim Schaefer wrote:
> >
> <snip>
> >
> > It is absolutely amazing at how many sites do not have a source code
> > control implementation, or how many programmers out there that do
> > not use make. I know of several shops here in Florida with large
> > amounts of 4GL, and the programmers do not use make, or SCCS/RCS/PVCS.
> > Many defer to that sissy i4gl interface, which should be removed
> > from the system. :-) I know of many who create shell scripts to
> > compile ESQLC! Make is actually quite easy to use, otherwise I
> > wouldn't have my digs for these other methods. There is also Microsofts'
> > nmake for Win95/NT, which is extremely similar to UNIX make, and allows
> > an additional feature of #if #else #endif programming.
>
> BTW an additional entry for your wish list. "That sissy little i4gl
> interface" to produce custom runners/debuggers for r4gl/idb.
>
I spent a little amount of time on an ACE report that gives the
information
about the data base used by i4gl. If you're interested in it, let me
know,
it never made it to prime time. I was looking at a way to generate
makefiles
from it, but abandoned it in favor of more dive time. :-)
> > If you want additional ideas, I've got make_mk, which produces makefiles
> > for 4GL, and ESQL/C--to a limited degree--and grnd_mk, which attempts to
> > produce a makefile for several executables in one makefile, from a flat-file
> > database of executables. They are at my site, are not perfect, but can
> > allow you to set up repeatable, consistent makefiles.
> >
>
> I'll try that. My usual experience on wrestling with make is that I've
> come off second best.
>
Ok, here's how to use make_mk:
ls *.4gl > 4gl.lst
echo "my_globals.4gl" > glb.lst
ls *.per > per.lst
echo "myfoo.4ge" > fge.lst
make_mk foo.mk
make -f foo.mk
This should avoid you getting your ears chewed. :-) ( Keep in mind I
like to have the computer do the work for me. ) Check the version of
make_mk to see what the "lst" files are supposed to be named, it's been
a while since I last looked at it. make_mk puts RDS capability into
the final makefile. You would simply "make -f foo.mk rds" and an
RDS runner et al is produced.
> Make and RCS/SCCS still don't deal with synchronising versions of code
> against versions of database. Still no suggestions there, I see.
>
> Ian
Well, as David suggests, use SCCS/RCS as a storage mechanism for the
dbschema output. You'll need to manage multiple instances of your
data bases, but hey, it feeds the family. If you start out with
SCCS and feel like maybe RCS is more to your liking, I have a
conversion script, and Jonathan posted his version of sccs2rcs ( which
is an improved version ) this month as well.
Happy hunting...
:-)
Tim
--
Tim Schaefer \\\\|//
tschaefe@mindspring.com (6 6)
------------------------oOOo---( )---o00o---------
http://www.inxutil.com