~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/browser/configure.zcml

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-27 22:12:39 UTC
  • mfrom: (14391.1.4 facet-everything)
  • Revision ID: launchpad@pqm.canonical.com-20111127221239-ob31sd2aw9feo9xm
[r=lifeless][no-qa] Deduplicate ZCML facet specifications a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
            for="lp.soyuz.interfaces.processor.IProcessor"
47
47
            path_expression="string:${name}"
48
48
            parent_utility="lp.soyuz.interfaces.processor.IProcessorSet" />
49
 
    </facet>
50
49
    <browser:navigation
51
50
        module="lp.soyuz.browser.binarypackagerelease"
52
51
        classes="
54
53
    <browser:pages
55
54
        for="lp.soyuz.model.binarypackagerelease.BinaryPackageRelease"
56
55
        class="lp.soyuz.browser.binarypackagerelease.BinaryPackageView"
57
 
        facet="overview"
58
56
        permission="zope.Public">
59
57
        <browser:page
60
58
            name="+portlet-details"
127
125
            template="../templates/sourcepackagerelease-copyright.pt"/>
128
126
        <browser:page
129
127
            name="+files"
130
 
            facet="overview"
131
128
            template="../templates/sourcepackagerelease-files.pt"/>
132
129
    </browser:pages>
133
 
    <facet
134
 
        facet="overview">
135
130
        <browser:pages
136
131
            for="lp.soyuz.interfaces.publishing.ISourcePackagePublishingHistory"
137
132
            permission="zope.Public"
174
169
        <browser:navigation
175
170
            module="lp.soyuz.browser.publishing"
176
171
            classes="SourcePackagePublishingHistoryNavigation" />
177
 
    </facet>
178
172
    <browser:defaultView
179
173
        for="lp.soyuz.interfaces.distroseriessourcepackagerelease.IDistroSeriesSourcePackageRelease"
180
174
        name="+index"/>
192
186
        permission="zope.Public">
193
187
        <browser:page
194
188
            name="+index"
195
 
            facet="overview"
196
189
            template="../templates/distroseriessourcepackagerelease-index.pt"/>
197
190
 
198
191
        <!-- DistroSeriesSourcePackageRelease Portlets -->
199
192
 
200
193
        <browser:page
201
194
            name="+portlet-details"
202
 
            facet="overview"
203
195
            template="../templates/distroseriessourcepackagerelease-portlet-details.pt"/>
204
196
    </browser:pages>
205
197
    <browser:defaultView
219
211
        permission="zope.Public">
220
212
        <browser:page
221
213
            name="+index"
222
 
            facet="overview"
223
214
            template="../templates/distroarchseriesbinarypackagerelease-index.pt"/>
224
215
 
225
216
        <!-- DistroArchSeriesBinaryPackageRelease Portlets -->
226
217
 
227
218
        <browser:page
228
219
            name="+portlet-details"
229
 
            facet="overview"
230
220
            template="../templates/distroarchseriesbinarypackagerelease-portlet-details.pt"/>
231
221
    </browser:pages>
232
222
    <browser:defaultView
259
249
        permission="launchpad.View"
260
250
        name="+index"
261
251
        template="../templates/archive-index.pt"
262
 
        facet="overview"
263
252
        class="lp.soyuz.browser.archive.ArchiveView"/>
264
253
    <browser:page
265
254
        for="lp.soyuz.interfaces.archive.IArchive"
266
255
        permission="launchpad.View"
267
256
        name="+packages"
268
257
        template="../templates/archive-packages.pt"
269
 
        facet="overview"
270
258
        class="lp.soyuz.browser.archive.ArchivePackagesView"/>
271
259
    <browser:pages
272
260
        for="lp.soyuz.interfaces.archive.IArchive"
273
261
        permission="launchpad.View">
274
262
        <browser:page
275
263
            template="../templates/archive-ppa-row.pt"
276
 
            facet="overview"
277
264
            name="+ppa-row"/>
278
265
        <browser:page
279
266
            template="../templates/archive-repository-size.pt"
285
272
        class="lp.soyuz.browser.archive.ArchiveBuildsView">
286
273
        <browser:page
287
274
            name="+builds"
288
 
            facet="overview"
289
275
            template="../templates/builds.pt"/>
290
276
        <browser:page
291
277
            name="+builds-list"
293
279
    </browser:pages>
294
280
    <browser:page
295
281
        name="+edit"
296
 
        facet="overview"
297
282
        for="lp.soyuz.interfaces.archive.IArchive"
298
283
        class="lp.soyuz.browser.archive.ArchiveEditView"
299
284
        permission="launchpad.Edit"
300
285
        template="../../app/templates/generic-edit.pt"/>
