Merge ~ilasc/launchpad:add-link-to-status-report-log into launchpad:master
Proposed by
Ioana Lasc
Status: | Merged |
---|---|
Approved by: | Ioana Lasc |
Approved revision: | fbc03d6e33a5373713e73f79a884b27dbb187ee8 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ilasc/launchpad:add-link-to-status-report-log |
Merge into: | launchpad:master |
Diff against target: |
103 lines (+33/-1) 4 files modified
lib/lp/code/interfaces/revisionstatus.py (+7/-0) lib/lp/code/model/revisionstatus.py (+15/-0) lib/lp/code/model/tests/test_revisionstatus.py (+8/-0) lib/lp/code/templates/git-macros.pt (+3/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+417156@code.launchpad.net |
Commit message
Add link to latest internal log of status reports
Description of the change
This adds the link to the latest internally stored log on status reports.
We use the URL to the log as a fallback if report.url isn't set instead of defining a new column in the table and we only link to the internally-stored log when we don't have an external URL.
To post a comment you must log in.
This work needs a DB change: adding date_created to RevisionStatusA rtifact and after that lands, the query here in `latestLog` will need to change. DB patch for the change: https:/ /code.launchpad .net/~ilasc/ launchpad/ +git/launchpad/ +merge/ 417161
It also requires unit tests after that.