url(r"^compose/(?P<id>\d+)/rpms/(?P<variant>[^/]+)/$", ComposeRPMListView.as_view(),
        name="compose/id/rpms/variant"),
    url(r"^compose/(?P<id>\d+)/rpms/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
        ComposeRPMListView.as_view(), name="compose/id/rpms/variant/arch"),

    url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/$", ComposeImageListView.as_view(),
        name="compose/id/images/variant"),
    url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
        ComposeImageListView.as_view(), name="compose/id/images/variant/arch"),

    url(r"^override/manage/(?P<release_id>[^/]+)/", RPMOverrideFormView.as_view(),
        name="override/manage"),

    url(r"^release/$", ReleaseListView.as_view(), name="release/index"),
    url(r"^release/(?P<id>\d+)/$", ReleaseDetailView.as_view(), name="release/detail"),
    url(r"^release/(?P<release_id>[^/]+)/$", ReleaseDetailView.as_view(), name="release/detail/slug"),

    url(r"^base-product/$", BaseProductListView.as_view(), name="base_product/index"),
    url(r"^base-product/(?P<id>\d+)/$", BaseProductDetailView.as_view(), name="base_product/detail"),
    url(r"^base-product/(?P<base_product_id>[^/]+)/$", BaseProductDetailView.as_view(), name="base_product/detail/slug"),

    url(r"^product/$", ProductListView.as_view(), name="product/index"),
    url(r"^product/(?P<id>\d+)/$", ProductDetailView.as_view(), name="product/detail"),
    url(r"^product/(?P<short>[^/]+)/$", ProductDetailView.as_view(), name="product/detail/slug"),
    url(r'^product-index/$', release_views.product_pages, name='product_pages'),

    url(r"^product-version/$",
        ProductVersionListView.as_view(),
        name="product_version/index"),
    url(r"^product-version/(?P<id>\d+)/$",
        ComposeRPMListView.as_view(),
        name="compose/id/rpms/variant/arch",
    ),
    url(
        r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/$",
        ComposeImageListView.as_view(),
        name="compose/id/images/variant",
    ),
    url(
        r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
        ComposeImageListView.as_view(),
        name="compose/id/images/variant/arch",
    ),
    url(r"^override/manage/(?P<release_id>[^/]+)/", RPMOverrideFormView.as_view(), name="override/manage"),
    url(r"^release/$", ReleaseListView.as_view(), name="release/index"),
    url(r"^release/(?P<id>\d+)/$", ReleaseDetailView.as_view(), name="release/detail"),
    url(r"^base-product/$", BaseProductListView.as_view(), name="base_product/index"),
    url(r"^base-product/(?P<id>\d+)/$", BaseProductDetailView.as_view(), name="base_product/detail"),
    url(r"^product/$", ProductListView.as_view(), name="product/index"),
    url(r"^product/(?P<id>\d+)/$", ProductDetailView.as_view(), name="product/detail"),
    url(r"^product-index/$", release_views.product_pages, name="product_pages"),
    url(r"^release-index/$", release_views.release_pages, name="release_pages"),
    url(r"^product-version/$", ProductVersionListView.as_view(), name="product_version/index"),
    url(r"^product-version/(?P<id>\d+)/$", ProductVersionDetailView.as_view(), name="product_version/detail"),
    url(r"^arch$", ArchListView.as_view(), name="arch/index"),
    url(r"^sigkey$", SigKeyListView.as_view(), name="sigkey/index"),
    url(r"^%s%s/" % (settings.REST_API_URL, settings.REST_API_VERSION), include(router.urls)),
    url(r"^changes/$", ChangesetListView.as_view(), name="changeset/list"),
    url(r"^changes/(?P<id>\d+)/$", ChangesetDetailView.as_view(), name="changeset/detail"),
]
Exemple #3
0
     name="compose/id/rpms/variant"),
 url(r"^compose/(?P<id>\d+)/rpms/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
     ComposeRPMListView.as_view(),
     name="compose/id/rpms/variant/arch"),
 url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/$",
     ComposeImageListView.as_view(),
     name="compose/id/images/variant"),
 url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
     ComposeImageListView.as_view(),
     name="compose/id/images/variant/arch"),
 url(r"^override/manage/(?P<release_id>[^/]+)/",
     RPMOverrideFormView.as_view(),
     name="override/manage"),
 url(r"^release/$", ReleaseListView.as_view(), name="release/index"),
 url(r"^release/(?P<id>\d+)/$",
     ReleaseDetailView.as_view(),
     name="release/detail"),
 url(r"^release/(?P<release_id>[^/]+)/$",
     ReleaseDetailView.as_view(),
     name="release/detail/slug"),
 url(r"^base-product/$",
     BaseProductListView.as_view(),
     name="base_product/index"),
 url(r"^base-product/(?P<id>\d+)/$",
     BaseProductDetailView.as_view(),
     name="base_product/detail"),
 url(r"^base-product/(?P<base_product_id>[^/]+)/$",
     BaseProductDetailView.as_view(),
     name="base_product/detail/slug"),
 url(r"^product/$", ProductListView.as_view(), name="product/index"),
 url(r"^product/(?P<id>\d+)/$",
Exemple #4
0
    url(r"^compose/(?P<id>\d+)/rpms/(?P<variant>[^/]+)/$", ComposeRPMListView.as_view(),
        name="compose/id/rpms/variant"),
    url(r"^compose/(?P<id>\d+)/rpms/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
        ComposeRPMListView.as_view(), name="compose/id/rpms/variant/arch"),

    url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/$", ComposeImageListView.as_view(),
        name="compose/id/images/variant"),
    url(r"^compose/(?P<id>\d+)/images/(?P<variant>[^/]+)/(?P<arch>[^/]+)/$",
        ComposeImageListView.as_view(), name="compose/id/images/variant/arch"),

    url(r"^override/manage/(?P<release_id>[^/]+)/", RPMOverrideFormView.as_view(),
        name="override/manage"),

    url(r"^release/$", ReleaseListView.as_view(), name="release/index"),
    url(r"^release/(?P<id>\d+)/$", ReleaseDetailView.as_view(), name="release/detail"),
    url(r"^release/(?P<release_id>[^/]+)/$", ReleaseDetailView.as_view(), name="release/detail/slug"),

    url(r"^base-product/$", BaseProductListView.as_view(), name="base_product/index"),
    url(r"^base-product/(?P<id>\d+)/$", BaseProductDetailView.as_view(), name="base_product/detail"),
    url(r"^base-product/(?P<base_product_id>[^/]+)/$", BaseProductDetailView.as_view(), name="base_product/detail/slug"),

    url(r"^product/$", ProductListView.as_view(), name="product/index"),
    url(r"^product/(?P<id>\d+)/$", ProductDetailView.as_view(), name="product/detail"),
    url(r"^product/(?P<short>[^/]+)/$", ProductDetailView.as_view(), name="product/detail/slug"),
    url(r'^product-index/$', release_views.product_pages, name='product_pages'),

    url(r"^product-version/$",
        ProductVersionListView.as_view(),
        name="product_version/index"),
    url(r"^product-version/(?P<id>\d+)/$",