[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    Snapshot feature compatibily with scan-path mode
From:       obonhomme () nerim ! net (Olivier BONHOMME)
Date:       2011-04-04 9:06:14
Message-ID: 4D998A06.4000709 () nerim ! net
[Download RAW message or body]

Le 04/04/2011 10:26, Julius Plenz a ?crit :
> 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
>

Oh okay. Effectively, it works putting snapshots declaration before the 
scan-path.

Thanks for your support

Regards,
Olivier BONHOMME



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic