Merge lp:~brian-murray/ubuntu-archive-tools/fix-503 into lp:ubuntu-archive-tools

Proposed by Brian Murray
Status: Merged
Merged at revision: 1188
Proposed branch: lp:~brian-murray/ubuntu-archive-tools/fix-503
Merge into: lp:ubuntu-archive-tools
Diff against target: 14 lines (+2/-2)
1 file modified
sru-review (+2/-2)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-archive-tools/fix-503
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+355425@code.launchpad.net

Description of the change

The reject queue can be large and timeout when loading, so lets search for the package name so the page won't timeout.

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
1=== modified file 'sru-review'
2--- sru-review 2018-09-19 12:47:15 +0000
3+++ sru-review 2018-09-20 13:51:32 +0000
4@@ -124,8 +124,8 @@
5 queues = {'New': 0, 'Unapproved': 1, 'Rejected': 4}
6 queue = options.queue.title()
7 queue_url = ('https://launchpad.net/ubuntu/%s/+queue?'
8- 'queue_state=%s&batch=300' %
9- (series.name, queues[queue]))
10+ 'queue_state=%s&batch=300&queue_text=%s' %
11+ (series.name, queues[queue], sourcepkg))
12 uploads = [upload for upload in
13 series.getPackageUploads(archive=archive, exact_match=True,
14 name=sourcepkg, pocket='Proposed',

Subscribers

People subscribed via source and target branches