| 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 | |
| 120 | A 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 | |
| 122 | See #8731 for details. |
| 123 | |