Hi,

>> is it possible/easy to set what's displayed in 'Admin' -->
>> 'Configuration' page (e.g. project-name and index-page) using the
>> command-line interface? I would like to set this for a group of
>> repositories/projects at once.
>
> Not directly, but you can use fossil config export / import to write
> them to file / read them back.

Thank you; it works. (Tried this before, but didn't explicitly 'fossil
config sync' before 'fossil config export' after changing project name
in web-interface to test.)
The output of the 'project' area in the exported file indeed has the
project-name, like this:

  config /config 47
  1313868689 'project-name' value 'changed again'

A look in the source showed that while '47' is the length of the
following blob containing the project-name, the '1313868689' there
seems to be an mtime of the existing configuration-item.

Before trying: is it so that when creating such file programmatically,
taking the current seconds-since-epoch as time, and then
importing/merging it, would work?

Kind regards,
Michai
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to