Merge lp:~wgrant/launchpad/show-package-sets-in-queue into lp:launchpad

Proposed by William Grant
Status: Merged
Approved by: Michael Hudson-Doyle
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~wgrant/launchpad/show-package-sets-in-queue
Merge into: lp:launchpad
Diff against target: 426 lines (+148/-64)
8 files modified
lib/lp/soyuz/browser/queue.py (+11/-0)
lib/lp/soyuz/doc/packageset.txt (+14/-2)
lib/lp/soyuz/interfaces/packageset.py (+7/-1)
lib/lp/soyuz/model/packageset.py (+7/-2)
lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt (+2/-2)
lib/lp/soyuz/stories/soyuz/xx-queue-pages-motu.txt (+7/-7)
lib/lp/soyuz/stories/soyuz/xx-queue-pages.txt (+94/-50)
lib/lp/soyuz/templates/distroseries-queue.pt (+6/-0)
To merge this branch: bzr merge lp:~wgrant/launchpad/show-package-sets-in-queue
Reviewer Review Type Date Requested Status
Paul Hummer (community) code ui* Approve
Review via email: mp+21521@code.launchpad.net

Commit message

Show source package sets in the queue UI.

Description of the change

It was requested that we show package sets on DistroSeries/+queue, since it is critical during freezes to be able to differentiate between those sources which are seeded onto CDs, and those which are not. This branch shows the package set inclusions in source queue rows (only direct inclusions -- anything else could get very wide and is not desired).

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) wrote :
Revision history for this message
Paul Hummer (rockstar) wrote :

Thanks for this branch. Anything to make Ubuntu packagers happy is a big +1 for me. The code looks good. Have you talked this over with anyone from Soyuz?

review: Approve (code ui*)
Revision history for this message
William Grant (wgrant) wrote :

