Removing GNATS categories

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Mar 29 11:31:00 GMT 2000


> Two solutions come to mind:
> 
>    * Filter out the "hidden" categories in gnatsweb.pl; or,
>    * Fix the GNATS server to filter the list of categories, perhaps based
>      on the name of the logged in user.
> 
> The first is probably a bad idea, since gnatsweb.pl lets you connect to
> severlal bug databases. The second means hacking GNATS itself
> (themselves?).
> 
> Which is worse? :)

I think modifying gnatsd is not going to work, unless you want to get
that into gnats 4 earliest. You'd have to extend the structure of
gnatsd.access, and perhaps a number of other files (such as
categories).

While in principle it is a good thing that gnatsweb allows to connect
to different databases, customizing it via gnatsweb-site.pl is ok -
like having a function filter_categories, which gets the categories
list and can make a decision based on the database, the access mode,
and perhaps the user. In the specific case, it would have a narrow
list in sending mode, and a long list in editing mode.

Regards,
Martin


More information about the Gcc mailing list