mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
bitbake: toaster: layerdetails api Fix saving of git revision of a layer
Update, clean up and move the api for updating a layerversion from the views to api. Also update the layerdetails page to include the layerversion id in the url getter. [YOCTO #8952] (Bitbake rev: 20f4e23bc86290f0a42881a7cac44c41eafa86fc) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
903c3c2ef8
commit
36dec688c7
@@ -190,7 +190,10 @@ urlpatterns = patterns('toastergui.views',
|
||||
name='xhr_configvaredit'),
|
||||
|
||||
url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'),
|
||||
url(r'^xhr_updatelayer/$', 'xhr_updatelayer', name='xhr_updatelayer'),
|
||||
|
||||
url(r'^xhr_layer/(?P<layerversion_id>\d+)$',
|
||||
api.XhrLayer.as_view(),
|
||||
name='xhr_layer'),
|
||||
|
||||
# JS Unit tests
|
||||
url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'),
|
||||
|
||||
Reference in New Issue
Block a user