Re: [htdig3-dev] Current Status as of snapshot 3.2.0b1-020600


Subject: Re: [htdig3-dev] Current Status as of snapshot 3.2.0b1-020600
From: Vadim Chekan (vadim@gc.lviv.ua)
Date: Tue Feb 08 2000 - 00:50:47 PST


loic@ceic.com wrote:
>
> > defunct attributes in maindocs shouldn't matter, and would be no more
> > confusing to users of old versions than the addition of new attributes.
>
> I think to remember that unknown attributes in the config file are silently
> accepted. For the attributes that disapear we should have a 'verify' function
> that barks when they are found in a config file or users will be very
> confused and have a hard time tracking errors down to the disapeared attribute.
> Does it make sense ?

I'm again with my preposition about more severe config parser.
All unknown options in cofig should generate error.
User-defined variables should be declared for example in follow way:
====
define: my_var1 my_var2
my_var1: /usr/local/www/htdoc
start_url: ${my_var1}/some_dir/
====

This also will prevent stupid typo.

Vadim.

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Feb 08 2000 - 00:58:19 PST