mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
4ecd040f3b
commit
97ff2c0091
@@ -182,8 +182,9 @@ urlpatterns = patterns('toastergui.views',
|
||||
typeaheads.RecipesTypeAhead.as_view(), name='xhr_recipestypeahead'),
|
||||
url(r'^xhr_typeahead/projects$',
|
||||
typeaheads.ProjectsTypeAhead.as_view(), name='xhr_projectstypeahead'),
|
||||
|
||||
|
||||
url(r'^xhr_typeahead/gitrev$',
|
||||
typeaheads.GitRevisionTypeAhead.as_view(),
|
||||
name='xhr_gitrevtypeahead'),
|
||||
|
||||
url(r'^xhr_testreleasechange/(?P<pid>\d+)$', 'xhr_testreleasechange',
|
||||
name='xhr_testreleasechange'),
|
||||
|
||||
Reference in New Issue
Block a user