On Mon, Jun 11, 2012 at 6:18 AM, Baruch Burstein <[email protected]>wrote:

> Thank you. And is there a function to get the value of a setting, or just
> an old-fashioned SELECT?
>

db_get() and db_get_int().

Use grep.  The code really isn't that hard once you have the general
layout.  Read
http://www.fossil-scm.org/fossil/doc/trunk/www/tech_overview.wiki


>
>
> On Mon, Jun 11, 2012 at 12:42 PM, Richard Hipp <[email protected]> wrote:
>
>>
>>
>> On Mon, Jun 11, 2012 at 3:03 AM, Baruch Burstein <[email protected]>wrote:
>>
>>> Is there an easy way to add settings (preferably on a per-repository
>>> base) to the `fossil settings` command? And if so, is there an easy way to
>>> also add them to the web interface?
>>>
>>
>>
>> Add entries to the 
>> ctrlSettings<http://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888>array,
>>  and explanatory text to the header
>> comment on the settings_cmd() 
>> function<http://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888>then 
>> recomile.  The help text is automatically extracted from the header
>> comment by the build process.
>>
>>
>>> _______________________________________________
>>> fossil-users mailing list
>>> [email protected]
>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>
>>>
>>
>>
>> --
>> D. Richard Hipp
>> [email protected]
>>
>> _______________________________________________
>> fossil-users mailing list
>> [email protected]
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
>
> --
> ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to