summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2015-02-27 00:47:32 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-09 14:33:49 +0000
commitece39b4c47a5c9b55c291d6b4acdeb29e8d8884f (patch)
treeb7d2c26780dc6014acd5854bd8c5bb0fa928b173 /bitbake/lib
parent4f3664705cf17160f0112c9bad3e6800267fed94 (diff)
downloadpoky-ece39b4c47a5c9b55c291d6b4acdeb29e8d8884f.tar.gz
bitbake: toaster: reconcile non-manage-mode landing classes
Remove obsolete manage-mode URLs, fix not-manage mode landing classes that have obsolete non-matching parameter lists, remove orphaned landing classes.. [YOCTO #6483] (Bitbake rev: 76c54a79c4e26cefa5e72ca1cb14bc9d46e8f9dd) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py2
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py13
2 files changed, 5 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index fc03f19a7f..64f790293a 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -78,13 +78,11 @@ urlpatterns = patterns('toastergui.views',
78 78
79 url(r'^layers/$', 'layers', name='layers'), 79 url(r'^layers/$', 'layers', name='layers'),
80 url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'), 80 url(r'^layer/(?P<layerid>\d+)/$', 'layerdetails', name='layerdetails'),
81 url(r'^layer/$', 'layerdetails', name='layerdetails'),
82 url(r'^targets/$', 'targets', name='all-targets'), 81 url(r'^targets/$', 'targets', name='all-targets'),
83 url(r'^machines/$', 'machines', name='machines'), 82 url(r'^machines/$', 'machines', name='machines'),
84 83
85 url(r'^projects/$', 'projects', name='all-projects'), 84 url(r'^projects/$', 'projects', name='all-projects'),
86 85
87 url(r'^project/$', 'project', name='project'),
88 url(r'^project/(?P<pid>\d+)/$', 'project', name='project'), 86 url(r'^project/(?P<pid>\d+)/$', 'project', name='project'),
89 url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'), 87 url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'),
90 url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'), 88 url(r'^project/(?P<pid>\d+)/builds$', 'projectbuilds', name='projectbuilds'),
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index df893483c6..14029813e8 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -3400,7 +3400,7 @@ else:
3400 def xhr_projectbuild(request, pid): 3400 def xhr_projectbuild(request, pid):
3401 return render(request, 'landing_not_managed.html') 3401 return render(request, 'landing_not_managed.html')
3402 3402
3403 def xhr_build(request, pid): 3403 def xhr_build(request):
3404 return render(request, 'landing_not_managed.html') 3404 return render(request, 'landing_not_managed.html')
3405 3405
3406 def xhr_projectinfo(request): 3406 def xhr_projectinfo(request):
@@ -3412,7 +3412,7 @@ else:
3412 def xhr_datatypeahead(request): 3412 def xhr_datatypeahead(request):
3413 return render(request, 'landing_not_managed.html') 3413 return render(request, 'landing_not_managed.html')
3414 3414
3415 def xhr_configvaredit(request): 3415 def xhr_configvaredit(request, pid):
3416 return render(request, 'landing_not_managed.html') 3416 return render(request, 'landing_not_managed.html')
3417 3417
3418 def importlayer(request): 3418 def importlayer(request):
@@ -3421,22 +3421,19 @@ else:
3421 def layers(request): 3421 def layers(request):
3422 return render(request, 'landing_not_managed.html') 3422 return render(request, 'landing_not_managed.html')
3423 3423
3424 def layerdetails(request): 3424 def layerdetails(request, layerid):
3425 return render(request, 'landing_not_managed.html') 3425 return render(request, 'landing_not_managed.html')
3426 3426
3427 def targets(request): 3427 def targets(request):
3428 return render(request, 'landing_not_managed.html') 3428 return render(request, 'landing_not_managed.html')
3429 3429
3430 def targetdetails(request):
3431 return render(request, 'landing_not_managed.html')
3432
3433 def machines(request): 3430 def machines(request):
3434 return render(request, 'landing_not_managed.html') 3431 return render(request, 'landing_not_managed.html')
3435 3432
3436 def projectconf(request): 3433 def projectconf(request, pid):
3437 return render(request, 'landing_not_managed.html') 3434 return render(request, 'landing_not_managed.html')
3438 3435
3439 def projectbuilds(request): 3436 def projectbuilds(request, pid):
3440 return render(request, 'landing_not_managed.html') 3437 return render(request, 'landing_not_managed.html')
3441 3438
3442 def build_artifact(request, build_id, artifact_type, artifact_id): 3439 def build_artifact(request, build_id, artifact_type, artifact_id):