summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-12-09 16:52:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-12 20:44:54 +0000
commit97ff2c0091c654bf01bc4b0809a6a664ad6c579c (patch)
tree5cc1850da96123645c0ab0fca76e2b59adaf9a0a /bitbake/lib/toaster/toastergui/urls.py
parent4ecd040f3bdbbe000e0a154cf500babd7b916396 (diff)
downloadpoky-97ff2c0091c654bf01bc4b0809a6a664ad6c579c.tar.gz
bitbake: toaster: typeaheads Add a git revisions suggestions
When we're importing a layer it's useful to suggest available git revisions of the layers. This uses git ls-remote to fetch the revisions and then filter on this. Caching is added for this typeahead to avoid having to fetch this information multiple times in a single session. [YOCTO #8429] (Bitbake rev: a94ae3ad0cb07a52004143c6f86f371b9e330e9f) Signed-off-by: Michael Wood <michael.g.wood@intel.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.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 29f0d96ba7..d92f190aed 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -182,8 +182,9 @@ urlpatterns = patterns('toastergui.views',
182 typeaheads.RecipesTypeAhead.as_view(), name='xhr_recipestypeahead'), 182 typeaheads.RecipesTypeAhead.as_view(), name='xhr_recipestypeahead'),
183 url(r'^xhr_typeahead/projects$', 183 url(r'^xhr_typeahead/projects$',
184 typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'), 184 typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'),
185 185 url(r'^xhr_typeahead/gitrev$',
186 186 typeaheads.GitRevisionTypeAhead.as_view(),
187 name='xhr_gitrevtypeahead'),
187 188
188 url(r'^xhr_testreleasechange/(?P<pid>\d+)$', 'xhr_testreleasechange', 189 url(r'^xhr_testreleasechange/(?P<pid>\d+)$', 'xhr_testreleasechange',
189 name='xhr_testreleasechange'), 190 name='xhr_testreleasechange'),