Opened 5 years ago

Closed 5 years ago

#10058 closed defect (fixed)

GitPlugin not working

Reported by: mendelso@… Owned by: hvr
Priority: highest Component: GitPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

The plug-in looks like it loads

from log/trac.log

2012-05-30 16:18:40,092 Trac[env] INFO: -------------------------------- environment startup [Trac 0.12.3] --------------------------------
2012-05-30 16:18:40,107 Trac[loader] DEBUG: Loading git from /Library/Python/2.7/site-packages/TracGit-

But then the web page returns

Warning: Can't synchronize with repository "(default)" (/Users/mpm/demo/git/example.git does not appear to be a Subversion repository.). Look in the Trac log for more information. 

conf/trac.ini has the following

tracopt.versioncontrol.git.* = enabled

repository_dir = /Users/mpm/demo/git/example.git
repository_type = git

## let Trac cache meta-data via CachedRepository wrapper; default: false
# cached_repository = true
cached_repository = false

## disable automatic garbage collection for in-memory commit-tree cache; default: false
# persistent_cache = true
persistent_cache = false

## length revision sha-sums should be tried to be abbreviated to (must be >= 4 and <= 40); default: 7
shortrev_len = 6

## minimum length for which hex-strings will be interpreted as commit ids in wiki context; default: 40
wiki_shortrev_len = 7

## executable file name (in case of doubt use absolute path!) of git binary; default: 'git'
git_bin = /opt/local/bin/git

## define charset encoding of paths stored within git repository; default: 'utf-8'
git_fs_encoding = latin1

## enable reverse mapping of git email addresses to trac user ids; default: false
trac_user_rlookup = true

## use git-committer id instead of git-author id as changeset owner; default: true
use_committer_id = false

## use git-committer timestamp instead of git-author timestamp as changeset time; default: true
use_committer_time = false

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by rjollos

  • Component changed from SELECT A HACK to GitPlugin
  • Description modified (diff)
  • Owner changed from anonymous to hvr

comment:2 Changed 5 years ago by rjollos

  • Description modified (diff)

comment:3 Changed 5 years ago by mendelso@…

  • Resolution set to fixed
  • Status changed from new to closed

Working after upgrade to 0.13dev

Add Comment

Modify Ticket

as closed The owner will remain hvr.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.