Opened 15 years ago

Closed 14 years ago

#85 closed defect (fixed)

Trac autoinstaller should configure trac.ini properly when using git

Reported by: xavid Owned by:
Priority: minor Milestone:
Component: autoinstallers Keywords:
Cc:

Description

Specifically, it should add the line:

gitplugin.* = enabled

to the

[components]

section.

Change History (3)

comment:1 Changed 14 years ago by adehnert

Good news: that line appears in the autoinstall I just stuck in /mit/remit/.

Bad news: "Warning: Can't synchronize with the repository (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information." Oh, and there don't appear to be any log files in /mit/remit/ by default. Setting log_type to "file" gets me a /afs/sipb.mit.edu/project/remit/web_scripts/trac/tracdata/log/trac.log, but it's empty.

comment:2 Changed 14 years ago by adehnert

Anders kindly provides the fix:

   scripts / trac-#85 / andersk  2010-02-07 04:51:11  (Anders Kaseorg)
       I’ll spoil your fun and tell you that it’s because the correct line
       for Trac 0.11 and higher is
         tracext.git.* = enabled
       and not
         gitplugin.* = enabled
-> scripts / trac-#85 / andersk  2010-02-07 04:51:20  (Anders Kaseorg)
       See http://trac-hacks.org/wiki/GitPlugin

I've verified that making that change, indeed, makes Remit's Trac work.

comment:3 Changed 14 years ago by mitchb

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

Fixed by Alex in r1512, merged to trunk in r1514 and deployed.

Note: See TracTickets for help on using tickets.