Edgewall Software

Changes between Version 32 and Version 33 of TracDev/ApiChanges/0.12


Ignore:
Timestamp:
May 15, 2010, 11:11:07 AM (14 years ago)
Author:
Remy Blank
Comment:

Added documentation of IAdminCommandProvider.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.12

    v32 v33  
    204204
    205205=== New Interfaces ===
     206==== `trac.admin.api.IAdminCommandProvider` ^[source:trunk/trac/admin/api.py@9700:56-77#L55 (0.12)]^ ==== #IAdminCommandProvider
     207
     208The `IAdminCommandProvider` interface allows components to provide additional `trac-admin` commands. It supports short and long help texts, as well as command and argument auto-completion.
     209
     210See #7770 for details.
     211
    206212==== `trac.env.ISystemInfoProvider`    ^[source:trunk/trac/env.py@9251:44-51#L43 (0.12)]^ ==== #ISystemInfoProvider
     213
    207214The `ISystemInfoProvider` interface allows components to provide version information about external packages they use. This information is displayed on the "About Trac" page, as well as in internal error reports. This interface replaces the direct mutation of the `env.systeminfo` list that was used previously (the list is still present for backward compatibility). The advantage of using an interface for this is that it ensures that the components are loaded when the system information is requested.
    208215