Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#12287 closed enhancement (fixed)

Show package versions of dependencies in system information — at Version 2

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: plugin - spam-filter
Component: plugin/spamfilter Version:
Severity: normal Keywords:
Cc: Dirk Stöcker Branch:
Release Notes:

Dependencies are shown in System Information.

API Changes:
Internal Changes:

Description

It would be nice to have TracSpamFilter show the installed versions of dependencies such as pillow and dnspython in the system information (/about page).

Change History (3)

by Ryan J Ollos, 8 years ago

Attachment: t12287.diff added

comment:1 by Ryan J Ollos, 8 years ago

Proposed changes in t12287.diff.

I'm unsure which single class should return System Information for dnspython since 3 Components depend on the package. We could have a class such as tracspamfilter.filtersystem.FilterSystem return the package info. We could use inheritance, but that doesn't seemed warranted for such a simple issue. We could check in get_systeminfo which other packages are enabled. #12294 would cleanly resolve the issue as well.

Also, considering whether to use get_pkginfo(...).get('version', '') rather thanget_pkginfo(...)['version'] (comment:1:ticket:12294).

Last edited 8 years ago by Ryan J Ollos (previous) (diff)

comment:2 by Ryan J Ollos, 8 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in [14400].

Note: See TracTickets for help on using tickets.