301
286
    <browser:page
302
287
        name="+delete"
303
 
        facet="overview"
304
288
        for="lp.soyuz.interfaces.archive.IArchive"
305
289
        class="lp.soyuz.browser.archive.ArchiveDeleteView"
306
290
        permission="launchpad.Edit"
307
291
        template="../templates/archive-delete.pt"/>
308
292
    <browser:page
309
293
        name="+admin"
310
 
        facet="overview"
311
294
        for="lp.soyuz.interfaces.archive.IArchive"
312
295
        class="lp.soyuz.browser.archive.ArchiveAdminView"
313
296
        permission="launchpad.Commercial"
318
301
        class="lp.soyuz.browser.archive.ArchivePackageDeletionView">
319
302
        <browser:page
320
303
            template="../templates/archive-delete-packages.pt"
321
 
            facet="overview"
322
304
            name="+delete-packages"/>
323
305
    </browser:pages>
324
306
    <browser:pages
327
309
        class="lp.soyuz.browser.archive.ArchivePackageCopyingView">
328
310
        <browser:page
329
311
            template="../templates/archive-copy-packages.pt"
330
 
            facet="overview"
331
312
            name="+copy-packages"/>
332
313
    </browser:pages>
333
314
    <browser:pages
336
317
        class="lp.soyuz.browser.archive.ArchiveEditDependenciesView">
337
318
        <browser:page
338
319
            template="../templates/archive-edit-dependencies.pt"
339
 
            facet="overview"
340
320
            name="+edit-dependencies"/>
341
321
    </browser:pages>
342
322
    <browser:pages
345
325
        class="lp.soyuz.browser.archivesubscription.ArchiveSubscribersView">
346
326
        <browser:page
347
327
            name="+subscriptions"
348
 
            facet="overview"
349
328
            template="../templates/archive-subscribers.pt"/>
350
329
    </browser:pages>
351
330
    <browser:menus
380
359
        permission="launchpad.View">
381
360
        <browser:page
382
361
            name="+index"
383
 
            facet="overview"
384
362
            template="../templates/build-index.pt"/>
385
363
    </browser:pages>
386
364
    <browser:pages
389
367
        permission="launchpad.Edit">
390
368
        <browser:page
391
369
            name="+retry"
392
 
            facet="overview"
393
370
            template="../templates/build-retry.pt"/>
394
371
    </browser:pages>
395
372
    <browser:pages
398
375
        permission="launchpad.Admin">
399
376
        <browser:page
400
377
            name="+rescore"
401
 
            facet="overview"
402
378
            template="../templates/build-rescore.pt"/>
403
379
    </browser:pages>
404
380
    <browser:pages
407
383
        permission="launchpad.Edit">
408
384
        <browser:page
409
385
            name="+cancel"
410
 
            facet="overview"
411
386
            template="../../app/templates/generic-edit.pt"/>
412
387
    </browser:pages>
413
388
    <browser:menus
431
406
        class="lp.soyuz.browser.builder.BuilderSetView">
432
407
        <browser:page
433
408
            template="../templates/builders-index.pt"
434
 
            name="+index"
435
 
            facet="overview"/>
 
409
            name="+index"/>
436
410
    </browser:pages>
437
411
    <browser:page
438
412
        name="+new"
439
413
        for="lp.buildmaster.interfaces.builder.IBuilderSet"
440
414
        class="lp.soyuz.browser.builder.BuilderSetAddView"
441
415
        permission="launchpad.Admin"
442
 
        template="../templates/builder-new.pt"
443
 
        facet="overview"/>
 
416
        template="../templates/builder-new.pt"/>
444
417
    <browser:defaultView
445
418
        for="lp.buildmaster.interfaces.builder.IBuilder"
446
419
        name="+index"/>
458
431
        class="lp.soyuz.browser.builder.BuilderView">
459
432
        <browser:page
460
433
            template="../templates/builder-index.pt"
461
 
            facet="overview"
462
434
            name="+index"/>
463
435
        <browser:page
464
436
            template="../templates/builder-portlet-details.pt"
465
 
            name="+portlet-details"
466
 
            facet="overview"/>
 
437
            name="+portlet-details"/>
467
438
    </browser:pages>
468
439
    <browser:pages
469
440
        for="lp.buildmaster.interfaces.builder.IBuilder"
471
442
        class="lp.soyuz.browser.builder.BuilderHistoryView">
472
443
        <browser:page
473
444
            name="+history"
474
 
            template="../templates/builds.pt"
475
 
            facet="overview" />
 
445
            template="../templates/builds.pt"/>
476
446
        <browser:page
477
447
            template="../templates/builds-list.pt"
478
 
            name="+builds-list"
