Resync in git repo

36 views
Skip to first unread message

ynoslenav

unread,
Sep 4, 2012, 10:27:28 AM9/4/12
to trac-...@googlegroups.com
Sometimes the need to run a resync trac-admin and restart Apache to display the latest changes in the browse code.

Does anyone have any solution for this?

Trac 0.12 + Ubuntu 12.10 (quantal) + GitPlugin 

Best regards. 

Brazil
@ivanelson

Grzegorz Sobański

unread,
Sep 5, 2012, 8:25:50 AM9/5/12
to trac-...@googlegroups.com
On 04.09.2012 16:27, ynoslenav wrote:
> Sometimes the need to run a resync trac-admin and restart Apache to
> display the latest changes in the browse code.

Do you have caching enabled in the plugin? AFAIK it is still in not
usable state, you should disable it.
In the other case it should never happen, because with caching disabled,
repo on disk is accessed everytime when displaying changes.


--
silk

Ivanelson Nunes

unread,
Sep 6, 2012, 3:19:31 PM9/6/12
to trac-...@googlegroups.com
My git in trac.ini file.

 
[git]
cached_repository = false
git_bin = /usr/bin/git
git_fs_encoding = utf-8
persistent_cache = true
shortrev_len = 6
trac_user_rlookup = true
use_committer_id = true
use_committer_time = false
wiki_shortrev_len = 7

Thanks!

2012/9/5 Grzegorz Sobański <si...@boktor.net>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


Grzegorz Sobański

unread,
Sep 7, 2012, 5:04:48 AM9/7/12
to trac-...@googlegroups.com
On 06.09.2012 21:19, Ivanelson Nunes wrote:
> My git in trac.ini file.
> [git]
> cached_repository = false
> git_bin = /usr/bin/git
> git_fs_encoding = utf-8
> persistent_cache = true

Try to turn off persistent_cache and see if the problem persists (pun
intended ;) )

--
silk

ynoslenav

unread,
Sep 9, 2012, 12:41:22 PM9/9/12
to trac-...@googlegroups.com
Silk,
The next time the problem occurs I will try your tip.


thank you
Reply all
Reply to author
Forward
0 new messages