[Trac] Git integration simply does not work
Asher Mullaney <[email protected]> Sun, 5 Apr 2026 06:57:21 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_77408_842716526.1775397441954 Content-Type: multipart/alternative; boundary="----=_Part_77409_1267311785.1775397441954" ------=_Part_77409_1267311785.1775397441954 Content-Type: text/plain; charset="UTF-8" Hi! I am very new to Trac and I wanted to use it as a bug/task tracker for my project. I wanted to integrate my git repository into Trac so that I could browse the source of the repository. I took a look at the TracGit page and did the suggested changes, but to no avail: there is no "browse source" tab and there are no visible changes. My Trac version is 1.6. I have attached the contents of trac.ini below (/srv/git/gignore.git is the git repository). Any help is greatly appreciated. Thanks! -- 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 trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com. ------=_Part_77409_1267311785.1775397441954 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>Hi!</div><div><br /></div><div>I am very new to Trac and I wanted to u= se it as a bug/task tracker for my project. I wanted to integrate my git re= pository into Trac so that I could browse the source of the repository. I t= ook a look at the TracGit page and did the suggested changes, but to no ava= il: there is no "browse source" tab and there are no visible changes. My Tr= ac version is 1.6. I have attached the contents of trac.ini below (/srv/git= /gignore.git is the git repository).</div><div><br /></div><div>Any help is= greatly appreciated.</div><div><br /></div><div>Thanks!</div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Trac Users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use= rs+unsubscribe-/[email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com?utm_med= ium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/trac-use= rs/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com</a>.<br /> ------=_Part_77409_1267311785.1775397441954-- ------=_Part_77408_842716526.1775397441954 Content-Type: text/plain; charset=US-ASCII; name=trac_ini.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=trac_ini.txt X-Attachment-Id: 81dd6162-2f42-4cc8-aebc-23d7b673e3e1 Content-ID: <81dd6162-2f42-4cc8-aebc-23d7b673e3e1> # -*- coding: utf-8 -*- [attachment] max_size = 262144 max_zip_size = 2097152 render_unsafe_content = disabled [browser] color_scale = enabled downloadable_paths = /trunk,/branches/*,/tags/* hide_properties = svk:merge intermediate_color = intermediate_point = newest_color = (255, 136, 136) oldest_color = (136, 136, 255) oneliner_properties = trac:summary render_unsafe_content = disabled wiki_properties = trac:description [changeset] max_diff_bytes = 10000000 max_diff_files = 0 wiki_format_messages = enabled [header_logo] alt = (please configure the [header_logo] section in trac.ini) height = -1 link = src = site/your_project_logo.png width = -1 [inherit] htdocs_dir = plugins_dir = templates_dir = [logging] log_file = trac.log log_format = log_level = INFO log_type = file [mainnav] admin.order = 8.0 browser.order = 4.0 newticket.order = 6.0 roadmap.order = 3.0 search.order = 7.0 tickets.order = 5.0 timeline.order = 2.0 wiki.order = 1.0 [metanav] about.order = 5.0 help.order = 4.0 login.order = 1.0 logout.order = 2.0 prefs.order = 3.0 [milestone] default_group_by = component default_retarget_to = stats_provider = DefaultTicketGroupStatsProvider [mimeviewer] max_preview_size = 262144 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb mime_map_patterns = text/plain:README(?!\.rst)|INSTALL(?!\.rst)|COPYING.* pygments_default_style = trac pygments_modes = tab_width = 8 treat_as_binary = application/octet-stream,application/pdf,application/postscript,application/msword,application/rtf [notification] admit_domains = ambiguous_char_width = single batch_subject_template = ${prefix} Batch modify: ${tickets_descr} default_format.email = text/plain email_address_resolvers = SessionEmailResolver email_sender = SmtpEmailSender ignore_domains = message_id_hash = md5 mime_encoding = none sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = disabled smtp_from = trac@localhost smtp_from_author = disabled smtp_from_name = smtp_password = smtp_port = 25 smtp_replyto = trac@localhost smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = ticket_subject_template = ${prefix} #${ticket.id}: ${summary} use_public_cc = disabled use_short_addr = disabled use_tls = disabled [notification-subscriber] always_notify_cc = CarbonCopySubscriber always_notify_previous_updater = TicketPreviousUpdatersSubscriber always_notify_updater = TicketUpdaterSubscriber [project] admin = admin_trac_url = . descr = My example project footer = Visit the Trac open source project at<br /><a href="https://trac.edgewall.org/">https://trac.edgewall.org/</a> icon = common/trac.ico name = test url = [query] default_anonymous_query = status!=closed&cc~=$USER default_query = status!=closed&owner=$USER items_per_page = 100 ticketlink_query = ?status=!closed [report] items_per_page = 100 items_per_page_rss = 0 [revisionlog] default_log_limit = 100 graph_colors = #cc0,#0c0,#0cc,#00c,#c0c,#c00 [roadmap] stats_provider = DefaultTicketGroupStatsProvider [search] default_disabled_filters = min_query_length = 3 [sqlite] extensions = [svn] authz_file = authz_module_name = [ticket] allowed_empty_fields = milestone,version default_cc = default_component = default_description = default_keywords = default_milestone = default_owner = < default > default_priority = major default_resolution = fixed default_severity = default_summary = default_type = defect default_version = max_comment_size = 262144 max_description_size = 262144 max_summary_size = 262144 preserve_newlines = default restrict_owner = disabled workflow = ConfigurableTicketWorkflow [ticket-workflow] accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY create = <none> -> new create.default = 1 create_and_assign = <none> -> assigned create_and_assign.label = assign create_and_assign.operations = may_set_owner create_and_assign.permissions = TICKET_MODIFY leave = * -> * leave.default = 1 leave.operations = leave_status reassign = new,assigned,accepted,reopened -> assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed -> reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,accepted,reopened -> closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY [timeline] abbreviated_messages = enabled changeset_collapse_events = disabled changeset_long_messages = disabled changeset_show_files = 0 default_daysback = 30 max_daysback = 90 newticket_formatter = oneliner ticket_show_component = disabled ticket_show_details = enabled [trac] anonymous_session_lifetime = 90 auth_cookie_domain = auth_cookie_lifetime = 0 auth_cookie_path = auto_preview_timeout = 2.0 auto_reload = disabled backup_dir = db base_url = check_auth_ip = disabled database = sqlite:db/trac.db debug_sql = disabled default_charset = utf-8 default_date_format = default_dateinfo_format = relative default_handler = WikiModule default_language = default_timezone = htdocs_location = ignore_auth_case = disabled jquery_location = jquery_ui_location = jquery_ui_theme_location = never_obfuscate_mailto = disabled permission_policies = DefaultWikiPolicy,DefaultTicketPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy permission_store = DefaultPermissionStore request_filters = resizable_textareas = enabled secure_cookies = disabled show_email_addresses = disabled show_full_names = enabled timeout = 20 use_base_url_for_redirect = disabled use_chunked_encoding = enabled use_xsendfile = disabled wiki_toolbars = enabled xsendfile_header = X-Sendfile [versioncontrol] allowed_repository_dir_prefixes = default_repository_type = svn [wiki] default_edit_area_height = 20 ignore_missing_pages = disabled max_size = 262144 render_unsafe_content = disabled safe_origins = data: safe_schemes = cvs,file,ftp,git,irc,http,https,news,sftp,smb,ssh,svn,svn+ssh split_page_names = disabled [components] tracopt.versioncontrol.git.* = enabled [repository] .type = git .dir = /srv/git/gignore.git ------=_Part_77408_842716526.1775397441954--