[GRASS5] Thought on my CVS problem

Justin Hickey jhickey at hpcc.nectec.or.th
Tue Sep 12 03:09:46 EDT 2000


Hello all

Yesterday, when I found that some files in the CVS tree that I had not
modified were changed when I did a cvs commit from the top directory, I
thought that such commits were not a good idea. After thinking about
this though, I feel that there should be no reason for not performing a
commit from the top of the CVS tree. After all, the cvs commit command
is recursive by default for a reason - to allow multiple files in
several directories to be committed at the same time.

At the time, I was more concerned with getting the tree back to normal
than with what was actually happening, especially since the first few
files I checked had been wiped out (see this old version
http://freegis.org/cgi-bin/viewcvs.cgi/~checkout~/grass/man/cat1/r.mapcalc?rev=1.5&content-type=text/plain
for an example). But today, I have looked into the files that caused the
problem and the following files can be explained.

src/include/config.h
src/raster/r.binfer/gram.c
src/raster/r.binfer/lex.c
src/raster/r.combine/cmd/gis_lxcl.c
src/raster/r.combine/cmd/gis_pars.c
src/raster/r.combine/cmd/gis_pars.h
src/raster/r.combine/cmd/gis_pars.out
src/raster/r.mapcalc/polish/lex.yy.c
src/raster/r.mapcalc/polish/y.tab.c
src/raster/r.weight/inter/gis_lxcl.c
src/raster/r.weight/inter/gis_pars.c
src/raster/r.weight/inter/gis_pars.h
src/raster/r.weight/inter/gis_pars.out
src/scripts/shells/create_fifos.sh

Correct me if I'm wrong, but all of these files are created at compile
time. As such, I would like to propose that these files be removed from
the CVS source tree. The only ones I hesitate to remove are config.h,
and create_fifos.sh. I think config.h can be removed since it is created
by the configure script, but I'm not sure about create_fifos.sh.

Most of the other files are man pages

man/cat1/r.mapcalc
man/cat1/r.patch
man/cat3/v.in.dxf3d.sh
man/cat4/m.ipf
man/cat4/m.sdts.read
man/cat4/m.svfit
man/cat4/v.out.sdts
man/cat4/v.sdts.dq.cp
man/cat4/v.sdts.meta
man/cat4/v.sdts.meta.cp
man/cat4/v.what
man/utilities/man.version

I don't know why these files were changed. But upon investigation,
perhaps all the files in the cat directories should be removed from the
CVS source tree since the man/utilities/Nroff script supposedly creates
them at compile time (from the Nroff script: "Script to produce cat*
entries from GRASS man* man page source.") as well as the man.version
file. Maybe even the cat directories thenmselves should be deleted and
their creation added to the src/CMD/generic/GISGEN.sh script similar to
the man/1, man/2 etc. directories.

Since it appears that these files are all created during compilation,
then performing a cvs commit at the top of the CVS source tree should
not be a problem.

Anyway, does anyone know of any reason why these files should not be
removed from the CVS source tree? Since Markus is away this week, I will
wait to hear from him before I do anything. But, at this time I see no
reason to keep files that are generated at compile time in the CVS
source tree.

By the way, if these files are removed from the source tree, I will add
them to the "make distclean" target in the Makefile.in file as well.

Thank you for your time and any comments would be greatly appreciated.

-- 
Sincerely,

Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do.  ---Anonymous

Jazz and Trek Rule!!!
==================================================================

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list