Yeah, Julian gave it a +1 last night.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I'll land this too.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/lp/soyuz/browser/queue.py'
--- lib/lp/soyuz/browser/queue.py 2010-03-09 08:33:19 +0000
+++ lib/lp/soyuz/browser/queue.py 2010-03-17 02:52:22 +0000
@@ -28,6 +28,7 @@
28 IBinaryPackageNameSet)28 IBinaryPackageNameSet)
29from lp.soyuz.interfaces.files import (29from lp.soyuz.interfaces.files import (
30 IBinaryPackageFileSet, ISourcePackageReleaseFileSet)30 IBinaryPackageFileSet, ISourcePackageReleaseFileSet)
31from lp.soyuz.interfaces.packageset import IPackagesetSet
31from lp.soyuz.interfaces.publishing import name_priority_map32from lp.soyuz.interfaces.publishing import name_priority_map
32from canonical.launchpad.webapp import LaunchpadView33from canonical.launchpad.webapp import LaunchpadView
33from canonical.launchpad.webapp.batching import BatchNavigator34from canonical.launchpad.webapp.batching import BatchNavigator
@@ -480,3 +481,13 @@
480 return self.sources[0].sourcepackagerelease.upload_changesfile481 return self.sources[0].sourcepackagerelease.upload_changesfile
481 return self.context.changesfile482 return self.context.changesfile
482483
484 @property
485 def package_sets(self):
486 assert self.sourcepackagerelease, \
487 "Can only be used on a source upload."
488 return ' '.join(sorted(ps.name for ps in
489 getUtility(IPackagesetSet).setsIncludingSource(
490 self.sourcepackagerelease.sourcepackagename,
491 distroseries=self.distroseries,
492 direct_inclusion=True)))
493
483494
=== modified file 'lib/lp/soyuz/doc/packageset.txt'
--- lib/lp/soyuz/doc/packageset.txt 2009-12-24 01:41:54 +0000
+++ lib/lp/soyuz/doc/packageset.txt 2010-03-17 02:52:22 +0000
@@ -500,6 +500,20 @@
500 1 -> umbrella500 1 -> umbrella
501 5 -> firefox501 5 -> firefox
502502
503We can filter the package sets by series:
504
505 >>> from canonical.launchpad.interfaces import IDistributionSet
506 >>> ubuntu = getUtility(IDistributionSet)['ubuntu']
507 >>> print_data(
508 ... ps_set.setsIncludingSource(firefox_spn,
509 ... distroseries=ubuntu['hoary']))
510 1 -> umbrella
511 4 -> mozilla
512 5 -> firefox
513 >>> print_data(
514 ... ps_set.setsIncludingSource(firefox_spn,
515 ... distroseries=ubuntu['warty']))
516
503It is also possible to ask the same question by providing the mere name of517It is also possible to ask the same question by providing the mere name of
504the source package.518the source package.
505519
@@ -622,10 +636,8 @@
622Introduce a copy archive that will be used to disambiguate archive636Introduce a copy archive that will be used to disambiguate archive
623permissions.637permissions.
624638
625 >>> from canonical.launchpad.interfaces import IDistributionSet
626 >>> from lp.soyuz.interfaces.archive import (639 >>> from lp.soyuz.interfaces.archive import (
627 ... ArchivePurpose, IArchiveSet)640 ... ArchivePurpose, IArchiveSet)
628 >>> ubuntu = getUtility(IDistributionSet)['ubuntu']
629 >>> rebuild_archive = getUtility(IArchiveSet).new(641 >>> rebuild_archive = getUtility(IArchiveSet).new(
630 ... owner=person1, purpose=ArchivePurpose.COPY,642 ... owner=person1, purpose=ArchivePurpose.COPY,
631 ... distribution=ubuntu, name='copy-archive',643 ... distribution=ubuntu, name='copy-archive',
632644
=== modified file 'lib/lp/soyuz/interfaces/packageset.py'
--- lib/lp/soyuz/interfaces/packageset.py 2009-11-03 14:43:22 +0000
+++ lib/lp/soyuz/interfaces/packageset.py 2010-03-17 02:52:22 +0000
@@ -27,6 +27,7 @@
27 operation_parameters, operation_returns_collection_of,27 operation_parameters, operation_returns_collection_of,
28 operation_returns_entry, webservice_error)28 operation_returns_entry, webservice_error)
29from lazr.restful.fields import Reference29from lazr.restful.fields import Reference
30from lazr.restful.interface import copy_field
30from lp.registry.interfaces.distroseries import IDistroSeries31from lp.registry.interfaces.distroseries import IDistroSeries
31from lp.registry.interfaces.person import IPerson32from lp.registry.interfaces.person import IPerson
32from lp.registry.interfaces.role import IHasOwner33from lp.registry.interfaces.role import IHasOwner
@@ -413,10 +414,12 @@
413 @operation_parameters(414 @operation_parameters(
414 sourcepackagename=TextLine(415 sourcepackagename=TextLine(
415 title=_('Source package name'), required=True),416 title=_('Source package name'), required=True),
417 distroseries=copy_field(IPackageset['distroseries'], required=False),
416 direct_inclusion=Bool(required=False))418 direct_inclusion=Bool(required=False))
417 @operation_returns_collection_of(IPackageset)419 @operation_returns_collection_of(IPackageset)
418 @export_read_operation()420 @export_read_operation()
419 def setsIncludingSource(sourcepackagename, direct_inclusion=False):421 def setsIncludingSource(sourcepackagename, distroseries=None,
422 direct_inclusion=False):
420 """Get the package sets that include this source package.423 """Get the package sets that include this source package.
421424
422 Return all package sets that directly or indirectly include the425 Return all package sets that directly or indirectly include the
@@ -424,6 +427,9 @@
424427
425 :param sourcepackagename: the included source package name; can be428 :param sourcepackagename: the included source package name; can be
426 either a string or a `ISourcePackageName`.429 either a string or a `ISourcePackageName`.
430 :param distroseries: the `IDistroSeries` in which to look for sets.
431 If omitted, matching package sets from all series will be
432 returned.
427 :param direct_inclusion: if this flag is set to True, then only433 :param direct_inclusion: if this flag is set to True, then only
428 package sets that directly include this source package name will434 package sets that directly include this source package name will
429 be considered.435 be considered.
430436
=== modified file 'lib/lp/soyuz/model/packageset.py'
--- lib/lp/soyuz/model/packageset.py 2009-11-06 21:10:13 +0000
+++ lib/lp/soyuz/model/packageset.py 2010-03-17 02:52:22 +0000
@@ -403,7 +403,8 @@
403 source_name = getUtility(ISourcePackageNameSet)[source_name]403 source_name = getUtility(ISourcePackageNameSet)[source_name]
404 return source_name404 return source_name
405405
406 def setsIncludingSource(self, sourcepackagename, direct_inclusion=False):406 def setsIncludingSource(self, sourcepackagename, distroseries=None,
407 direct_inclusion=False):
407 """See `IPackagesetSet`."""408 """See `IPackagesetSet`."""
408 sourcepackagename = self._nameToSourcePackageName(sourcepackagename)409 sourcepackagename = self._nameToSourcePackageName(sourcepackagename)
409410
@@ -421,5 +422,9 @@
421 '''422 '''
422 store = IStore(Packageset)423 store = IStore(Packageset)
423 psets = SQL(query, (sourcepackagename.id,))424 psets = SQL(query, (sourcepackagename.id,))
424 result_set = store.find(Packageset, In(Packageset.id, psets))425 clauses = [In(Packageset.id, psets)]
426 if distroseries:
427 clauses.append(Packageset.distroseries == distroseries)
428
429 result_set = store.find(Packageset, *clauses)
425 return _order_result_set(result_set)430 return _order_result_set(result_set)
426431
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt'
--- lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt 2010-02-26 13:35:45 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt 2010-03-17 02:52:22 +0000
@@ -48,7 +48,7 @@
4848
49 >>> for row in find_tags_by_class(anon_browser.contents, "queue-row"):49 >>> for row in find_tags_by_class(anon_browser.contents, "queue-row"):
50 ... print extract_text(row)50 ... print extract_text(row)
51 Package Version Component Section Priority Pocket When51 Package Version Component Section Priority Sets Pocket When
52 foo, foo (delayed) (source, i386) 666 main base low ...52 foo, foo (delayed) (source, i386) 666 main base low ...
5353
54 >>> anon_browser.getLink('foo, foo')54 >>> anon_browser.getLink('foo, foo')
@@ -84,7 +84,7 @@
8484
85 >>> for row in find_tags_by_class(cprov_browser.contents, "queue-row"):85 >>> for row in find_tags_by_class(cprov_browser.contents, "queue-row"):
86 ... print extract_text(row)86 ... print extract_text(row)
87 Package Version Component Section Priority Pocket When87 Package Version Component Section Priority Sets Pocket When
88 foo, foo (delayed) (source, i386) 666 main base low ...88 foo, foo (delayed) (source, i386) 666 main base low ...
8989
90 >>> anon_browser.getLink('foo, foo')90 >>> anon_browser.getLink('foo, foo')
9191
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-queue-pages-motu.txt'
--- lib/lp/soyuz/stories/soyuz/xx-queue-pages-motu.txt 2009-07-01 13:16:44 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-queue-pages-motu.txt 2010-03-17 02:52:22 +0000
@@ -38,13 +38,13 @@
38 ... "http://launchpad.dev/ubuntu/breezy-autotest/")38 ... "http://launchpad.dev/ubuntu/breezy-autotest/")
39 >>> motu_browser.getLink("Show uploads").click()39 >>> motu_browser.getLink("Show uploads").click()
40 >>> print_queue(motu_browser.contents)40 >>> print_queue(motu_browser.contents)
41 Package Version Component Section Priority Pocket When41 Package Version Component Section Priority Sets Pocket When
42 netapplet...ddtp... - Release 2006...42 netapplet...ddtp... - Release 2006...
43 netapplet...dist... - Release 2006...43 netapplet...dist... - Release 2006...
44 alsa-utils (source) 1.0.9a-4... main base low Release 2006...44 alsa-utils (source) 1.0.9a-4... main base low Release 2006...
45 netapplet (source) 0.99.6-1 main web low Release 2006...45 netapplet (source) 0.99.6-1 main web low Release 2006...
46 pmount (i386) 0.1-1 Release 2006...46 pmount (i386) 0.1-1 Release 2006...
47 moz...irefox (i386) 0.9 Release 2006...47 moz...irefox (i386) 0.9 Release 2006...
4848
49If we try and accept "alsa-utils" it will fail because our user does49If we try and accept "alsa-utils" it will fail because our user does
50not have permission to accept items in "main":50not have permission to accept items in "main":
5151
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-queue-pages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-queue-pages.txt 2010-03-05 17:04:27 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-queue-pages.txt 2010-03-17 02:52:22 +0000
@@ -62,13 +62,13 @@
62 ... print extract_text(row)62 ... print extract_text(row)
6363
64 >>> print_queue(anon_browser.contents)64 >>> print_queue(anon_browser.contents)
65 Package Version Component Section Priority Pocket When65 Package Version Component Section Priority Sets Pocket When
66 netapplet...ddtp... - Release 2006-...66 netapplet...ddtp... - Release 2006-...
67 netapplet...dist... - Release 2006-...67 netapplet...dist... - Release 2006-...
68 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...68 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...
69 netapplet (source) 0.99.6-1 main web low Release 2006-...69 netapplet (source) 0.99.6-1 main web low Release 2006-...
70 pmount (i386) 0.1-1 Release 2006-...70 pmount (i386) 0.1-1 Release 2006-...
71 moz...irefox (i386) 0.9 Release 2006-...71 moz...irefox (i386) 0.9 Release 2006-...
7272
73The package name in the results list is a clickable link to the changes73The package name in the results list is a clickable link to the changes
74file for that upload.74file for that upload.
@@ -92,12 +92,12 @@
92 ... name="queue_state", index=0).displayValue = ['Unapproved']92 ... name="queue_state", index=0).displayValue = ['Unapproved']
93 >>> anon_browser.getControl("Update").click()93 >>> anon_browser.getControl("Update").click()
94 >>> print_queue(anon_browser.contents)94 >>> print_queue(anon_browser.contents)
95 Package Version Component Section Priority Pocket When95 Package Version Component Section Priority Sets Pocket When
96 lang...-de (source) 1.0 main trans... low Proposed 2007-...96 lang...-de (source) 1.0 main trans... low Proposed 2007-...
97 netapplet...ddtp... - Backp... 2006-...97 netapplet...ddtp... - Backp... 2006-...
98 cnews (source) 1.0 main base low Release 2006-...98 cnews (source) 1.0 main base low Release 2006-...
99 cnews (source) 1.0 main base low Release 2006-...99 cnews (source) 1.0 main base low Release 2006-...
100 netapplet...(raw-translations) - Updates 2006-...100 netapplet...(raw-translations) - Updates 2006-...
101101
102The results can be filtered matching source name, binary name or102The results can be filtered matching source name, binary name or
103custom-upload filename.103custom-upload filename.
@@ -105,24 +105,68 @@
105 >>> anon_browser.getControl(name="queue_text").value = 'language'105 >>> anon_browser.getControl(name="queue_text").value = 'language'
106 >>> anon_browser.getControl("Update").click()106 >>> anon_browser.getControl("Update").click()
107 >>> print_queue(anon_browser.contents)107 >>> print_queue(anon_browser.contents)
108 Package Version Component Section Priority Pocket When108 Package Version Component Section Priority Sets Pocket When
109 lang...-de (source) 1.0 main trans... low Proposed 2007-...109 lang...-de (source) 1.0 main trans... low Proposed 2007-...
110110
111 >>> anon_browser.getControl(name="queue_text").value = 'netapplet'111 >>> anon_browser.getControl(name="queue_text").value = 'netapplet'
112 >>> anon_browser.getControl("Update").click()112 >>> anon_browser.getControl("Update").click()
113 >>> print_queue(anon_browser.contents)113 >>> print_queue(anon_browser.contents)
114 Package Version Component Section Priority Pocket When114 Package Version Component Section Priority Sets Pocket When
115 netapplet...(raw-translations) - Updates 2006-...115 netapplet...(raw-translations) - Updates 2006-...
116 netapplet...ddtp... - Backp... 2006-...116 netapplet...ddtp... - Backp... 2006-...
117117
118 >>> anon_browser.getControl(118 >>> anon_browser.getControl(
119 ... name="queue_state", index=0).displayValue = ['New']119 ... name="queue_state", index=0).displayValue = ['New']
120 >>> anon_browser.getControl(name="queue_text").value = 'pmount'120 >>> anon_browser.getControl(name="queue_text").value = 'pmount'
121 >>> anon_browser.getControl("Update").click()121 >>> anon_browser.getControl("Update").click()
122 >>> print_queue(anon_browser.contents)122 >>> print_queue(anon_browser.contents)
123 Package Version Component Section Priority Pocket When123 Package Version Component Section Priority Sets Pocket When
124 pmount (i386) 0.1-1 Release 2006-...124 pmount (i386) 0.1-1 Release 2006-...
125125
126A source's package sets are listed in the queue. Since there are none in
127the sample data, we'll first add some.
128
129 >>> login('foo.bar@canonical.com')
130 >>> from lp.soyuz.interfaces.packageset import IPackagesetSet
131 >>> ubuntu = getUtility(IDistributionSet)['ubuntu']
132 >>> hoary = ubuntu['hoary']
133 >>> breezy_autotest = ubuntu['breezy-autotest']
134 >>> pss = getUtility(IPackagesetSet)
135 >>> desktop = pss.new(
136 ... u'desktop', u'Ubuntu Desktop', name12, breezy_autotest)
137 >>> server = pss.new(
138 ... u'server', u'Ubuntu Server', name12, breezy_autotest)
139 >>> core = pss.new(
140 ... u'core', u'Ubuntu Core', name12, breezy_autotest)
141 >>> desktop.add([core])
142 >>> desktop.addSources(['alsa-utils'])
143 >>> server.addSources(['alsa-utils'])
144 >>> core.addSources(['netapplet'])
145
146Package sets from other series are not shown.
147
148 >>> kubuntu = pss.new(u'kubuntu', u'Kubuntu', name12, hoary)
149 >>> kubuntu.addSources(['alsa-utils'])
150 >>> logout()
151
152 >>> anon_browser.getControl(
153 ... name="queue_state", index=0).displayValue = ['New']
154 >>> anon_browser.getControl(name="queue_text").value = ''
155 >>> anon_browser.getControl("Update").click()
156 >>> print_queue(anon_browser.contents)
157 Package Version Component Section Priority Sets Pocket When
158 netapplet...ddtp... - Release 2006-...
159 netapplet...dist... - Release 2006-...
160 alsa-utils (source) 1.0.9a-4... main base low desktop server Release 2006-...
161 netapplet (source) 0.99.6-1 main web low core Release 2006-...
162 pmount (i386) 0.1-1 Release 2006-...
163 moz...irefox (i386) 0.9 Release 2006-...
164
165 >>> login('foo.bar@canonical.com')
166 >>> desktop.removeSources(['alsa-utils'])
167 >>> server.removeSources(['alsa-utils'])
168 >>> core.removeSources(['netapplet'])
169 >>> logout()
126170
127== Queue item filelist ==171== Queue item filelist ==
128172
@@ -243,26 +287,26 @@
243 >>> upload_manager_browser.open(287 >>> upload_manager_browser.open(
244 ... "http://localhost/ubuntu/breezy-autotest/+queue")288 ... "http://localhost/ubuntu/breezy-autotest/+queue")
245 >>> print_queue(upload_manager_browser.contents)289 >>> print_queue(upload_manager_browser.contents)
246 Package Version Component Section Priority Pocket When290 Package Version Component Section Priority Sets Pocket When
247 bar (source) 1.0-1 universe devel low Release ...291 bar (source) 1.0-1 universe devel low Release ...
248 netapplet...ddtp... - Release 2006-...292 netapplet...ddtp... - Release 2006-...
249 netapplet...dist... - Release 2006-...293 netapplet...dist... - Release 2006-...
250 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...294 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...
251 netapplet (source) 0.99.6-1 main web low Release 2006-...295 netapplet (source) 0.99.6-1 main web low Release 2006-...
252 pmount (i386) 0.1-1 Release 2006-...296 pmount (i386) 0.1-1 Release 2006-...
253 moz...irefox (i386) 0.9 Release 2006-...297 moz...irefox (i386) 0.9 Release 2006-...
254298
255 >>> upload_manager_browser.getControl(299 >>> upload_manager_browser.getControl(
256 ... name="QUEUE_ID").value = [str(bar_queue_id)]300 ... name="QUEUE_ID").value = [str(bar_queue_id)]
257 >>> upload_manager_browser.getControl(name="Accept").click()301 >>> upload_manager_browser.getControl(name="Accept").click()
258 >>> print_queue(upload_manager_browser.contents)302 >>> print_queue(upload_manager_browser.contents)
259 Package Version Component Section Priority Pocket When303 Package Version Component Section Priority Sets Pocket When
260 netapplet...ddtp... - Release 2006-...304 netapplet...ddtp... - Release 2006-...
261 netapplet...dist... - Release 2006-...305 netapplet...dist... - Release 2006-...
262 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...306 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...
263 netapplet (source) 0.99.6-1 main web low Release 2006-...307 netapplet (source) 0.99.6-1 main web low Release 2006-...
264 pmount (i386) 0.1-1 Release 2006-...308 pmount (i386) 0.1-1 Release 2006-...
265 moz...irefox (i386) 0.9 Release 2006-...309 moz...irefox (i386) 0.9 Release 2006-...
266310
267Accepting queue items results in an email to the uploader (and the changer311Accepting queue items results in an email to the uploader (and the changer
268if it is someone other than the uploader) and (usually) an email to the312if it is someone other than the uploader) and (usually) an email to the
@@ -310,8 +354,8 @@
310 ... name="queue_state", index=0).displayValue = ['Accepted']354 ... name="queue_state", index=0).displayValue = ['Accepted']
311 >>> upload_manager_browser.getControl("Update").click()355 >>> upload_manager_browser.getControl("Update").click()
312 >>> print_queue(upload_manager_browser.contents)356 >>> print_queue(upload_manager_browser.contents)
313 Package Version Component Section Priority Pocket When357 Package Version Component Section Priority Sets Pocket When
314 moz...irefox (i386) 0.9 Release 2006-...358 moz...irefox (i386) 0.9 Release 2006-...
315359
316Going back to the "new" queue, we can see our item has gone:360Going back to the "new" queue, we can see our item has gone:
317361
@@ -319,8 +363,8 @@
319 ... name="queue_state", index=0).displayValue = ['New']363 ... name="queue_state", index=0).displayValue = ['New']
320 >>> upload_manager_browser.getControl("Update").click()364 >>> upload_manager_browser.getControl("Update").click()
321 >>> print_queue(upload_manager_browser.contents)365 >>> print_queue(upload_manager_browser.contents)
322 Package Version Component Section Priority Pocket When366 Package Version Component Section Priority Sets Pocket When
323 netapplet...ddtp... - Release 2006-...367 netapplet...ddtp... - Release 2006-...
324 netapplet...dist... - Release 2006-...368 netapplet...dist... - Release 2006-...
325 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...369 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...
326 netapplet (source) 0.99.6-1 main web low Release 2006-...370 netapplet (source) 0.99.6-1 main web low Release 2006-...
@@ -396,10 +440,10 @@
396 OK: pmount(restricted/admin/extra)440 OK: pmount(restricted/admin/extra)
397441
398 >>> print_queue(upload_manager_browser.contents)442 >>> print_queue(upload_manager_browser.contents)
399 Package Version Component Section Priority Pocket When443 Package Version Component Section Priority Sets Pocket When
400 netapplet...ddtp... - Release 2006-...444 netapplet...ddtp... - Release 2006-...
401 netapplet...dist... - Release 2006-...445 netapplet...dist... - Release 2006-...
402 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...446 alsa-utils (source) 1.0.9a-4... main base low Release 2006-...
403447
404Any user can now see the 'accepted' queue contains pmount with its448Any user can now see the 'accepted' queue contains pmount with its
405overridden values.449overridden values.
@@ -408,8 +452,8 @@
408 ... name="queue_state", index=0).displayValue=['Accepted']452 ... name="queue_state", index=0).displayValue=['Accepted']
409 >>> anon_browser.getControl("Update").click()453 >>> anon_browser.getControl("Update").click()
410 >>> print_queue(anon_browser.contents)454 >>> print_queue(anon_browser.contents)
411 Package Version Component Section Priority Pocket When455 Package Version Component Section Priority Sets Pocket When
412 pmount (i386) 0.1-1 Release 2006-...456 pmount (i386) 0.1-1 Release 2006-...
413 ...457 ...
414458
415The user can drill down into the file list to see the overridden binary459The user can drill down into the file list to see the overridden binary
@@ -428,7 +472,7 @@
428 ... name="queue_state", index=0).displayValue=['Done']472 ... name="queue_state", index=0).displayValue=['Done']
429 >>> anon_browser.getControl("Update").click()473 >>> anon_browser.getControl("Update").click()
430 >>> print_queue(anon_browser.contents)474 >>> print_queue(anon_browser.contents)
431 Package Version Component Section Priority Pocket When475 Package Version Component Section Priority Sets Pocket When
432 ...476 ...
433 netapplet (source) 0.99.6-1 restricted admin low ...477 netapplet (source) 0.99.6-1 restricted admin low ...
434478
@@ -446,9 +490,9 @@
446 OK: alsa-utils490 OK: alsa-utils
447491
448 >>> print_queue(upload_manager_browser.contents)492 >>> print_queue(upload_manager_browser.contents)
449 Package Version Component Section Priority Pocket When493 Package Version Component Section Priority Sets Pocket When
450 netapplet...ddtp... - Release 2006-...494 netapplet...ddtp... - Release 2006-...
451 netapplet...dist... - Release 2006-...495 netapplet...dist... - Release 2006-...
452496
453One rejection email is generated:497One rejection email is generated:
454498
455499
=== modified file 'lib/lp/soyuz/templates/distroseries-queue.pt'
--- lib/lp/soyuz/templates/distroseries-queue.pt 2009-09-04 10:19:08 +0000
+++ lib/lp/soyuz/templates/distroseries-queue.pt 2010-03-17 02:52:22 +0000
@@ -63,6 +63,7 @@
63 <th> Component </th>63 <th> Component </th>
64 <th> Section </th>64 <th> Section </th>
65 <th> Priority </th>65 <th> Priority </th>
66 <th> Sets </th>
66 <th> Pocket </th>67 <th> Pocket </th>
67 <th> When </th>68 <th> When </th>
68 </tr>69 </tr>
@@ -111,6 +112,11 @@
111 content="packageupload/sourcepackagerelease/urgency/name/lower">112 content="packageupload/sourcepackagerelease/urgency/name/lower">
112 </tal:priority>113 </tal:priority>
113 </td>114 </td>
115 <td style="padding-top: 5px">
116 <tal:packagesets condition="is_source"
117 content="packageupload/package_sets">
118 </tal:packagesets>
119 </td>
114 </tal:is_source>120 </tal:is_source>
115 <td style="padding-top: 5px"121 <td style="padding-top: 5px"
116 tal:content="packageupload/pocket/title">Updates122 tal:content="packageupload/pocket/title">Updates