Snapshot feature compatibily with scan-path mode

Julius Plenz plenz at cis.fu-berlin.de
Mon Apr 4 10:26:53 CEST 2011


Hi, Olivier!

* Olivier BONHOMME <obonhomme at nerim.net> [2011-04-03 22:54]:
> When i enable the snapshots feature in the cgitrc global
> configuration file, the snapshot is not available in the web
> interface.
> 
> I tried disabling the scan-path feature and setting up a repo in the
> cgitrc file and in that case it works.

The scan-path declaration only assigns per-repository settings that
have been set up _before_ the scan-path line. Thus, try putting the
snapshots line before scan-path, like this:

    snapshots=tar.gz tar.bz2
    project-list=/var/git/projects.list
    scan-path=/var/git/repositories

Julius




More information about the CGit mailing list