List for cgit developers and users
 help / color / mirror / Atom feed
* Snapshot feature compatibily with scan-path mode
@ 2011-04-03 20:53 obonhomme
  2011-04-04  8:26 ` plenz
  0 siblings, 1 reply; 4+ messages in thread
From: obonhomme @ 2011-04-03 20:53 UTC (permalink / raw)


Hello,

I am writing on the list because i have a little issue trying to make 
work the snapshots with the scan-path mode.

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.

So I would like to know if it is possible to use these two features 
together or if I make a mistake somewhere ?

Thanks for your answers

Best Regards,
Olivier BONHOMME




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Snapshot feature compatibily with scan-path mode
  2011-04-03 20:53 Snapshot feature compatibily with scan-path mode obonhomme
@ 2011-04-04  8:26 ` plenz
  2011-04-04  9:06   ` obonhomme
  0 siblings, 1 reply; 4+ messages in thread
From: plenz @ 2011-04-04  8:26 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Snapshot feature compatibily with scan-path mode
  2011-04-04  8:26 ` plenz
@ 2011-04-04  9:06   ` obonhomme
  0 siblings, 0 replies; 4+ messages in thread
From: obonhomme @ 2011-04-04  9:06 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Snapshot feature compatibily with scan-path mode
@ 2011-04-03 22:04 obonhomme
  0 siblings, 0 replies; 4+ messages in thread
From: obonhomme @ 2011-04-03 22:04 UTC (permalink / raw)


Hello,

I am writing on the list because i have a little issue trying to make 
work the snapshots with the scan-path mode.

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.

So I would like to know if it is possible to use these two features 
together or if I make a mistake somewhere ?

Thanks for your answers

Best Regards,
Olivier BONHOMME




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-04  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-03 20:53 Snapshot feature compatibily with scan-path mode obonhomme
2011-04-04  8:26 ` plenz
2011-04-04  9:06   ` obonhomme
2011-04-03 22:04 obonhomme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).