summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-06-27 13:44:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-28 16:02:15 +0100
commit4f2baebf362d71351db044c0646f9bc6e8a39c49 (patch)
treebcbb07afbe24816f35d0c9d616ac5ea1fcca7f17 /bitbake/lib/toaster/toastergui/urls.py
parent43aaa802c35ecc9d972f3b9adcd060033de1d9de (diff)
downloadpoky-4f2baebf362d71351db044c0646f9bc6e8a39c49.tar.gz
bitbake: toaster: Add distro selection support
Add the ability to select a distro in the project page, based on values from the Layer Index. Add a distro selection page with the add layer feature, based on the add machine page. [YOCTO #10632] (Bitbake rev: a156a4eff67cdc3943494f5be72b96e3db656250) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/urls.py')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 1ad79a4dd3..6aebc3f833 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -158,6 +158,11 @@ urlpatterns = [
158 name=tables.LayerMachinesTable.__name__.lower()), 158 name=tables.LayerMachinesTable.__name__.lower()),
159 159
160 160
161 url(r'^project/(?P<pid>\d+)/distros/$',
162 tables.DistrosTable.as_view(template_name="generic-toastertable-page.html"),
163 name="projectdistros"),
164
165
161 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)/selectpackages/$', 166 url(r'^project/(?P<pid>\d+)/customrecipe/(?P<custrecipeid>\d+)/selectpackages/$',
162 tables.SelectPackagesTable.as_view(), name="recipeselectpackages"), 167 tables.SelectPackagesTable.as_view(), name="recipeselectpackages"),
163 168
@@ -187,6 +192,9 @@ urlpatterns = [
187 typeaheads.GitRevisionTypeAhead.as_view(), 192 typeaheads.GitRevisionTypeAhead.as_view(),
188 name='xhr_gitrevtypeahead'), 193 name='xhr_gitrevtypeahead'),
189 194
195 url(r'^xhr_typeahead/(?P<pid>\d+)/distros$',
196 typeaheads.DistrosTypeAhead.as_view(), name='xhr_distrostypeahead'),
197
190 url(r'^xhr_testreleasechange/(?P<pid>\d+)$', views.xhr_testreleasechange, 198 url(r'^xhr_testreleasechange/(?P<pid>\d+)$', views.xhr_testreleasechange,
191 name='xhr_testreleasechange'), 199 name='xhr_testreleasechange'),
192 url(r'^xhr_configvaredit/(?P<pid>\d+)$', views.xhr_configvaredit, 200 url(r'^xhr_configvaredit/(?P<pid>\d+)$', views.xhr_configvaredit,