[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [htags feature request] generate hypertext of source codedynamically
From: |
Shigio Yamaguchi |
Subject: |
Re: [htags feature request] generate hypertext of source codedynamically from CVS repository |
Date: |
Sat, 03 May 2003 23:04:14 +0900 |
> I want the function which generates the hypertext of source code dynamically
from CVS repository.
> I think that this function is effective in saving disk space.
>
> ----
> Hideki IWAMOTO address@hidden
It's a interesting idea.
However, it may be a little difficult to implement.
As you know, CVS repository can be updated anytime but GLOBAL makes
tag files statically. I think we should fix the set of source code.
For example, how about using .date file?
1. Generate phase
% date "+%Y-%m-%d %H:%M:%S" >.date # record current time into .date file.
% co -D "`cat .date`" ... # check out all source files using
# -D <date> option.
% gtags /var/tmp # create tag files.
% htags --except-html-of-source-code # make indexes except for hypertext
# of source code.
% rm -rf * # delete all source files.
2. Refered phase
Cgi program does the following jobs:
% co -D "`cat .date`" aaaa.c # extract requested source file using
# -D <date> option.
% convert < aaaa.c > 1234.html # convert *.c into *.html
(I wrote this example in command line image. But it should part of gtags or
htags.)
What do you think?
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
Spare mail address: <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3