479
 
            facet="overview"/>
 
448
            name="+builds-list"/>
480
449
    </browser:pages>
481
450
    <browser:page
482
451
        name="+edit"
483
452
        for="lp.buildmaster.interfaces.builder.IBuilder"
484
453
        class="lp.soyuz.browser.builder.BuilderEditView"
485
454
        permission="launchpad.Edit"
486
 
        template="../templates/builder-edit.pt"
487
 
        facet="overview"/>
 
455
        template="../templates/builder-edit.pt"/>
488
456
    <browser:menus
489
457
        classes="
490
458
            BuilderSetFacets
512
480
        permission="zope.Public">
513
481
        <browser:page
514
482
            name="+index"
515
 
            facet="overview"
516
483
            template="../templates/distroarchseriesbinarypackage-index.pt"/>
517
484
 
518
485
        <!-- DistroArchSeriesBinaryPackage Portlets -->
534
501
        attribute_to_parent="subscriber"/>
535
502
   <browser:page
536
503
        name="+index"
537
 
        facet="overview"
538
504
        for="lp.soyuz.interfaces.archivesubscriber.IArchiveSubscriber"
539
505
        class="lp.soyuz.browser.archivesubscription.ArchiveSubscriptionEditView"
540
506
        permission="launchpad.Edit"
541
507
        template="../templates/archive-subscriber-edit.pt" />
542
508
    <browser:page
543
509
        name="+edit"
544
 
        facet="overview"
545
510
        for="lp.soyuz.interfaces.archivesubscriber.IArchiveSubscriber"
546
511
        class="lp.soyuz.browser.archivesubscription.ArchiveSubscriptionEditView"
547
512
        permission="launchpad.Edit"
548
513
        template="../templates/archive-subscriber-edit.pt"/>
549
514
    <browser:page
550
515
        name="+index"
551
 
        facet="overview"
552
516
        for="lp.soyuz.interfaces.archivesubscriber.IPersonalArchiveSubscription"
553
517
        class="lp.soyuz.browser.archivesubscription.PersonArchiveSubscriptionView"
554
518
        permission="launchpad.View"
573
537
        permission="zope.Public">
574
538
        <browser:page
575
539
            name="+index"
576
 
            facet="overview"
577
540
            template="../templates/distributionsourcepackagerelease-index.pt"/>
578
541
        <browser:page
579
542
            name="+changes"
580
 
            facet="overview"
581
543
            template="../templates/distributionsourcepackagerelease-changes.pt"/>
582
544
    </browser:pages>
583
545
    <browser:page
585
547
        class="lp.soyuz.browser.distributionsourcepackagerelease.DistributionSourcePackageReleasePublishingHistoryView"
586
548
        permission="zope.Public"
587
549
        name="+publishinghistory"
588
 
        facet="overview"
589
550
        template="../templates/distributionsourcepackage-publishinghistory.pt" />
590
551
    <browser:defaultView
591
552
        for="lp.soyuz.interfaces.distroseriesbinarypackage.IDistroSeriesBinaryPackage"
604
565
        permission="zope.Public">
605
566
        <browser:page
606
567
            name="+index"
607
 
            facet="overview"
608
568
            template="../templates/distroseriesbinarypackage-index.pt"/>
609
569
 
610
570
        <!-- DistroSeriesBinaryPackage Portlets -->
621
581
            DistroSeriesBinaryPackageFacets"
622
582
        module="lp.soyuz.browser.distroseriesbinarypackage"/>
623
583
 
624
 
    <facet
625
 
        facet="overview">
626
584
        <browser:defaultView
627
585
            for="lp.soyuz.interfaces.distroarchseries.IDistroArchSeries"
628
586
            name="+index"/>
655
613
            class="lp.soyuz.browser.build.BuildRecordsView">
656
614
            <browser:page
657
615
                name="+builds"
658
 
                facet="overview"
659
616
                template="../templates/builds.pt"/>
660
617
            <browser:page
661
618
                name="+builds-list"
676
633
            name="+addport"
677
634
            for="lp.registry.interfaces.distroseries.IDistroSeries"
678
635
            class="lp.soyuz.browser.distroarchseries.DistroArchSeriesAddView"
679
 
            facet="overview"
680
636
            permission="launchpad.Admin"
681
637
            template="../templates/distroseries-addport.pt"/>
682
638
        <browser:page
718
674
        <browser:page
719
675
            name="+activate-ppa"
720
676
            for="lp.registry.interfaces.person.IPerson"
721
 
            facet="overview"
722
677
            class="lp.soyuz.browser.archive.ArchiveActivateView"
723
678
            permission="launchpad.Edit"
724
679
            template="../templates/archive-activate.pt"/>
