Another detail! Always after the command: $ git push origin develop
An exception is raised by WikiExtrasPlugin[1]. [1] http://trac-hacks.org/wiki/WikiExtrasPlugin see: 2013-06-05 00:08:21,025 Trac[loader] DEBUG: Loading tracwikiextras from > /usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg > 2013-06-05 00:08:21,028 Trac[loader] ERROR: Skipping "tracwikiextras = > tracwikiextras": > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/trac/loader.py", line 68, in > _load_eggs > entry.load(require=True) > File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in > load > entry = __import__(self.module_name, globals(),globals(), ['__name__']) > File > "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/__init__.py", > line 1, in <module> > from boxes import AboutWikiBoxes, Boxes > File > "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/boxes.py", > line 28, in <module> > from tracwikiextras.icons import Icons > File > "/usr/local/lib/python2.7/dist-packages/TracWikiExtras-0.13.2dev_r0-py2.7.egg/tracwikiextras/icons.py", > line 55, in <module> > from trac.config import BoolOption, ConfigSection, IntOption, > ListOption > ImportError: cannot import name ConfigSection > 2013-06-05 00:08:21,028 Trac[loader] DEBUG: Loading tracwysiwyg from > /usr/lib/python2.7/dist-packages > 2013-06-05 00:08:21,028 Trac[loader] DEBUG: Loading userpictures from > /usr/local/lib/python2.7/dist-packages/trac_UserPicturesPlugin-0.1.1-py2.7.egg > 2013-06-05 00:08:21,030 Trac[loader] DEBUG: Loading wikitable.scalar from > /usr/local/lib/python2.7/dist-packages/WikiTableMacro-0.2dev-py2.7.egg > 2013-06-05 00:08:21,030 Trac[loader] DEBUG: Loading wikitable.table from > /usr/local/lib/python2.7/dist-packages/WikiTableMacro-0.2dev-py2.7.egg > 2013-06-05 00:08:21,031 Trac[loader] DEBUG: Loading file plugin __init__ > from /var/trac/projects/claudino/plugins/__init__.py > 2013-06-05 00:08:21,031 Trac[api] DEBUG: Event changeset_added on for > changesets (u'0e7b53935e49d50eef3e9d6945543a19dd510d8c',) > 2013-06-05 00:08:21,069 Trac[svn_fs] DEBUG: Subversion bindings imported @ivanelson []s 2013/6/4 Ivanelson Nunes <[email protected]> > Hello, > > When you do a push to a repository "bare" installed on the same server where > the Trac. Returns the message: > > > remote: TracError: Unsupported version control system "git": Can't find an >> appropriate component, maybe the corresponding plugin was not enabled? >> > > 1. I rename this script [1] to "/my_repo/hooks/post-receive." > > 2. My version is Trac1.0. I need to install any package? Still need to install > the trac-git? > > 3. In Trac browser code I can see perfectly my repository. > > The problem is only integrate commits(comments) with Trac. I am also using the > correct syntax for commit: > > $ git commit-m "Refs #TicketNumber - foobar" >> > > > [1] > http://trac-hacks.org/attachment/wiki/GitPlugin/trac-post-receive-hook-0.12-new-commits-from-all-branches-with-logfile.py > > > My Enviroment: > > git version 1.7.10.4 > Trac1.0 > Ubuntu 12.10 (I am ashamed!) > > trac.ini: > > [components] >> repository_type = git >> repository_dir = >> repository_sync_per_request = >> ticket_changesets.* = enabled >> ticketchangesets.* = enabled >> tracext.git.* = enabled >> tracopt.versioncontrol.git.* = enabled >> ticketchangesets.commit_updater.committicketupdater = enabled >> ticketchangesets.web_ui.commitmessagemacro = enabled >> tracopt.ticket.commit_updater.committicketreferencemacro = enabled >> tracopt.ticket.commit_updater.committicketupdater = enabled >> >> [git] >> cached_repository = false >> git_bin = /usr/bin/git >> git_fs_encoding = utf-8 >> persistent_cache = false >> shortrev_len = 6 >> trac_user_rlookup = true >> use_committer_id = true >> use_committer_time = false >> wiki_shortrev_len = 7 >> >> [repositories] >> .alias = dbatez >> dbatez.description = This is the ''main'' project dbatez. >> dbatez.dir = /var/trac/projects/repo/zap.git >> dbatez.hidden = true >> dbatez.type = git >> dbatez.url = >> zimora.description = This is the secondary library code ''Zim Oracle''. >> zimora.dir = /opt/git/zimora.git >> zimora.type = git >> zimora.url = >> >> >> >> [ticket] >> commit_ticket_update_check_perms = false >> commit_ticket_update_commands.close = close closed closes fix fixed fixes >> commit_ticket_update_commands.refs = <ALL> >> commit_ticket_update_envelope = [] >> commit_ticket_update_notify = true >> > > > > > > > > @ivanelson > []s > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
