Opened 7 years ago
Closed 3 months ago
#2105 closed task (fixed)
Trac - Add ticket cross-referencing support
Reported by: | TemptorSent | Owned by: | strk |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2024-III (strk) |
Component: | SysAdmin/Trac | Keywords: | TracPlugins |
Cc: |
Description
Trac currently lacks the ability to cross-reference tickets in a useful manner. Module needs to be installed/enabled for bidirectional cross-references (per strk)
Change History (18)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Component: | Systems Admin → Trac |
---|---|
Owner: | changed from | to
comment:3 by , 12 months ago
comment:4 by , 12 months ago
Milestone: | → Sysadmin Contract 2024-III |
---|
comment:5 by , 6 months ago
Milestone: | Sysadmin Contract 2024-III → Sysadmin Contract 2024-III (strk) |
---|
Milestone renamed
comment:6 by , 4 months ago
Keywords: | TracPlugins added |
---|
comment:7 by , 4 months ago
The plan is to install whatever required plugin or configuration via ansible, with work started in #2731
comment:8 by , 4 months ago
A plugin providing what we are after is https://pypi.org/project/TracTicketReferencePlugin/
comment:9 by , 4 months ago
The TracTicketReferencePlugin plugin is now in staging, deployed via ansible (see https://git.osgeo.org/gitea/sac/ansible-deployment/commit/35f977ea7c4a20c4e07e10a3abc71f01fc1a371c)
I could not test it properly as I cannot login in the staging Trac (see #3248)
comment:10 by , 4 months ago
I deployed the plugin in production and tested there but it failed with error:
TracError: Unable to check for upgrade of ticketref.api.TicketRefsPlugin: TypeError: environment_needs_upgrade() takes exactly 2 arguments (1 given)
comment:11 by , 4 months ago
The plugin is indeed unmaintained so probably not a good choice: https://trac-hacks.org/wiki/TracTicketReferencePlugin
comment:12 by , 4 months ago
I've filed an upstream ticket anyway: https://trac-hacks.org/ticket/14354#ticket
comment:14 by , 3 months ago
Both TracBackLinksPlugin and TracTicketReferencePlugin plugins are in staging on https://dev.trac.osgeo.org/ and backlink sync was run for the osgeo env ( https://dev.trac.osgeo.org/osgeo )
Unfortunately the new "Relationships" field in ticket summaries seem to remain empty and there is no "Back Links" section - see https://trac-hacks.org/ticket/14358
comment:15 by , 3 months ago
I've filed https://trac-hacks.org/ticket/14359 for the empty relationship field.
comment:16 by , 3 months ago
Relationships actually work but only react to specific comment formats and are not going to be built from old comments: https://dev.trac.osgeo.org/osgeo/ticket/2105
comment:17 by , 3 months ago
Backlinks also work once all databases are updated, and can be synchronized. I'd use backlinks
comment:18 by , 3 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Backlinks plugins installed and activated, see https://git.osgeo.org/gitea/sac/ansible-deployment/commit/680e7a227399c50b493efd144ab6fc309e740818
All databases were manually upgraded and scaned for old backlinks via trac-admin $env upgrade; trac-admin $env backlink sync
.
See https://trac.edgewall.org/wiki/TracCrossReferences