Modify ↓
#4162 closed enhancement (fixed)
[patch] support Trac 0.12 (multirepository)
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | high | Component: | IncludeMacro |
| Severity: | blocker | Keywords: | MultipleRepository |
| Cc: | Steffen Hoffmann | Trac Release: | 0.12 |
Description (last modified by )
The patch attached adds support for the multirepos branch (see trac:MultipleRepositorySupport).
Attachments (4)
Change History (21)
Changed 17 years ago by
| Attachment: | macros.py.diff added |
|---|
comment:1 Changed 16 years ago by
| Summary: | Patch to support multirepository branch → [patch] support multirepository branch |
|---|
Changed 16 years ago by
| Attachment: | macros.py.2.diff added |
|---|
Modify to work with current trunk (rev.9715)
comment:2 Changed 16 years ago by
| Priority: | normal → high |
|---|---|
| Severity: | normal → critical |
| Summary: | [patch] support multirepository branch → [patch] support Trac 0.12 (multirepository) |
comment:3 Changed 15 years ago by
| Trac Release: | 0.11 → 0.12 |
|---|
Tested the patch and it doesn't seem to have any side affects yet.
This patch is needed with Trac 0.12 when using source:/trunk/foo.bar as include!
Changed 14 years ago by
| Attachment: | includemacro-4162-0.12.diff added |
|---|
Updated patch that works with includemacro r112266 and trac 0.12
comment:7 Changed 14 years ago by
| Owner: | changed from Noah Kantrowitz to Ryan J Ollos |
|---|---|
| Status: | new → assigned |
comment:8 Changed 14 years ago by
comment:9 Changed 14 years ago by
| Cc: | Steffen Hoffmann added; anonymous removed |
|---|---|
| Severity: | critical → blocker |
The following code allows 0.11 and 0.12+ to be supported:
repos_mgr = RepositoryManager(self.env) try: #0.12+ (repos_name,repos,source_obj) = repos_mgr.get_repository_by_path(source_obj) except AttributeError, e: #0.11 repos = repos_mgr.get_repository(formatter.req.authname)
I'm not sure this is the best way to accomplish 0.11 and 0.12 repository support, but it seems to work for now. hasienda, do you have any best-practices for this?
comment:10 Changed 14 years ago by
comment:13 Changed 14 years ago by
comment:14 Changed 14 years ago by
comment:15 Changed 12 years ago by
| Status: | assigned → new |
|---|
comment:16 Changed 12 years ago by
| Status: | new → assigned |
|---|
comment:17 Changed 6 years ago by
| Description: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



just formatting of summary for better patch visibility in ticket lists