Merge lp:~brian-murray/ubuntu-archive-tools/link-to-autopkgtest-page into lp:ubuntu-archive-tools

Proposed by Brian Murray
Status: Merged
Merged at revision: 987
Proposed branch: lp:~brian-murray/ubuntu-archive-tools/link-to-autopkgtest-page
Merge into: lp:ubuntu-archive-tools
Diff against target: 17 lines (+7/-1)
1 file modified
sru-report (+7/-1)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-archive-tools/link-to-autopkgtest-page
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+285141@code.launchpad.net

Description of the change

Create links to pages like http://autopkgtest.ubuntu.com/packages/n/nagios3/trusty/ppc64el/ so you can learn about the history of the tests.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'sru-report'
--- sru-report 2015-10-08 20:04:52 +0000
+++ sru-report 2016-02-05 02:27:41 +0000
@@ -659,7 +659,13 @@
659 for arch in excuse['tests']['autopkgtest'][testpkg]:659 for arch in excuse['tests']['autopkgtest'][testpkg]:
660 if excuse['tests']['autopkgtest'][testpkg][arch][0] == 'REGRESSION':660 if excuse['tests']['autopkgtest'][testpkg][arch][0] == 'REGRESSION':
661 link = excuse['tests']['autopkgtest'][testpkg][arch][1]661 link = excuse['tests']['autopkgtest'][testpkg][arch][1]
662 srus[release][pkg]['autopkg_fails'].append('Regression in autopkgtest for <a href="%s">%s (%s)</a>' % (link, testpkg, arch))662 testpkg_name = testpkg.split(' ')[0]
663 if testpkg_name.startswith('lib'):
664 testpkg_idx = testpkg_name[:3]
665 else:
666 testpkg_idx = testpkg_name[0]
667 autopkg_url = 'http://autopkgtest.ubuntu.com/packages/%s/%s/%s/%s/' % (testpkg_idx, testpkg_name, release, arch)
668 srus[release][pkg]['autopkg_fails'].append('Regression in autopkgtest for <a href="%s">%s (%s)</a>: <a href="%s">test log</a>' % (autopkg_url, testpkg, arch, link))
663669
664 return srus670 return srus
665671

Subscribers

People subscribed via source and target branches