bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#590053: global.cgi fails to work with id-utils extension.


From: Shigio YAMAGUCHI
Subject: Re: Bug#590053: global.cgi fails to work with id-utils extension.
Date: Sun, 22 Aug 2010 12:15:27 +0900

> If htags does this by copying that static file from $(datadir)/htags/
> then I think we win the real simplification that we are looking for.

It has already been achieved. Htags copies $(datadir)/gtags/global.cgi.tmpl
into HTML/cgi-bin/global.cgi with replacing macros like '@macro_name@'.
If there is no macro, it is nothing other than copying.

> We can provide one simple mechanism in global that works for them all,
> we just need a '--use-cgi = script_name' option or the like, and some
> defined places to look for them.

I'm opposite to add such an option, because ordinary users don't understand it,
and skilled users feel it annoying. Why don't you use UNIX commands (mv, cp, 
ln)?

It is likely to only have to install it as follows.

        $ cp <custom script> /usr/local/share/gtags/global.cgi.tmpl
or
        $ cp <custom script> /usr/local/apache/cgi-bin/global.cgi

> I think we can find a few common patterns that will cover most people's
> needs, and the people who do not find any of them to quite suit what they
> need will at least have a starting point in one or the other.

Though I think it is good that there are a lot of CGI scripts, I would
like to offer the best thing as much as possible.  So, if there is new
good function, I would like to make it the default function rather than
leaving it as user's choices.

> set from above.  We can ensure there are no known problems with the ones
> in the second set though -- and if problems are reported and not fixed,
> then we can take them down from there. We just need to provide the sandbox
> and then we can pick whatever flowers grow out of it as we please :)

Who does this work?

> This keeps global very simple, and focussed on being a tag system, and
> moves The CGI Problem out to the people who want to spend time on that.
 
It is a doubt whether there is such a person.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]