Hi, this is very timely, as I am about to do the same thing, and I'm eager
to "do it right" the first time. So, if anyone cares to answer Greg's
questions below, I volunteer to copy that information to the wiki. Thanks!
--
HARDY POTTINGER <[email protected]>
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
"Genius? Nothing! Sticking to it is the genius! I've failed my way to
success!" --Thomas Edison





On 1/14/14 12:16 PM, "Greg Troxel" <[email protected]> wrote:

>
>I recently cleaned up a trac (1.0 branch) install that still had the
>gitplugin.  This was fairly simple, as I just enabled builtin git and
>disabled the plugin.  However, I have some sync lines in trac.ini left
>over, and it seems I'm not set up for best practices.  This message is
>really a request to spiff up the userguide to answer the questions I
>have, which I think are pretty universal.
>
>After reading:
>
>  http://trac.edgewall.org/wiki/TracRepositoryAdmin
>
>I do not know:
>
>* What does repository_sync_per_request do, exactly?  Is it about having
>  trac keep a copy of repo state in the database, to make queries
>  faster?  Is the notion that on a new request, trac reads enough vc
>  bits to get new commits since the last read?  Is it believed that
>  because it just had to read refs/heads/* or something that it's fast
>  if there aren't any?
>
>* What do cached_repository and persistent_cache (in the git section)
>  mean?  I get it that one might have to set up calls in post-receive
>  hooks, and to run an explicit sync, but what values should they be set
>  to, and why?  How does this interact with repository_sync_per_request?
>
>It seems there are 8 combinations of the above.  Which of those 8 make
>sense?
>
>
>When I set cached_repository=true, I found that git browsing from trac
>completely broke (could not find revision) even if I had done a sync.
>
>
>
>Thanks,
>Greg

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to