727
682
            class="lp.registry.browser.distribution.DistributionPPASearchView"
728
683
            name="+ppas"
729
684
            permission="zope.Public"
730
 
            facet="overview"
731
685
            template="../templates/distribution-ppa-list.pt"/>
732
686
        <browser:page
733
687
            for="lp.registry.interfaces.distribution.IDistribution"
734
688
            class="lp.registry.browser.distribution.DistributionArchivesView"
735
689
            name="+archives"
736
690
            permission="launchpad.View"
737
 
            facet="overview"
738
691
            template="../templates/distribution-archive-list.pt"/>
739
692
        <browser:page
740
693
            for="lp.registry.interfaces.distributionsourcepackage.IDistributionSourcePackage"
741
694
            class="lp.registry.browser.distributionsourcepackage.DistributionSourcePackageView"
742
695
            permission="zope.Public"
743
696
            name="+portlet-publishing-details"
744
 
            facet="overview"
745
697
            template="../templates/distributionsourcepackage-portlet-pub-details.pt"/>
746
698
        <browser:page
747
699
            for="lp.registry.interfaces.distributionsourcepackage.IDistributionSourcePackage"
748
700
            class="lp.registry.browser.distributionsourcepackage.DistributionSourcePackagePublishingHistoryView"
749
701
            permission="zope.Public"
750
702
            name="+publishinghistory"
751
 
            facet="overview"
752
703
            template="../templates/distributionsourcepackage-publishinghistory.pt"/>
753
704
        <browser:page
754
705
            for="lp.registry.interfaces.distribution.IDistribution"
767
718
                "lp.soyuz.browser.sourcepackage.SourcePackageChangelogView"
768
719
            permission="zope.Public"
769
720
            name="+changelog"
770
 
            facet="overview"
771
721
            template="../templates/sourcepackage-changelog.pt"/>
772
722
        <browser:page
773
723
            for="lp.registry.interfaces.sourcepackage.ISourcePackage"
775
725
                "lp.soyuz.browser.sourcepackage.SourcePackageCopyrightView"
776
726
            permission="zope.Public"
777
727
            name="+copyright"
778
 
            facet="overview"
779
728
            template="../templates/sourcepackage-copyright.pt"/>
780
729
        <browser:pages
781
730
            for="lp.registry.interfaces.sourcepackage.ISourcePackage"
787
736
                template="../templates/builds-list.pt"/>
788
737
            <browser:page
789
738
                name="+builds"
790
 
                facet="overview"
791
739
                template="../templates/builds.pt"/>
792
740
        </browser:pages>
793
741
        <browser:pages
807
755
            permission="zope.Public">
808
756
            <browser:page
809
757
                name="+builds"
810
 
                facet="overview"
811
758
                template="../templates/builds.pt"/>
812
759
            <browser:page
813
760
                name="+builds-list"
819
766
            permission="zope.Public">
820
767
            <browser:page
821
768
                name="+builds"
822
 
                facet="overview"
823
769
                template="../templates/builds.pt"/>
824
770
            <browser:page
825
771
                name="+builds-list"
831
777
                name="+portlet-latestuploads"
832
778
                template="../templates/distroseries-portlet-latestuploads.pt"/>
833
779
        </browser:pages>
834
 
    </facet>
835
780
 
836
781
    <browser:url
837
782
        for="lp.soyuz.interfaces.packageset.IPackagesetSet"
868
813
        for="lp.buildmaster.interfaces.buildqueue.IBuildQueue"
869
814
        name="+current"
870
815
        class="canonical.launchpad.webapp.publisher.LaunchpadView"
871
 
        facet="overview"
872
816
        permission="launchpad.View"
873
817
        template="../templates/buildqueue-current.pt"/>
874
818
    <browser:page
875
819
        for="lp.buildmaster.interfaces.buildfarmbranchjob.IBuildFarmBranchJob"
876
820
        name="+current"
877
821
        class="canonical.launchpad.webapp.publisher.LaunchpadView"
878
 
        facet="overview"
879
822
        permission="launchpad.View"
880
823
        template="../templates/buildfarmbranchjob-current.pt"/>
881
824
    <browser:page
882
825
        for="lp.soyuz.interfaces.buildfarmbuildjob.IBuildFarmBuildJob"
883
826
        name="+current"
884
827
        class="canonical.launchpad.webapp.publisher.LaunchpadView"
885
 
        facet="overview"
886
828
        permission="launchpad.View"
887
829
        template="../templates/buildfarmbuildjob-current.pt"/>
888
830
    <browser:pages
893
835
            template="../templates/packagerelationship-list.pt"
894
836
         />
895
837
    </browser:pages>
 
838
    </facet>
896
839
</configure>