Auto-Reference ticket-related branches in tickets
This has two possible implementations (and both are useful and can complement each other):
- Add a new field to the description „Related branch“. If for ticket #1234 (closed) there is a branch matching
T1234(usually something likewip/T1234), link it from there. - When such a branch is created or deleted, post a message to the ticket. This way subscribers know about a possible ongoing implementation, and can review it.
These should link somewhere I believe https://ghc.haskell.org/trac/ghc/log/ghc?rev=<branchname> is the most useful link.
If the link is part of the „branch created“ message, it will become dangling after the branch is closed (presumably because the feature was merged; then the actually commits, if they reference the bug, will be auto-linked). I don’t think this is a problem. But if that is a problem, only put the link in the “Related branches” field, and clear it when the branch is deleted.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Trac & Git |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |