Edgewall Software

Changes between Version 11 and Version 12 of TracDev/ApiChanges/0.12


Ignore:
Timestamp:
Oct 19, 2009, 10:15:18 PM (15 years ago)
Author:
Remy Blank
Comment:

Added section about Repository.__init__() signature change.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.12

    v11 v12  
    113113See #8020 and #8675 for details.
    114114
     115==== `Repository` constructor ^[source:sandbox/multirepos/trac/versioncontrol/api.py@8677:682,688-691#L679 (0.12)] [source:branches/0.11-stable/trac/versioncontrol/api.py@8353:191#L188 (0.11)]^ ==== #Repository
     116''TODO: Describe removal of `authz` argument (when done)''
     117
     118''TODO: Fix (0.12) link after multirepos merge''
     119
     120A new argument `params` has been added to the `Repository` constructor, which must be propagated from derived classes back to `Repository.__init__()`. `params` is a dictionary containing various parameters for the repository, and is stored as a `.params` attribute in `Repository`. The value for the key `"name"` is the repository name (available as `.reponame`) as displayed in the source browser. The value for the key `"id"` (available as `.id`) is the surrogate key identifying the repository in the database.
     121
     122See #8731 for details.
     123
    115124==== `CachedRepository` constructor ^[source:sandbox/multirepos/trac/versioncontrol/cache.py@8353:45#L40 (0.12)] [source:branches/0.11-stable/trac/versioncontrol/cache.py@8353:45#L38 (0.11)]^ ==== #CachedRepository
    116125''TODO: Fix (0.12) link after multirepos merge''