Merge ~cjwatson/launchpad:ci-build-multi-arch-ui into launchpad:master
Proposed by
Colin Watson
Status: | Needs review |
---|---|
Proposed branch: | ~cjwatson/launchpad:ci-build-multi-arch-ui |
Merge into: | launchpad:master |
Diff against target: |
44 lines (+12/-3) 2 files modified
lib/lp/code/browser/tests/test_gitref.py (+8/-2) lib/lp/code/templates/git-macros.pt (+4/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+449768@code.launchpad.net |
Commit message
Clarify CI build links when they exist for multiple architectures
Description of the change
If you set up a `.launchpad.yaml` that runs builds on multiple architectures, the UI presentation currently looks like this:
[ ] build:0 (build)
[ ] build:0 (build)
That leaves something to be desired in terms of clarity. Show the series and architecture in the link text that currently just reads "build", so that it looks like this instead:
[ ] build:0 (focal/amd64)
[ ] build:0 (focal/arm64)
To post a comment you must log in.
Unmerged commits
- fc18aef... by Colin Watson
-
docs:0 (build) lint:0 (build) mypy:0 (build) 1 → 3 of 3 results First • Previous • Next • Last
Great improvement!
Would it be possible to make the tests as expressive as the commit message?
I would love to see that we assert against literals more often.
This makes the tests easier to read and to debug, and in case a test breaks it is much easier to see at one glance what is going wrong.